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

public class ContainerAspectSettings.SlotVariableProperty extends SlotVariable
A variable slot that is only visible when its property is the active property.
  • Field Summary

    Fields inherited from class SlotVariable

    VARIABLE_EMPTY

    Fields inherited from class net.minecraft.world.inventory.Slot

    container, index, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
    SlotVariableProperty(net.minecraft.world.Container inventory, int index, int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    mayPlace(net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class org.cyclops.cyclopscore.inventory.slot.SlotSingleItem

    getItemAllowed

    Methods inherited from class org.cyclops.cyclopscore.inventory.slot.SlotExtended

    isAdjustable, isEnabled, isPhantom, mayPickup, setAdjustable, setEnabled, setPhantom

    Methods 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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SlotVariableProperty

      public SlotVariableProperty(net.minecraft.world.Container inventory, int index, int x, int y)
  • Method Details

    • isActive

      public boolean isActive()
      Overrides:
      isActive in class net.minecraft.world.inventory.Slot
    • mayPlace

      public boolean mayPlace(net.minecraft.world.item.ItemStack stack)
      Overrides:
      mayPlace in class org.cyclops.cyclopscore.inventory.slot.SlotSingleItem