Class BlockTypesCache

java.lang.Object
com.sk89q.worldedit.world.block.BlockTypesCache

public class BlockTypesCache extends Object
  • Field Details

    • BIT_OFFSET

      public static final int BIT_OFFSET
    • BIT_MASK

      protected static final int BIT_MASK
    • values

      public static final BlockType[] values
    • states

      public static final BlockState[] states
    • ticking

      public static final boolean[] ticking
      Array of blockstates in order of ordinal indicating if the block ticks, e.g. leaves, water
    • $NAMESPACES

      protected static final Set<String> $NAMESPACES
  • Constructor Details

    • BlockTypesCache

      public BlockTypesCache()
  • Method Details

    • getAllProperties

      public static Map<String,List<Property<?>>> getAllProperties()
      Get a list of all block properties available.
      Returns:
      map of string key against property of all block properties available