Uses of Class
net.minecraft.screen.slot.Slot
Packages that use Slot
Package
Description
-
Uses of Slot in net.minecraft.client.gui.screen.ingame
Subclasses of Slot in net.minecraft.client.gui.screen.ingameModifier and TypeClassDescriptionprivate static class
private static class
Fields in net.minecraft.client.gui.screen.ingame declared as SlotModifier and TypeFieldDescriptionCreativeInventoryScreen.deleteItemSlot
HandledScreen.focusedSlot
HandledScreen.lastClickedSlot
(package private) final Slot
CreativeInventoryScreen.CreativeSlot.slot
HandledScreen.touchDragSlotStart
HandledScreen.touchDropOriginSlot
HandledScreen.touchHoveredSlot
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type SlotMethods in net.minecraft.client.gui.screen.ingame that return SlotMethods in net.minecraft.client.gui.screen.ingame with parameters of type SlotModifier and TypeMethodDescriptionboolean
CreativeInventoryScreen.CreativeScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
CreativeInventoryScreen.CreativeScreenHandler.canInsertIntoSlot
(Slot slot) private void
CyclingSlotIcon.drawIcon
(Slot slot, Identifier texture, float alpha, DrawContext context, int x, int y) void
CrafterScreen.drawSlot
(DrawContext context, Slot slot) protected void
HandledScreen.drawSlot
(DrawContext context, Slot slot) private boolean
CreativeInventoryScreen.isCreativeInventorySlot
(@Nullable Slot slot) private boolean
HandledScreen.isPointOverSlot
(Slot slot, double pointX, double pointY) protected void
AbstractFurnaceScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
CrafterScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
CraftingScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
CreativeInventoryScreen.onMouseClick
(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) protected void
HandledScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
InventoryScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type Slot -
Uses of Slot in net.minecraft.client.gui.screen.recipebook
Methods in net.minecraft.client.gui.screen.recipebook with parameters of type SlotModifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookScreen.slotClicked
(@Nullable Slot slot) void
RecipeBookWidget.slotClicked
(@Nullable Slot slot) Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type SlotModifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookScreen.showGhostRecipe
(RecipeEntry<?> recipe, List<Slot> slots) void
RecipeBookWidget.showGhostRecipe
(RecipeEntry<?> recipe, List<Slot> slots) -
Uses of Slot in net.minecraft.component.type
Methods in net.minecraft.component.type with parameters of type SlotModifier and TypeMethodDescriptionint
BundleContentsComponent.Builder.add
(Slot slot, PlayerEntity player) -
Uses of Slot in net.minecraft.item
Methods in net.minecraft.item with parameters of type SlotModifier and TypeMethodDescriptionboolean
BundleItem.onClicked
(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslot
gets clicked by the cursor holdingotherStack
.boolean
Item.onClicked
(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslot
gets clicked by the cursor holdingotherStack
.boolean
ItemStack.onClicked
(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) boolean
BundleItem.onStackClicked
(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot
.boolean
Item.onStackClicked
(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot
.boolean
ItemStack.onStackClicked
(Slot slot, ClickType clickType, PlayerEntity player) -
Uses of Slot in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type SlotModifier and TypeMethodDescriptionprotected int
InputSlotFiller.fillInputSlot
(Slot slot, ItemStack stack, int int2) -
Uses of Slot in net.minecraft.screen
Subclasses of Slot in net.minecraft.screenModifier and TypeClassDescriptionprivate class
private static class
private static class
private static class
Fields in net.minecraft.screen declared as SlotModifier and TypeFieldDescription(package private) final Slot
LoomScreenHandler.bannerSlot
(package private) final Slot
LoomScreenHandler.dyeSlot
private final Slot
BrewingStandScreenHandler.ingredientSlot
(package private) final Slot
StonecutterScreenHandler.inputSlot
private final Slot
LoomScreenHandler.outputSlot
(package private) final Slot
StonecutterScreenHandler.outputSlot
private final Slot
LoomScreenHandler.patternSlot
Fields in net.minecraft.screen with type parameters of type SlotModifier and TypeFieldDescriptionScreenHandler.quickCraftSlots
final DefaultedList
<Slot> ScreenHandler.slots
Methods in net.minecraft.screen that return SlotModifier and TypeMethodDescriptionprotected Slot
Addsslot
to this screen handler.LoomScreenHandler.getBannerSlot()
LoomScreenHandler.getDyeSlot()
LoomScreenHandler.getOutputSlot()
LoomScreenHandler.getPatternSlot()
ScreenHandler.getSlot
(int index) Returns the slot with indexindex
.Methods in net.minecraft.screen with parameters of type SlotModifier and TypeMethodDescriptionprotected Slot
Addsslot
to this screen handler.boolean
CartographyTableScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
CraftingScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
MerchantScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
PlayerScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
ScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
ScreenHandler.canInsertIntoSlot
(Slot slot) boolean
SmithingScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.boolean
StonecutterScreenHandler.canInsertIntoSlot
(ItemStack stack, Slot slot) Returns whetherstack
can be inserted toslot
.static boolean
ScreenHandler.canInsertItemIntoSlot
(@Nullable Slot slot, ItemStack stack, boolean allowOverflow) private boolean
ScreenHandler.handleSlotClick
(PlayerEntity player, ClickType clickType, Slot slot, ItemStack stack, ItemStack cursorStack) Method parameters in net.minecraft.screen with type arguments of type SlotModifier and TypeMethodDescriptionstatic int
ScreenHandler.calculateStackSize
(Set<Slot> slots, int mode, ItemStack stack) -
Uses of Slot in net.minecraft.screen.slot
Subclasses of Slot in net.minecraft.screen.slotModifier and TypeClassDescription(package private) class
class
class
class
class
class
class
class