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
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) -
Uses of Slot in net.minecraft.client.gui.screen.recipebook
Modifier and TypeFieldDescriptionprivate final Reference2ObjectMap
<Slot, GhostRecipe.CyclingItem> GhostRecipe.items
Modifier 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
Modifier 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
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 TypeMethodDescriptionprivate int
InputSlotFiller.fillInputSlot
(Slot slot, RegistryEntry<Item> item, int count) Modifier 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) ModifierConstructorDescriptionprivate
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
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
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
.Modifier and TypeMethodDescriptionAbstractCraftingScreenHandler.getInputSlots()
CraftingScreenHandler.getInputSlots()
PlayerScreenHandler.getInputSlots()
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