java.lang.Object
cn.nukkit.level.generator.populator.impl.structure.utils.block.state.BlockState

@PowerNukkitXOnly @Since("1.19.21-r2") public class BlockState extends Object
  • Field Details

  • Constructor Details

    • BlockState

      public BlockState(int id)
    • BlockState

      public BlockState(int id, int meta)
  • Method Details

    • fromFullId

      public static BlockState fromFullId(int fullId)
    • fromHash

      public static BlockState fromHash(int hash)
    • getId

      public int getId()
    • getMeta

      public int getMeta()
    • getFullId

      public int getFullId()
    • getRuntimeId

      public int getRuntimeId()
    • getBlock

      public Block getBlock()
    • rotate

      public BlockState rotate(Rotation rot)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object