Class ChunkLightDataMessage

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

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

    • ChunkLightDataMessage

      public ChunkLightDataMessage(int x, int z, boolean trustEdges, BitSet skyLightMask, BitSet blockLightMask, BitSet emptySkyLightMask, BitSet emptyBlockLightMask, List<byte[]> skyLight, List<byte[]> blockLight)
  • Method Details

    • getX

      public int getX()
    • getZ

      public int getZ()
    • isTrustEdges

      public boolean isTrustEdges()
    • getSkyLightMask

      public BitSet getSkyLightMask()
    • getBlockLightMask

      public BitSet getBlockLightMask()
    • getEmptySkyLightMask

      public BitSet getEmptySkyLightMask()
    • getEmptyBlockLightMask

      public BitSet getEmptyBlockLightMask()
    • getSkyLight

      public List<byte[]> getSkyLight()
    • getBlockLight

      public List<byte[]> getBlockLight()
    • equals

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

      protected boolean canEqual(Object other)
    • 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