Interface IMenuTypeExtension<T>
- All Known Implementing Classes:
MenuType
public interface IMenuTypeExtension<T>
-
Method Summary
Modifier and TypeMethodDescriptioncreate(int windowId, Inventory playerInv, RegistryFriendlyByteBuf extraData) static <T extends AbstractContainerMenu>
MenuType<T> create(IContainerFactory<T> factory) Use this method to create a menu type that uses additional data sent by the server when it creates the client-side instances of its menus.
-
Method Details
-
create
Use this method to create a menu type that uses additional data sent by the server when it creates the client-side instances of its menus.- See Also:
-
create
-