接口 IMenuTypeExtension<T>
- 所有已知实现类:
MenuType
public interface IMenuTypeExtension<T>
-
方法概要
修饰符和类型方法说明create
(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.
-
方法详细资料
-
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.- 另请参阅:
-
create
-