T - the screen handler typepublic static interface ScreenHandlerRegistry.ExtendedClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler>
ExtendedScreenHandlerFactory| Modifier and Type | Method and Description |
|---|---|
T |
create(int syncId,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketByteBuf buf)
Creates a new client-sided screen handler with additional screen opening data.
|
@Environment(value=CLIENT) T create(int syncId, net.minecraft.entity.player.PlayerInventory inventory, net.minecraft.network.PacketByteBuf buf)
syncId - the synchronization IDinventory - the player inventorybuf - the packet buffer