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