Uses of Class
net.minecraft.world.inventory.Slot
Package
Description
-
Uses of Slot in net.minecraft.client.gui.screens.inventory
Modifier and TypeClassDescription(package private) static class
(package private) static class
Modifier 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
Modifier and TypeFieldDescriptionCreativeModeInventoryScreen.originalSlots
AbstractContainerScreen.quickCraftSlots
Modifier and TypeMethodDescriptionprivate Slot
AbstractContainerScreen.findSlot
(double p_97745_, double p_97746_) @Nullable Slot
AbstractContainerScreen.getSlotUnderMouse()
CreativeModeInventoryScreen.SlotWrapper.setBackground
(ResourceLocation atlas, ResourceLocation sprite) Modifier 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_) private void
AbstractContainerScreen.renderSlot
(GuiGraphics p_281607_, Slot p_282613_) 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
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_) ModifierConstructorDescriptionSlotWrapper
(Slot p_98657_, int p_98658_, int p_98659_, int p_98660_) -
Uses of Slot in net.minecraft.client.gui.screens.recipebook
Modifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookComponent.slotClicked
(Slot p_100120_) void
RecipeBookComponent.slotClicked
(Slot p_100315_) Modifier and TypeMethodDescriptionvoid
AbstractFurnaceRecipeBookComponent.setupGhostRecipe
(RecipeHolder<?> p_297434_, List<Slot> p_100123_) void
RecipeBookComponent.setupGhostRecipe
(RecipeHolder<?> p_299607_, List<Slot> p_100317_) -
Uses of Slot in net.minecraft.recipebook
Modifier and TypeMethodDescriptionprotected void
ServerPlaceRecipe.moveItemToGrid
(Slot p_135439_, ItemStack p_135440_) -
Uses of Slot in net.minecraft.world.inventory
Modifier and TypeClassDescription(package private) class
(package private) static class
(package private) static class
(package private) static class
class
class
class
class
class
Modifier 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
Modifier and TypeFieldDescriptionAbstractContainerMenu.quickcraftSlots
final NonNullList<Slot>
AbstractContainerMenu.slots
Modifier 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.Modifier 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_) Modifier and TypeMethodDescriptionstatic int
AbstractContainerMenu.getQuickCraftPlaceCount
(Set<Slot> p_279393_, int p_279288_, ItemStack p_279172_) -
Uses of Slot in net.minecraft.world.item
Modifier 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.minecraftforge.common
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onItemStackedOn
(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) -
Uses of Slot in net.minecraftforge.event
Modifier and TypeMethodDescriptionItemStackedOnOtherEvent.getSlot()
Returns the slot being clicked on.ModifierConstructorDescriptionItemStackedOnOtherEvent
(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) -
Uses of Slot in net.minecraftforge.items