Class ChunkDataMessage

java.lang.Object
net.glowstone.net.message.play.game.ChunkDataMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public final class ChunkDataMessage extends Object implements com.flowpowered.network.Message
  • Constructor Details

    • ChunkDataMessage

      public ChunkDataMessage(int x, int z, boolean continuous, int primaryMask, io.netty.buffer.ByteBuf data, Collection<CompoundTag> blockEntities)
  • Method Details

    • getX

      public int getX()
    • getZ

      public int getZ()
    • isContinuous

      public boolean isContinuous()
    • getPrimaryMask

      public int getPrimaryMask()
    • getData

      public io.netty.buffer.ByteBuf getData()
    • getBlockEntities

      public Collection<CompoundTag> getBlockEntities()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object