Enum Class MineNode.NodeType

java.lang.Object
java.lang.Enum<MineNode.NodeType>
com.minecolonies.core.entity.ai.workers.util.MineNode.NodeType
All Implemented Interfaces:
Serializable, Comparable<MineNode.NodeType>, Constable
Enclosing class:
MineNode

public static enum MineNode.NodeType extends Enum<MineNode.NodeType>
Sets the node style used.
  • Enum Constant Details

  • Field Details

    • SIDE_NODES

      public static final com.google.common.collect.ImmutableList<MineNode.NodeType> SIDE_NODES
      List of all valid types.
  • Method Details

    • values

      public static MineNode.NodeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MineNode.NodeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSchematicName

      public String getSchematicName()
      Get the matching schematic name.
      Returns:
      the file name string.