Class ArgumentSlot

java.lang.Object
ua.mcchickenstudio.opencreative.coding.menus.layouts.ArgumentSlot
Direct Known Subclasses:
ParameterSlot

public class ArgumentSlot extends Object
This class represents an Argument Slot, that can be added to actions. It's used for creating layouts and saving items into chest.
See Also:
  • Constructor Details

    • ArgumentSlot

      public ArgumentSlot(String path, ValueType varType)
    • ArgumentSlot

      public ArgumentSlot(String path, ValueType varType, int listSize)
    • ArgumentSlot

      public ArgumentSlot(String path, ValueType varType, int listSize, boolean acceptEmptyItems)
  • Method Details

    • getVarType

      public ValueType getVarType()
    • isList

      public boolean isList()
    • acceptEmptyItems

      public boolean acceptEmptyItems()
    • getListSize

      public int getListSize()
    • getPath

      public String getPath()
    • isParameter

      public boolean isParameter()