Interface ExtendedScreenHandlerFactory
- All Superinterfaces:
NamedScreenHandlerFactory,ScreenHandlerFactory
An extension of
NamedScreenHandlerFactory that can write additional data to a screen opening packet.
This is used for extended screen handlers.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteScreenOpeningData(ServerPlayerEntity player, PacketByteBuf buf) Writes additional server -> client screen opening data to the buffer.Methods inherited from interface net.minecraft.screen.NamedScreenHandlerFactory
getDisplayNameMethods inherited from interface net.minecraft.screen.ScreenHandlerFactory
createMenu
-
Method Details
-
writeScreenOpeningData
Writes additional server -> client screen opening data to the buffer.- Parameters:
player- the player that is opening the screenbuf- the packet buffer
-