Uses of Class
net.minecraft.screen.ScreenHandlerType
Package
Description
-
Uses of ScreenHandlerType in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate static final 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
Modifier and TypeFieldDescriptionprivate final ScreenHandlerType<?>
OpenScreenS2CPacket.screenHandlerId
ModifierConstructorDescriptionOpenScreenS2CPacket
(int syncId, ScreenHandlerType<?> type, Text name) -
Uses of ScreenHandlerType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry<ScreenHandlerType<?>>
Registries.SCREEN_HANDLER
static final RegistryKey<Registry<ScreenHandlerType<?>>>
RegistryKeys.SCREEN_HANDLER
-
Uses of ScreenHandlerType in net.minecraft.screen
Modifier and TypeFieldDescriptionstatic final ScreenHandlerType<AnvilScreenHandler>
ScreenHandlerType.ANVIL
static final ScreenHandlerType<BeaconScreenHandler>
ScreenHandlerType.BEACON
static final ScreenHandlerType<BlastFurnaceScreenHandler>
ScreenHandlerType.BLAST_FURNACE
static final ScreenHandlerType<BrewingStandScreenHandler>
ScreenHandlerType.BREWING_STAND
static final ScreenHandlerType<CartographyTableScreenHandler>
ScreenHandlerType.CARTOGRAPHY_TABLE
static final ScreenHandlerType<CraftingScreenHandler>
ScreenHandlerType.CRAFTING
static final ScreenHandlerType<EnchantmentScreenHandler>
ScreenHandlerType.ENCHANTMENT
static final ScreenHandlerType<FurnaceScreenHandler>
ScreenHandlerType.FURNACE
static final ScreenHandlerType<Generic3x3ContainerScreenHandler>
ScreenHandlerType.GENERIC_3X3
static final ScreenHandlerType<GenericContainerScreenHandler>
ScreenHandlerType.GENERIC_9X1
static final ScreenHandlerType<GenericContainerScreenHandler>
ScreenHandlerType.GENERIC_9X2
static final ScreenHandlerType<GenericContainerScreenHandler>
ScreenHandlerType.GENERIC_9X3
static final ScreenHandlerType<GenericContainerScreenHandler>
ScreenHandlerType.GENERIC_9X4
static final ScreenHandlerType<GenericContainerScreenHandler>
ScreenHandlerType.GENERIC_9X5
static final ScreenHandlerType<GenericContainerScreenHandler>
ScreenHandlerType.GENERIC_9X6
static final ScreenHandlerType<GrindstoneScreenHandler>
ScreenHandlerType.GRINDSTONE
static final ScreenHandlerType<HopperScreenHandler>
ScreenHandlerType.HOPPER
static final ScreenHandlerType<LecternScreenHandler>
ScreenHandlerType.LECTERN
static final ScreenHandlerType<LegacySmithingScreenHandler>
ScreenHandlerType.LEGACY_SMITHING
static final ScreenHandlerType<LoomScreenHandler>
ScreenHandlerType.LOOM
static final ScreenHandlerType<MerchantScreenHandler>
ScreenHandlerType.MERCHANT
static final ScreenHandlerType<ShulkerBoxScreenHandler>
ScreenHandlerType.SHULKER_BOX
static final ScreenHandlerType<SmithingScreenHandler>
ScreenHandlerType.SMITHING
static final ScreenHandlerType<SmokerScreenHandler>
ScreenHandlerType.SMOKER
static final ScreenHandlerType<StonecutterScreenHandler>
ScreenHandlerType.STONECUTTER
private final @Nullable ScreenHandlerType<?>
ScreenHandler.type
Modifier and TypeMethodDescriptionScreenHandler.getType()
Returns the screen handler type.StonecutterScreenHandler.getType()
Returns the screen handler type.private static <T extends ScreenHandler>
ScreenHandlerType<T>ScreenHandlerType.register
(String id, ScreenHandlerType.Factory<T> factory) private static <T extends ScreenHandler>
ScreenHandlerType<T>ScreenHandlerType.register
(String id, ScreenHandlerType.Factory<T> factory, FeatureFlag[] requiredFeatures) ModifierConstructorDescriptionprotected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, PlayerInventory playerInventory) protected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, 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)