T
- the screen handler typepublic static interface ScreenHandlerRegistry.SimpleClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler>
Modifier and Type | Method and Description |
---|---|
T |
create(int syncId,
net.minecraft.entity.player.PlayerInventory inventory)
Creates a new client-sided screen handler.
|
@Environment(value=CLIENT) T create(int syncId, net.minecraft.entity.player.PlayerInventory inventory)
syncId
- the synchronization IDinventory
- the player inventory