Package org.moddingx.libx.menu.slot
Class OutputSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.neoforged.neoforge.items.SlotItemHandler
org.moddingx.libx.menu.slot.OutputSlot
public class OutputSlot
extends net.neoforged.neoforge.items.SlotItemHandler
A
slot that no items can be inserted in.-
Field Summary
Fields inherited from class net.neoforged.neoforge.items.SlotItemHandler
indexFields inherited from class net.minecraft.world.inventory.Slot
container, x, y -
Constructor Summary
ConstructorsConstructorDescriptionOutputSlot(net.neoforged.neoforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition) -
Method Summary
Methods inherited from class net.neoforged.neoforge.items.SlotItemHandler
getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPickup, onQuickCraft, remove, setMethods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
Constructor Details
-
OutputSlot
public OutputSlot(net.neoforged.neoforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition)
-
-
Method Details
-
mayPlace
- Overrides:
mayPlacein classnet.neoforged.neoforge.items.SlotItemHandler
-