public class ScreenHandlerType<T extends ScreenHandler> extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
ScreenHandlerType.Factory<T extends ScreenHandler> |
Modifier | Constructor and Description |
---|---|
private |
ScreenHandlerType(ScreenHandlerType.Factory<T> factory) |
Modifier and Type | Method and Description |
---|---|
T |
create(int syncId,
PlayerInventory playerInventory) |
private static <T extends ScreenHandler> |
register(String id,
ScreenHandlerType.Factory<T> factory) |
public static final ScreenHandlerType<GenericContainerScreenHandler> GENERIC_9X1
public static final ScreenHandlerType<GenericContainerScreenHandler> GENERIC_9X2
public static final ScreenHandlerType<GenericContainerScreenHandler> GENERIC_9X3
public static final ScreenHandlerType<GenericContainerScreenHandler> GENERIC_9X4
public static final ScreenHandlerType<GenericContainerScreenHandler> GENERIC_9X5
public static final ScreenHandlerType<GenericContainerScreenHandler> GENERIC_9X6
public static final ScreenHandlerType<Generic3x3ContainerScreenHandler> GENERIC_3X3
public static final ScreenHandlerType<AnvilScreenHandler> ANVIL
public static final ScreenHandlerType<BeaconScreenHandler> BEACON
public static final ScreenHandlerType<BlastFurnaceScreenHandler> BLAST_FURNACE
public static final ScreenHandlerType<BrewingStandScreenHandler> BREWING_STAND
public static final ScreenHandlerType<CraftingScreenHandler> CRAFTING
public static final ScreenHandlerType<EnchantmentScreenHandler> ENCHANTMENT
public static final ScreenHandlerType<FurnaceScreenHandler> FURNACE
public static final ScreenHandlerType<GrindstoneScreenHandler> GRINDSTONE
public static final ScreenHandlerType<HopperScreenHandler> HOPPER
public static final ScreenHandlerType<LecternScreenHandler> LECTERN
public static final ScreenHandlerType<LoomScreenHandler> LOOM
public static final ScreenHandlerType<MerchantScreenHandler> MERCHANT
public static final ScreenHandlerType<ShulkerBoxScreenHandler> SHULKER_BOX
public static final ScreenHandlerType<SmithingScreenHandler> SMITHING
public static final ScreenHandlerType<SmokerScreenHandler> SMOKER
public static final ScreenHandlerType<CartographyTableScreenHandler> CARTOGRAPHY_TABLE
public static final ScreenHandlerType<StonecutterScreenHandler> STONECUTTER
private final ScreenHandlerType.Factory<T extends ScreenHandler> factory
private ScreenHandlerType(ScreenHandlerType.Factory<T> factory)
private static <T extends ScreenHandler> ScreenHandlerType<T> register(String id, ScreenHandlerType.Factory<T> factory)
@Environment(value=CLIENT) public T create(int syncId, PlayerInventory playerInventory)