Uses of Class
net.minecraft.screen.slot.Slot
Package
Description
-
Uses of Slot in net.minecraft.client.gui.screen.ingame
Modifier and TypeClassDescriptionprivate static class
private static class
Modifier and TypeFieldDescriptionCreativeInventoryScreen.deleteItemSlot
HandledScreen.focusedSlot
HandledScreen.lastClickedSlot
(package private) final Slot
CreativeInventoryScreen.CreativeSlot.slot
HandledScreen.touchDragSlotStart
HandledScreen.touchDropOriginSlot
HandledScreen.touchHoveredSlot
Modifier 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) -
Uses of Slot in net.minecraft.client.gui.screen.recipebook
Modifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookScreen.slotClicked
(@Nullable Slot slot) void
RecipeBookWidget.slotClicked
(@Nullable Slot slot) Modifier 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
Modifier and TypeMethodDescriptionint
BundleContentsComponent.Builder.add
(Slot slot, PlayerEntity player) -
Uses of Slot in net.minecraft.item
Modifier 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
Modifier and TypeMethodDescriptionprotected int
InputSlotFiller.fillInputSlot
(Slot slot, ItemStack stack, int int2) -
Uses of Slot in net.minecraft.screen
Modifier and TypeClassDescriptionprivate class
private static class
private static class
private static class
Modifier 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
Modifier and TypeFieldDescriptionScreenHandler.quickCraftSlots
final DefaultedList
<Slot> ScreenHandler.slots
Modifier 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
.Modifier 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) Modifier and TypeMethodDescriptionstatic int
ScreenHandler.calculateStackSize
(Set<Slot> slots, int mode, ItemStack stack) -
Uses of Slot in net.minecraft.screen.slot
Modifier and TypeClassDescription(package private) class
class
class
class
class
class
class
class