Class ContainerAspectSettings.SlotVariableProperty
java.lang.Object
net.minecraft.world.inventory.Slot
org.cyclops.cyclopscore.inventory.slot.SlotExtended
org.cyclops.cyclopscore.inventory.slot.SlotSingleItem
org.cyclops.integrateddynamics.core.inventory.container.slot.SlotVariable
org.cyclops.integrateddynamics.core.inventory.container.ContainerAspectSettings.SlotVariableProperty
- Enclosing class:
ContainerAspectSettings
A variable slot that is only visible when its property is the active property.
-
Field Summary
Fields inherited from class SlotVariable
VARIABLE_EMPTYFields inherited from class net.minecraft.world.inventory.Slot
container, index, x, y -
Constructor Summary
ConstructorsConstructorDescriptionSlotVariableProperty(net.minecraft.world.Container inventory, int index, int x, int y) -
Method Summary
Methods inherited from class org.cyclops.cyclopscore.inventory.slot.SlotSingleItem
getItemAllowedMethods inherited from class org.cyclops.cyclopscore.inventory.slot.SlotExtended
isAdjustable, isEnabled, isPhantom, mayPickup, setAdjustable, setEnabled, setPhantomMethods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isFake, isHighlightable, isSameInventory, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeClone, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
Constructor Details
-
SlotVariableProperty
public SlotVariableProperty(net.minecraft.world.Container inventory, int index, int x, int y)
-
-
Method Details
-
isActive
public boolean isActive()- Overrides:
isActivein classnet.minecraft.world.inventory.Slot
-
mayPlace
public boolean mayPlace(net.minecraft.world.item.ItemStack stack) - Overrides:
mayPlacein classorg.cyclops.cyclopscore.inventory.slot.SlotSingleItem
-