create

abstract T create(int syncId, Identifier identifier, PlayerEntity player, PacketByteBuf buf)

Creates the new object.

Return

the new gui or container

Parameters

syncId

The container synchronization ID.

identifier

the Identifier is the name that was used when registering the factory

player

the player that is opening the gui/container

buf

the buffer contains the same data that was provided with openContainer

Sources

jvm source
Link copied to clipboard