Uses of Class
net.minecraft.world.inventory.Slot
Packages that use Slot
Package
Description
-
Uses of Slot in net.minecraft.client.gui.screens.inventory
Subclasses of Slot in net.minecraft.client.gui.screens.inventoryModifier and TypeClassDescription(package private) static class
(package private) static class
Fields in net.minecraft.client.gui.screens.inventory declared as SlotModifier and TypeFieldDescriptionprivate Slot
AbstractContainerScreen.clickedSlot
private Slot
CreativeModeInventoryScreen.destroyItemSlot
protected Slot
AbstractContainerScreen.hoveredSlot
private Slot
AbstractContainerScreen.lastClickSlot
private Slot
AbstractContainerScreen.quickdropSlot
private Slot
AbstractContainerScreen.snapbackEnd
(package private) final Slot
CreativeModeInventoryScreen.SlotWrapper.target
Fields in net.minecraft.client.gui.screens.inventory with type parameters of type SlotModifier and TypeFieldDescriptionCreativeModeInventoryScreen.originalSlots
AbstractContainerScreen.quickCraftSlots
Methods in net.minecraft.client.gui.screens.inventory that return SlotModifier and TypeMethodDescriptionprivate Slot
AbstractContainerScreen.findSlot
(double p_97745_, double p_97746_) @Nullable Slot
AbstractContainerScreen.getSlotUnderMouse()
CreativeModeInventoryScreen.SlotWrapper.setBackground
(ResourceLocation atlas, ResourceLocation sprite) Methods in net.minecraft.client.gui.screens.inventory with parameters of type SlotModifier and TypeMethodDescriptionboolean
boolean
CreativeModeInventoryScreen.ItemPickerMenu.canTakeItemForPickAll
(ItemStack p_98647_, Slot p_98648_) private boolean
CreativeModeInventoryScreen.isCreativeSlot
(Slot p_98554_) private boolean
AbstractContainerScreen.isHovering
(Slot p_97775_, double p_97776_, double p_97777_) boolean
CreativeModeInventoryScreen.SlotWrapper.isSameInventory
(Slot other) private void
CyclingSlotBackground.renderIcon
(Slot p_283532_, ResourceLocation p_283004_, float p_282627_, GuiGraphics p_282825_, int p_281375_, int p_283041_) protected void
AbstractContainerScreen.renderSlot
(GuiGraphics p_281607_, Slot p_282613_) void
CrafterScreen.renderSlot
(GuiGraphics p_307608_, Slot p_307570_) protected void
AbstractContainerScreen.slotClicked
(Slot p_97778_, int p_97779_, int p_97780_, ClickType p_97781_) protected void
AbstractFurnaceScreen.slotClicked
(Slot p_97848_, int p_97849_, int p_97850_, ClickType p_97851_) protected void
CrafterScreen.slotClicked
(Slot p_307465_, int p_307203_, int p_307325_, ClickType p_307680_) protected void
CraftingScreen.slotClicked
(Slot p_98469_, int p_98470_, int p_98471_, ClickType p_98472_) protected void
CreativeModeInventoryScreen.slotClicked
(Slot p_98556_, int p_98557_, int p_98558_, ClickType p_98559_) protected void
InventoryScreen.slotClicked
(Slot p_98865_, int p_98866_, int p_98867_, ClickType p_98868_) Constructors in net.minecraft.client.gui.screens.inventory with parameters of type SlotModifierConstructorDescriptionSlotWrapper
(Slot p_98657_, int p_98658_, int p_98659_, int p_98660_) -
Uses of Slot in net.minecraft.client.gui.screens.recipebook
Methods in net.minecraft.client.gui.screens.recipebook with parameters of type SlotModifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookComponent.slotClicked
(Slot p_100120_) void
RecipeBookComponent.slotClicked
(Slot p_100315_) Method parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type SlotModifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookComponent.setupGhostRecipe
(RecipeHolder<?> p_301099_, List<Slot> p_100123_) void
RecipeBookComponent.setupGhostRecipe
(RecipeHolder<?> p_301197_, List<Slot> p_100317_) -
Uses of Slot in net.minecraft.recipebook
Methods in net.minecraft.recipebook with parameters of type SlotModifier and TypeMethodDescriptionprotected void
ServerPlaceRecipe.moveItemToGrid
(Slot p_135439_, ItemStack p_135440_) -
Uses of Slot in net.minecraft.world.inventory
Subclasses of Slot in net.minecraft.world.inventoryModifier and TypeClassDescription(package private) class
(package private) static class
(package private) static class
(package private) static class
class
class
class
class
class
class
class
Fields in net.minecraft.world.inventory declared as SlotModifier and TypeFieldDescription(package private) final Slot
LoomMenu.bannerSlot
(package private) final Slot
LoomMenu.dyeSlot
private final Slot
BrewingStandMenu.ingredientSlot
(package private) final Slot
StonecutterMenu.inputSlot
private final Slot
LoomMenu.patternSlot
private final Slot
LoomMenu.resultSlot
(package private) final Slot
StonecutterMenu.resultSlot
Fields in net.minecraft.world.inventory with type parameters of type SlotModifier and TypeFieldDescriptionAbstractContainerMenu.quickcraftSlots
final NonNullList<Slot>
AbstractContainerMenu.slots
Methods in net.minecraft.world.inventory that return SlotModifier and TypeMethodDescriptionprotected Slot
LoomMenu.getBannerSlot()
LoomMenu.getDyeSlot()
LoomMenu.getPatternSlot()
LoomMenu.getResultSlot()
AbstractContainerMenu.getSlot
(int p_38854_) Slot.setBackground
(ResourceLocation atlas, ResourceLocation sprite) Sets the background atlas and sprite location.Methods in net.minecraft.world.inventory with parameters of type SlotModifier and TypeMethodDescriptionprotected Slot
boolean
static boolean
AbstractContainerMenu.canItemQuickReplace
(Slot p_38900_, ItemStack p_38901_, boolean p_38902_) boolean
AbstractContainerMenu.canTakeItemForPickAll
(ItemStack p_38908_, Slot p_38909_) boolean
CartographyTableMenu.canTakeItemForPickAll
(ItemStack p_39160_, Slot p_39161_) boolean
CraftingMenu.canTakeItemForPickAll
(ItemStack p_39381_, Slot p_39382_) boolean
InventoryMenu.canTakeItemForPickAll
(ItemStack p_39716_, Slot p_39717_) boolean
MerchantMenu.canTakeItemForPickAll
(ItemStack p_40044_, Slot p_40045_) boolean
SmithingMenu.canTakeItemForPickAll
(ItemStack p_40257_, Slot p_40258_) boolean
StonecutterMenu.canTakeItemForPickAll
(ItemStack p_40321_, Slot p_40322_) boolean
Slot.isSameInventory
(Slot other) Checks if the other slot is in the same inventory, by comparing the inventory reference.private boolean
AbstractContainerMenu.tryItemClickBehaviourOverride
(Player p_249615_, ClickAction p_250300_, Slot p_249384_, ItemStack p_251073_, ItemStack p_252026_) Method parameters in net.minecraft.world.inventory with type arguments of type SlotModifier and TypeMethodDescriptionstatic int
AbstractContainerMenu.getQuickCraftPlaceCount
(Set<Slot> p_279393_, int p_279288_, ItemStack p_279172_) -
Uses of Slot in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type SlotModifier and TypeMethodDescriptionboolean
BundleItem.overrideOtherStackedOnMe
(ItemStack p_150742_, ItemStack p_150743_, Slot p_150744_, ClickAction p_150745_, Player p_150746_, SlotAccess p_150747_) boolean
Item.overrideOtherStackedOnMe
(ItemStack p_150892_, ItemStack p_150893_, Slot p_150894_, ClickAction p_150895_, Player p_150896_, SlotAccess p_150897_) boolean
ItemStack.overrideOtherStackedOnMe
(ItemStack p_150933_, Slot p_150934_, ClickAction p_150935_, Player p_150936_, SlotAccess p_150937_) boolean
BundleItem.overrideStackedOnOther
(ItemStack p_150733_, Slot p_150734_, ClickAction p_150735_, Player p_150736_) boolean
Item.overrideStackedOnOther
(ItemStack p_150888_, Slot p_150889_, ClickAction p_150890_, Player p_150891_) boolean
ItemStack.overrideStackedOnOther
(Slot p_150927_, ClickAction p_150928_, Player p_150929_) -
Uses of Slot in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type SlotModifier and TypeMethodDescriptionstatic boolean
CommonHooks.onItemStackedOn
(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) -
Uses of Slot in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as SlotMethods in net.neoforged.neoforge.event that return SlotModifier and TypeMethodDescriptionItemStackedOnOtherEvent.getSlot()
Returns the slot being clicked on.Constructors in net.neoforged.neoforge.event with parameters of type SlotModifierConstructorDescriptionItemStackedOnOtherEvent
(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) -
Uses of Slot in net.neoforged.neoforge.items
Subclasses of Slot in net.neoforged.neoforge.items -
Uses of Slot in net.neoforged.neoforge.oldtest.recipebook
Fields in net.neoforged.neoforge.oldtest.recipebook declared as SlotMethods in net.neoforged.neoforge.oldtest.recipebook with parameters of type SlotModifier and TypeMethodDescriptionboolean
RecipeBookTestMenu.canTakeItemForPickAll
(ItemStack stack, Slot slot) protected void
RecipeBookTestScreen.slotClicked
(Slot slot, int mouseX, int mouseY, ClickType clickType)