Enum Block

java.lang.Object
java.lang.Enum<Block>
com.welcome234.pluginsystem.Block
All Implemented Interfaces:
Serializable, Comparable<Block>, java.lang.constant.Constable

public enum Block extends Enum<Block>
This enum represents all blocks types
  • Enum Constant Details

    • UNKNOWN_TYPE

      public static final Block UNKNOWN_TYPE
    • AIR

      public static final Block AIR
    • STONE

      public static final Block STONE
    • GRASS

      public static final Block GRASS
    • SAND

      public static final Block SAND
    • DIRT

      public static final Block DIRT
    • PLANKS

      public static final Block PLANKS
    • LOG

      public static final Block LOG
    • GLASS

      public static final Block GLASS
    • HARD_ROCK

      public static final Block HARD_ROCK
    • WATER

      public static final Block WATER
    • BARRIER

      public static final Block BARRIER
    • LEAVES

      public static final Block LEAVES
    • LAVA

      public static final Block LAVA
    • CACTUS

      public static final Block CACTUS
    • DYNAMITE

      public static final Block DYNAMITE
    • SIGN

      public static final Block SIGN
    • CHEST

      public static final Block CHEST
    • SNOWY_GRASS

      public static final Block SNOWY_GRASS
    • TORCH

      public static final Block TORCH
    • PORTAL_MAGIC

      public static final Block PORTAL_MAGIC
    • CUTTER

      public static final Block CUTTER
    • FURNACE

      public static final Block FURNACE
    • WHITE_WOOL

      public static final Block WHITE_WOOL
    • BLACK_WOOL

      public static final Block BLACK_WOOL
    • BLUE_WOOL

      public static final Block BLUE_WOOL
    • GREEN_WOOL

      public static final Block GREEN_WOOL
    • RED_WOOL

      public static final Block RED_WOOL
    • PURPLE_WOOL

      public static final Block PURPLE_WOOL
    • YELLOW_WOOL

      public static final Block YELLOW_WOOL
    • LIGHT_WOOL

      public static final Block LIGHT_WOOL
    • ICE

      public static final Block ICE
    • LADDER

      public static final Block LADDER
    • BRICKS

      public static final Block BRICKS
    • RED_FLOWER

      public static final Block RED_FLOWER
    • YELLOW_FLOWER

      public static final Block YELLOW_FLOWER
    • END_ROCK

      public static final Block END_ROCK
    • PORTAL_FRAME

      public static final Block PORTAL_FRAME
    • BOSS_EYE

      public static final Block BOSS_EYE
    • ACTIVE_CORE

      public static final Block ACTIVE_CORE
    • INACTIVE_CORE

      public static final Block INACTIVE_CORE
    • CORRUPTION

      public static final Block CORRUPTION
    • CORRUPTION_CRUST

      public static final Block CORRUPTION_CRUST
    • DOOR_TOP

      public static final Block DOOR_TOP
    • DOOR_BOTTOM

      public static final Block DOOR_BOTTOM
  • Method Details

    • values

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

      public static Block valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null