java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.level.block.BlockEntityInfo

public class BlockEntityInfo extends Object
  • Constructor Details

    • BlockEntityInfo

      public BlockEntityInfo(int x, int y, int z, BlockEntityType type, @Nullable org.cloudburstmc.nbt.NbtMap nbt)
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • getZ

      public int getZ()
    • getType

      public BlockEntityType getType()
    • getNbt

      public @Nullable org.cloudburstmc.nbt.NbtMap getNbt()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

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

      public @NonNull String toString()
      Overrides:
      toString in class Object