Uses of Class
net.minecraft.screen.ScreenHandlerType
Package
Description
-
Uses of ScreenHandlerType in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate static Map<ScreenHandlerType<?>,HandledScreens.Provider<?,?>>
HandledScreens.PROVIDERS
Modifier and TypeMethodDescriptionprivate static <T extends ScreenHandler>
@Nullable HandledScreens.Provider<T,?>HandledScreens.getProvider(ScreenHandlerType<T> type)
static <T extends ScreenHandler>
voidHandledScreens.open(@Nullable ScreenHandlerType<T> type, MinecraftClient client, int id, Text title)
default void
HandledScreens.Provider.open(Text name, ScreenHandlerType<T> type, MinecraftClient client, int id)
private static <M extends ScreenHandler, U extends Screen & ScreenHandlerProvider<M>>
voidHandledScreens.register(ScreenHandlerType<? extends M> type, HandledScreens.Provider<M,U> provider)
-
Uses of ScreenHandlerType in net.minecraft.network.packet.s2c.play
ModifierConstructorDescriptionOpenScreenS2CPacket(int syncId, ScreenHandlerType<?> type, Text name)
-
Uses of ScreenHandlerType in net.minecraft.screen
Modifier and TypeFieldDescriptionstatic ScreenHandlerType<AnvilScreenHandler>
ScreenHandlerType.ANVIL
static ScreenHandlerType<BeaconScreenHandler>
ScreenHandlerType.BEACON
ScreenHandlerType.BLAST_FURNACE
ScreenHandlerType.BREWING_STAND
ScreenHandlerType.CARTOGRAPHY_TABLE
ScreenHandlerType.CRAFTING
ScreenHandlerType.ENCHANTMENT
ScreenHandlerType.FURNACE
ScreenHandlerType.GENERIC_3X3
ScreenHandlerType.GENERIC_9X1
ScreenHandlerType.GENERIC_9X2
ScreenHandlerType.GENERIC_9X3
ScreenHandlerType.GENERIC_9X4
ScreenHandlerType.GENERIC_9X5
ScreenHandlerType.GENERIC_9X6
ScreenHandlerType.GRINDSTONE
static ScreenHandlerType<HopperScreenHandler>
ScreenHandlerType.HOPPER
ScreenHandlerType.LECTERN
static ScreenHandlerType<LoomScreenHandler>
ScreenHandlerType.LOOM
ScreenHandlerType.MERCHANT
ScreenHandlerType.SHULKER_BOX
ScreenHandlerType.SMITHING
static ScreenHandlerType<SmokerScreenHandler>
ScreenHandlerType.SMOKER
ScreenHandlerType.STONECUTTER
private @Nullable ScreenHandlerType<?>
ScreenHandler.type
Modifier and TypeMethodDescriptionScreenHandler.getType()
StonecutterScreenHandler.getType()
private static <T extends ScreenHandler>
ScreenHandlerType<T>ScreenHandlerType.register(String id, ScreenHandlerType.Factory<T> factory)
ModifierConstructorDescriptionprotected
AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory)
protected
AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)
AbstractRecipeScreenHandler(ScreenHandlerType<?> type, int syncId)
ForgingScreenHandler(@Nullable ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
private
GenericContainerScreenHandler(ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, int rows)
GenericContainerScreenHandler(ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, Inventory inventory, int rows)
protected
ScreenHandler(@Nullable ScreenHandlerType<?> type, int syncId)
-
Uses of ScreenHandlerType in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic RegistryKey<Registry<ScreenHandlerType<?>>>
Registry.MENU_KEY
static Registry<ScreenHandlerType<?>>
Registry.SCREEN_HANDLER