Uses of Class
net.minecraft.screen.ScreenHandler
Packages that use ScreenHandler
Package
Description
-
Uses of ScreenHandler in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return ScreenHandlerModifier and TypeMethodDescriptionBeaconBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) LecternBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) LockableContainerBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) LootableContainerBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) protected ScreenHandler
BarrelBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
BlastFurnaceBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
BrewingStandBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
ChestBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
DispenserBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
FurnaceBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
HopperBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected abstract ScreenHandler
LockableContainerBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
ShulkerBoxBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
SmokerBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) -
Uses of ScreenHandler in net.minecraft.client.gui.screen.ingame
Classes in net.minecraft.client.gui.screen.ingame with type parameters of type ScreenHandlerModifier and TypeClassDescriptionclass
AbstractInventoryScreen<T extends ScreenHandler>
class
HandledScreen<T extends ScreenHandler>
private static interface
HandledScreens.Provider<T extends ScreenHandler,
U extends Screen & ScreenHandlerProvider<T>> interface
ScreenHandlerProvider<T extends ScreenHandler>
Subclasses of ScreenHandler in net.minecraft.client.gui.screen.ingameFields in net.minecraft.client.gui.screen.ingame declared as ScreenHandlerModifier and TypeFieldDescriptionprotected final T
HandledScreen.handler
private final ScreenHandler
CreativeInventoryScreen.CreativeScreenHandler.parent
Methods in net.minecraft.client.gui.screen.ingame with type parameters of type ScreenHandlerModifier 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) private static <M extends ScreenHandler,
U extends Screen & ScreenHandlerProvider<M>>
voidHandledScreens.register
(ScreenHandlerType<? extends M> type, HandledScreens.Provider<M, U> provider) Methods in net.minecraft.client.gui.screen.ingame with parameters of type ScreenHandlerModifier and TypeMethodDescriptionvoid
CreativeInventoryListener.onPropertyUpdate
(ScreenHandler handler, int property, int value) void
ForgingScreen.onPropertyUpdate
(ScreenHandler handler, int property, int value) void
AnvilScreen.onSlotUpdate
(ScreenHandler handler, int slotId, ItemStack stack) void
CreativeInventoryListener.onSlotUpdate
(ScreenHandler handler, int slotId, ItemStack stack) void
ForgingScreen.onSlotUpdate
(ScreenHandler handler, int slotId, ItemStack stack) void
SmithingScreen.onSlotUpdate
(ScreenHandler handler, int slotId, ItemStack stack) void
CyclingSlotIcon.render
(ScreenHandler screenHandler, DrawContext context, float delta, int x, int y) -
Uses of ScreenHandler in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as ScreenHandler -
Uses of ScreenHandler in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return ScreenHandlerModifier and TypeMethodDescriptionChestBoatEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) StorageMinecartEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) ChestMinecartEntity.getScreenHandler
(int syncId, PlayerInventory playerInventory) HopperMinecartEntity.getScreenHandler
(int syncId, PlayerInventory playerInventory) protected abstract ScreenHandler
StorageMinecartEntity.getScreenHandler
(int syncId, PlayerInventory playerInventory) -
Uses of ScreenHandler in net.minecraft.inventory
Fields in net.minecraft.inventory declared as ScreenHandlerConstructors in net.minecraft.inventory with parameters of type ScreenHandler -
Uses of ScreenHandler in net.minecraft.screen
Classes in net.minecraft.screen with type parameters of type ScreenHandlerModifier and TypeClassDescriptionclass
ScreenHandlerType<T extends ScreenHandler>
Screen handler type is used to create screen handlers on the client.private static interface
ScreenHandlerType.Factory<T extends ScreenHandler>
A functional interface that creates a screen handler instance on the client.Subclasses of ScreenHandler in net.minecraft.screenModifier and TypeClassDescriptionclass
class
AbstractRecipeScreenHandler<C extends Inventory>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Methods in net.minecraft.screen with type parameters of type ScreenHandlerModifier and TypeMethodDescriptionprivate 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) Methods in net.minecraft.screen that return ScreenHandlerModifier and TypeMethodDescriptionScreenHandlerFactory.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) SimpleNamedScreenHandlerFactory.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) Methods in net.minecraft.screen with parameters of type ScreenHandlerModifier and TypeMethodDescriptionvoid
ScreenHandler.copySharedSlots
(ScreenHandler handler) void
ScreenHandlerListener.onPropertyUpdate
(ScreenHandler handler, int property, int value) void
ScreenHandlerListener.onSlotUpdate
(ScreenHandler handler, int slotId, ItemStack stack) void
ScreenHandlerSyncHandler.updateCursorStack
(ScreenHandler handler, ItemStack stack) void
ScreenHandlerSyncHandler.updateProperty
(ScreenHandler handler, int property, int value) protected static void
CraftingScreenHandler.updateResult
(ScreenHandler handler, World world, PlayerEntity player, CraftingInventory craftingInventory, CraftingResultInventory resultInventory) void
ScreenHandlerSyncHandler.updateSlot
(ScreenHandler handler, int slot, ItemStack stack) void
ScreenHandlerSyncHandler.updateState
(ScreenHandler handler, DefaultedList<ItemStack> stacks, ItemStack cursorStack, int[] properties) -
Uses of ScreenHandler in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ScreenHandlerModifier and TypeMethodDescriptionprivate void
ServerPlayerEntity.onScreenHandlerOpened
(ScreenHandler screenHandler)