Class VacuumTrapMenu.SlotSpawnerCore
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
me.desht.pneumaticcraft.common.inventory.VacuumTrapMenu.SlotSpawnerCore
- Enclosing class:
- VacuumTrapMenu
public static class VacuumTrapMenu.SlotSpawnerCore
extends net.minecraftforge.items.SlotItemHandler
-
Field Summary
Fields inherited from class net.minecraft.world.inventory.Slot
container, x, y -
Constructor Summary
ConstructorsConstructorDescriptionSlotSpawnerCore(net.minecraftforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition) -
Method Summary
Methods inherited from class net.minecraftforge.items.SlotItemHandler
getItem, getItemHandler, getMaxStackSize, initialize, mayPickup, onQuickCraft, remove, setMethods 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
-
SlotSpawnerCore
public SlotSpawnerCore(net.minecraftforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition)
-
-
Method Details
-
mayPlace
public boolean mayPlace(@Nonnull net.minecraft.world.item.ItemStack stack) - Overrides:
mayPlacein classnet.minecraftforge.items.SlotItemHandler
-
getMaxStackSize
public int getMaxStackSize()- Overrides:
getMaxStackSizein classnet.minecraftforge.items.SlotItemHandler
-