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 classprivate static classFields in net.minecraft.client.gui.screen.ingame declared as SlotModifier and TypeFieldDescriptionCreativeInventoryScreen.deleteItemSlotHandledScreen.focusedSlotHandledScreen.lastClickedSlot(package private) final SlotCreativeInventoryScreen.CreativeSlot.slotHandledScreen.touchDragSlotStartHandledScreen.touchDropOriginSlotHandledScreen.touchHoveredSlotFields 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 TypeMethodDescriptionbooleanCreativeInventoryScreen.CreativeScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanCreativeInventoryScreen.CreativeScreenHandler.canInsertIntoSlot(Slot slot) private voidCyclingSlotIcon.drawIcon(Slot slot, Identifier texture, float alpha, DrawContext context, int x, int y) voidCrafterScreen.drawSlot(DrawContext context, Slot slot) protected voidHandledScreen.drawSlot(DrawContext context, Slot slot) private booleanCreativeInventoryScreen.isCreativeInventorySlot(@Nullable Slot slot) private booleanHandledScreen.isPointOverSlot(Slot slot, double pointX, double pointY) protected voidCrafterScreen.onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) protected voidCreativeInventoryScreen.onMouseClick(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) (package private) voidHandledScreen.onMouseClick(@Nullable Slot slot, SlotActionType actionType) protected voidHandledScreen.onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) protected voidRecipeBookScreen.onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) private voidHandledScreen.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.itemsMethods in net.minecraft.client.gui.screen.recipebook with parameters of type SlotModifier and TypeMethodDescriptionprotected voidGhostRecipe.addInputs(Slot slot, ContextParameterMap context, SlotDisplay display) private voidGhostRecipe.addItems(Slot slot, ContextParameterMap context, SlotDisplay display, boolean resultSlot) protected voidGhostRecipe.addResults(Slot slot, ContextParameterMap context, SlotDisplay display) voidGhostRecipe.drawTooltip(DrawContext context, MinecraftClient client, int x, int y, @Nullable Slot slot) voidRecipeBookWidget.drawTooltip(DrawContext context, int x, int y, @Nullable Slot slot) protected booleanprotected booleanprotected abstract booleanvoidRecipeBookWidget.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 TypeMethodDescriptionbooleanBundleTooltipSubmenuHandler.isApplicableTo(Slot slot) booleanTooltipSubmenuHandler.isApplicableTo(Slot slot) voidBundleTooltipSubmenuHandler.onMouseClick(Slot slot, SlotActionType actionType) voidTooltipSubmenuHandler.onMouseClick(Slot slot, SlotActionType actionType) voidvoid -
Uses of Slot in net.minecraft.component.type
Methods in net.minecraft.component.type with parameters of type SlotModifier and TypeMethodDescriptionintBundleContentsComponent.Builder.add(Slot slot, PlayerEntity player) -
Uses of Slot in net.minecraft.item
Methods in net.minecraft.item with parameters of type SlotModifier and TypeMethodDescriptionbooleanBundleItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslotgets clicked by the cursor holdingotherStack.booleanItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslotgets clicked by the cursor holdingotherStack.booleanItemStack.onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) booleanBundleItem.onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot.booleanItem.onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player) Called when the item at the cursor is clicked atslot.booleanItemStack.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 intInputSlotFiller.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 SlotModifierConstructorDescriptionprivateInputSlotFiller(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 static classprivate static classprivate static classprivate static classFields in net.minecraft.screen declared as SlotModifier and TypeFieldDescription(package private) final SlotLoomScreenHandler.bannerSlot(package private) final SlotLoomScreenHandler.dyeSlotprivate final SlotBrewingStandScreenHandler.ingredientSlot(package private) final SlotStonecutterScreenHandler.inputSlotprivate final SlotLoomScreenHandler.outputSlot(package private) final SlotStonecutterScreenHandler.outputSlotprivate final SlotLoomScreenHandler.patternSlotFields in net.minecraft.screen with type parameters of type SlotModifier and TypeFieldDescriptionScreenHandler.quickCraftSlotsfinal DefaultedList<Slot> ScreenHandler.slotsMethods in net.minecraft.screen that return SlotModifier and TypeMethodDescriptionprotected SlotAbstractCraftingScreenHandler.addResultSlot(PlayerEntity player, int x, int y) protected SlotAddsslotto this screen handler.LoomScreenHandler.getBannerSlot()LoomScreenHandler.getDyeSlot()abstract SlotAbstractCraftingScreenHandler.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 SlotAddsslotto this screen handler.booleanCartographyTableScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanCraftingScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanMerchantScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanPlayerScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanScreenHandler.canInsertIntoSlot(Slot slot) booleanSmithingScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.booleanStonecutterScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) Returns whetherstackcan be inserted toslot.static booleanScreenHandler.canInsertItemIntoSlot(@Nullable Slot slot, ItemStack stack, boolean allowOverflow) private booleanScreenHandler.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 intScreenHandler.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) classclassclassclassclassclassclassclass