Enum Class GhostBlocks.Show

java.lang.Object
java.lang.Enum<GhostBlocks.Show>
net.ixdarklord.coolcatcanvas.api.client.vfx.GhostBlocks.Show
All Implemented Interfaces:
Serializable, Comparable<GhostBlocks.Show>, Constable
Enclosing class:
GhostBlocks

public static enum GhostBlocks.Show extends Enum<GhostBlocks.Show>
Where a ghost shows, against the world in front of it or behind it.
  • Enum Constant Details

    • THROUGH_WALLS

      public static final GhostBlocks.Show THROUGH_WALLS
      Only where something in the world is in front of it: seen through walls, and not over the real block where it is in plain sight (a ghost of something that is there, to find it).
    • IN_WORLD

      public static final GhostBlocks.Show IN_WORLD
      Only where nothing in the world is in front of it, as a real block would be (a ghost of what is to be built).
    • ALWAYS

      public static final GhostBlocks.Show ALWAYS
      Everywhere, over whatever is in front of it.
  • Method Details

    • values

      public static GhostBlocks.Show[] 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 GhostBlocks.Show 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