Uses of Class
net.minecraft.screen.ScreenHandler
Package
Description
-
Uses of ScreenHandler in net.minecraft.block.entity
Modifier 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
Modifier 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>
Modifier and TypeFieldDescriptionprotected final T
HandledScreen.handler
private final ScreenHandler
CreativeInventoryScreen.CreativeScreenHandler.parent
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) private static <M extends ScreenHandler,
U extends Screen & ScreenHandlerProvider<M>>
voidHandledScreens.register
(ScreenHandlerType<? extends M> type, HandledScreens.Provider<M, U> provider) Modifier 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, MatrixStack matrices, float delta, int x, int y) -
Uses of ScreenHandler in net.minecraft.entity.player
-
Uses of ScreenHandler in net.minecraft.entity.vehicle
Modifier 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
-
Uses of ScreenHandler in net.minecraft.screen
Modifier 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.Modifier and TypeClassDescriptionclass
class
AbstractRecipeScreenHandler<C extends Inventory>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Deprecated, for removal: This API element is subject to removal in a future version.class
class
class
class
class
class
class
Modifier 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) Modifier and TypeMethodDescriptionScreenHandlerFactory.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) SimpleNamedScreenHandlerFactory.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) Modifier 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
Modifier and TypeMethodDescriptionprivate void
ServerPlayerEntity.onScreenHandlerOpened
(ScreenHandler screenHandler)