@Environment(value=CLIENT)
static interface HandledScreens.Provider<T extends ScreenHandler,U extends Screen & ScreenHandlerProvider<T>>
Modifier and Type | Method and Description |
---|---|
U |
create(T handler,
PlayerInventory playerInventory,
Text title) |
default void |
open(Text name,
ScreenHandlerType<T> type,
MinecraftClient client,
int id) |
default void open(Text name, ScreenHandlerType<T> type, MinecraftClient client, int id)
U create(T handler, PlayerInventory playerInventory, Text title)