Package net.minecraft.screen
Class ScreenHandlerType<T extends ScreenHandler>
java.lang.Object
net.minecraft.screen.ScreenHandlerType<T>
public class ScreenHandlerType<T extends ScreenHandler> extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
ScreenHandlerType.Factory<T extends ScreenHandler>
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ScreenHandlerType(ScreenHandlerType.Factory<T> factory)
-
Method Summary
Modifier and Type Method Description T
create(int syncId, PlayerInventory playerInventory)
private static <T extends ScreenHandler>
ScreenHandlerType<T>register(String id, ScreenHandlerType.Factory<T> factory)
-
Field Details
-
GENERIC_9X1
-
GENERIC_9X2
-
GENERIC_9X3
-
GENERIC_9X4
-
GENERIC_9X5
-
GENERIC_9X6
-
GENERIC_3X3
-
ANVIL
-
BEACON
-
BLAST_FURNACE
-
BREWING_STAND
-
CRAFTING
-
ENCHANTMENT
-
FURNACE
-
GRINDSTONE
-
HOPPER
-
LECTERN
-
LOOM
-
MERCHANT
-
SHULKER_BOX
-
SMITHING
-
SMOKER
-
CARTOGRAPHY_TABLE
-
STONECUTTER
-
factory
-
-
Constructor Details
-
ScreenHandlerType
-
-
Method Details
-
register
private static <T extends ScreenHandler> ScreenHandlerType<T> register(String id, ScreenHandlerType.Factory<T> factory) -
create
-