Class BlockEntityInfo

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 com.viaversion.nbt.mini.MNBT nbt)
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • getZ

      public int getZ()
    • getType

      public BlockEntityType getType()
    • getNbt

      public @Nullable com.viaversion.nbt.mini.MNBT getNbt()
    • setX

      public void setX(int x)
    • setY

      public void setY(int y)
    • setZ

      public void setZ(int z)
    • setType

      public void setType(BlockEntityType type)
    • setNbt

      public void setNbt(@Nullable com.viaversion.nbt.mini.MNBT nbt)
    • 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