send Open Packet
static void sendOpenPacket(ServerPlayerEntity player, ExtendedScreenHandlerFactory factory, ScreenHandler handler, int syncId)
Content copied to clipboard
Opens an extended screen handler by sending a custom packet to the client.
Parameters
player
the player
factory
the screen handler factory
handler
the screen handler instance
syncId
the synchronization ID
Sources
jvm source
Link copied to clipboard