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
CrafterScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
CreativeInventoryScreen.onMouseClick
(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) (package private) void
HandledScreen.onMouseClick
(@Nullable Slot slot, SlotActionType actionType) protected void
HandledScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
RecipeBookScreen.onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) private void
HandledScreen.resetTooltipSubmenus
(Slot slot) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type Slot -
Uses of Slot in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook with type parameters of type SlotModifier and TypeFieldDescriptionprivate final Reference2ObjectMap
<Slot, GhostRecipe.CyclingItem> GhostRecipe.items
Methods in net.minecraft.client.gui.screen.recipebook with parameters of type SlotModifier and TypeMethodDescriptionprotected void
GhostRecipe.addInputs
(Slot slot, ContextParameterMap context, SlotDisplay display) private void
GhostRecipe.addItems
(Slot slot, ContextParameterMap context, SlotDisplay display, boolean resultSlot) protected void
GhostRecipe.addResults
(Slot slot, ContextParameterMap context, SlotDisplay display) void
GhostRecipe.drawTooltip
(DrawContext context, MinecraftClient client, int x, int y, @Nullable Slot slot) void
RecipeBookWidget.drawTooltip
(DrawContext context, int x, int y, @Nullable Slot slot) protected boolean
protected boolean
protected abstract boolean
void
RecipeBookWidget.onMouseClick
(@Nullable Slot slot) -
Uses of Slot in net.minecraft.client.gui.tooltip
Methods in net.minecraft.client.gui.tooltip with parameters of type SlotModifier and TypeMethodDescriptionboolean
BundleTooltipSubmenuHandler.isApplicableTo
(Slot slot) boolean
TooltipSubmenuHandler.isApplicableTo
(Slot slot) void
BundleTooltipSubmenuHandler.onMouseClick
(Slot slot, SlotActionType actionType) void
TooltipSubmenuHandler.onMouseClick
(Slot slot, SlotActionType actionType) void
void
-
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
Fields in net.minecraft.recipe with type parameters of type SlotMethods in net.minecraft.recipe with parameters of type SlotModifier and TypeMethodDescriptionprivate int
InputSlotFiller.fillInputSlot
(Slot slot, RegistryEntry<Item> item, int count) Method parameters in net.minecraft.recipe with type arguments of type SlotModifier and TypeMethodDescriptionstatic <I extends RecipeInput,
R extends Recipe<I>>
AbstractRecipeScreenHandler.PostFillActionInputSlotFiller.fill
(InputSlotFiller.Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative) Constructor parameters in net.minecraft.recipe with type arguments of type SlotModifierConstructorDescriptionprivate
InputSlotFiller
(InputSlotFiller.Handler<R> handler, PlayerInventory inventory, boolean craftAll, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn) -
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
AbstractCraftingScreenHandler.addResultSlot
(PlayerEntity player, int x, int y) protected Slot
Addsslot
to this screen handler.LoomScreenHandler.getBannerSlot()
LoomScreenHandler.getDyeSlot()
abstract Slot
AbstractCraftingScreenHandler.getOutputSlot()
AbstractFurnaceScreenHandler.getOutputSlot()
CraftingScreenHandler.getOutputSlot()
LoomScreenHandler.getOutputSlot()
PlayerScreenHandler.getOutputSlot()
LoomScreenHandler.getPatternSlot()
ScreenHandler.getSlot
(int index) Returns the slot with indexindex
.Methods in net.minecraft.screen that return types with arguments of type SlotModifier and TypeMethodDescriptionAbstractCraftingScreenHandler.getInputSlots()
CraftingScreenHandler.getInputSlots()
PlayerScreenHandler.getInputSlots()
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