public interface ExtendedScreenHandlerFactory
extends net.minecraft.screen.NamedScreenHandlerFactory
NamedScreenHandlerFactory
that can write additional data to a screen opening packet.Modifier and Type | Method and Description |
---|---|
void |
writeScreenOpeningData(net.minecraft.server.network.ServerPlayerEntity player,
net.minecraft.network.PacketByteBuf buf)
Writes additional server -> client screen opening data to the buffer.
|
void writeScreenOpeningData(net.minecraft.server.network.ServerPlayerEntity player, net.minecraft.network.PacketByteBuf buf)
player
- the player that is opening the screenbuf
- the packet buffer