Class BlockStateIdAccess

java.lang.Object
com.sk89q.worldedit.internal.block.BlockStateIdAccess

public final class BlockStateIdAccess extends Object
  • Method Details

    • invalidId

      public static int invalidId()
      An invalid internal ID, for verification purposes.
      Returns:
      an internal ID which is never valid
    • isValidInternalId

      public static boolean isValidInternalId(int internalId)
    • getBlockStateId

      public static int getBlockStateId(BlockState holder)
    • getBlockStateById

      @Nullable public static BlockState getBlockStateById(int id)