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 classFields in net.minecraft.client.gui.screens.inventory declared as SlotModifier and TypeFieldDescriptionprivate SlotAbstractContainerScreen.clickedSlotprivate SlotCreativeModeInventoryScreen.destroyItemSlotprotected SlotAbstractContainerScreen.hoveredSlotprivate SlotAbstractContainerScreen.lastClickSlotprivate SlotAbstractContainerScreen.quickdropSlotprivate SlotAbstractContainerScreen.snapbackEnd(package private) final SlotCreativeModeInventoryScreen.SlotWrapper.targetFields in net.minecraft.client.gui.screens.inventory with type parameters of type SlotModifier and TypeFieldDescriptionCreativeModeInventoryScreen.originalSlotsAbstractContainerScreen.quickCraftSlotsMethods in net.minecraft.client.gui.screens.inventory that return SlotModifier and TypeMethodDescriptionprivate SlotAbstractContainerScreen.findSlot(double p_97745_, double p_97746_) @Nullable SlotAbstractContainerScreen.getSlotUnderMouse()CreativeModeInventoryScreen.SlotWrapper.setBackground(ResourceLocation atlas, ResourceLocation sprite) Methods in net.minecraft.client.gui.screens.inventory with parameters of type SlotModifier and TypeMethodDescriptionbooleanbooleanCreativeModeInventoryScreen.ItemPickerMenu.canTakeItemForPickAll(ItemStack p_98647_, Slot p_98648_) private booleanCreativeModeInventoryScreen.isCreativeSlot(Slot p_98554_) private booleanAbstractContainerScreen.isHovering(Slot p_97775_, double p_97776_, double p_97777_) booleanCreativeModeInventoryScreen.SlotWrapper.isSameInventory(Slot other) private voidCyclingSlotBackground.renderIcon(Slot p_283532_, ResourceLocation p_283004_, float p_282627_, GuiGraphics p_282825_, int p_281375_, int p_283041_) protected voidAbstractContainerScreen.renderSlot(GuiGraphics p_281607_, Slot p_282613_) voidCrafterScreen.renderSlot(GuiGraphics p_307608_, Slot p_307570_) protected voidAbstractContainerScreen.renderSlotContents(GuiGraphics guiGraphics, ItemStack itemstack, Slot slot, String countString) protected voidAbstractContainerScreen.renderSlotHighlight(GuiGraphics guiGraphics, Slot slot, int mouseX, int mouseY, float partialTick) Renders a highlight for the given slot to indicate the mouse is currently hovering over it.protected voidAbstractContainerScreen.slotClicked(Slot p_97778_, int p_97779_, int p_97780_, ClickType p_97781_) protected voidAbstractFurnaceScreen.slotClicked(Slot p_97848_, int p_97849_, int p_97850_, ClickType p_97851_) protected voidCrafterScreen.slotClicked(Slot p_307465_, int p_307203_, int p_307325_, ClickType p_307680_) protected voidCraftingScreen.slotClicked(Slot p_98469_, int p_98470_, int p_98471_, ClickType p_98472_) protected voidCreativeModeInventoryScreen.slotClicked(Slot p_98556_, int p_98557_, int p_98558_, ClickType p_98559_) protected voidInventoryScreen.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 TypeMethodDescriptionvoidAbstractFurnaceRecipeBookComponent.slotClicked(Slot p_100120_) voidRecipeBookComponent.slotClicked(Slot p_100315_) Method parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type SlotModifier and TypeMethodDescriptionvoidAbstractFurnaceRecipeBookComponent.setupGhostRecipe(RecipeHolder<?> p_301099_, List<Slot> p_100123_) voidRecipeBookComponent.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 voidServerPlaceRecipe.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 classclassclassclassclassclassclassclassFields in net.minecraft.world.inventory declared as SlotModifier and TypeFieldDescription(package private) final SlotLoomMenu.bannerSlot(package private) final SlotLoomMenu.dyeSlotprivate final SlotBrewingStandMenu.ingredientSlot(package private) final SlotStonecutterMenu.inputSlotprivate final SlotLoomMenu.patternSlotprivate final SlotLoomMenu.resultSlot(package private) final SlotStonecutterMenu.resultSlotFields in net.minecraft.world.inventory with type parameters of type SlotModifier and TypeFieldDescriptionAbstractContainerMenu.quickcraftSlotsfinal NonNullList<Slot> AbstractContainerMenu.slotsMethods in net.minecraft.world.inventory that return SlotModifier and TypeMethodDescriptionprotected SlotLoomMenu.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 Slotbooleanstatic booleanAbstractContainerMenu.canItemQuickReplace(Slot p_38900_, ItemStack p_38901_, boolean p_38902_) booleanAbstractContainerMenu.canTakeItemForPickAll(ItemStack p_38908_, Slot p_38909_) booleanCartographyTableMenu.canTakeItemForPickAll(ItemStack p_39160_, Slot p_39161_) booleanCraftingMenu.canTakeItemForPickAll(ItemStack p_39381_, Slot p_39382_) booleanInventoryMenu.canTakeItemForPickAll(ItemStack p_39716_, Slot p_39717_) booleanMerchantMenu.canTakeItemForPickAll(ItemStack p_40044_, Slot p_40045_) booleanSmithingMenu.canTakeItemForPickAll(ItemStack p_40257_, Slot p_40258_) booleanStonecutterMenu.canTakeItemForPickAll(ItemStack p_40321_, Slot p_40322_) booleanSlot.isSameInventory(Slot other) Checks if the other slot is in the same inventory, by comparing the inventory reference.private booleanAbstractContainerMenu.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 intAbstractContainerMenu.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 TypeMethodDescriptionbooleanBundleItem.overrideOtherStackedOnMe(ItemStack p_150742_, ItemStack p_150743_, Slot p_150744_, ClickAction p_150745_, Player p_150746_, SlotAccess p_150747_) booleanItem.overrideOtherStackedOnMe(ItemStack p_150892_, ItemStack p_150893_, Slot p_150894_, ClickAction p_150895_, Player p_150896_, SlotAccess p_150897_) booleanItemStack.overrideOtherStackedOnMe(ItemStack p_150933_, Slot p_150934_, ClickAction p_150935_, Player p_150936_, SlotAccess p_150937_) booleanBundleItem.overrideStackedOnOther(ItemStack p_150733_, Slot p_150734_, ClickAction p_150735_, Player p_150736_) booleanItem.overrideStackedOnOther(ItemStack p_150888_, Slot p_150889_, ClickAction p_150890_, Player p_150891_) booleanItemStack.overrideStackedOnOther(Slot p_150927_, ClickAction p_150928_, Player p_150929_) -
Uses of Slot in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type SlotModifier and TypeMethodDescriptionintBundleContents.Mutable.tryTransfer(Slot p_330834_, Player p_331924_) -
Uses of Slot in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type SlotModifier and TypeMethodDescriptionstatic booleanCommonHooks.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 TypeMethodDescriptionbooleanRecipeBookTestMenu.canTakeItemForPickAll(ItemStack stack, Slot slot) protected voidRecipeBookTestScreen.slotClicked(Slot slot, int mouseX, int mouseY, ClickType clickType)