Class WrapperPlayServerMapData

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerMapData>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerMapData

public class WrapperPlayServerMapData extends PacketWrapper<WrapperPlayServerMapData>
  • Constructor Details

  • Method Details

    • read

      public void read()
      Overrides:
      read in class PacketWrapper<WrapperPlayServerMapData>
    • write

      public void write()
      Overrides:
      write in class PacketWrapper<WrapperPlayServerMapData>
    • getMapId

      public int getMapId()
    • setMapId

      public void setMapId(int mapId)
    • getScale

      public byte getScale()
    • setScale

      public void setScale(byte scale)
    • isTrackingPosition

      public boolean isTrackingPosition()
    • setTrackingPosition

      public void setTrackingPosition(boolean trackingPosition)
    • isLocked

      public boolean isLocked()
    • setLocked

      public void setLocked(boolean locked)
    • getDecorations

      @Nullable public @Nullable List<WrapperPlayServerMapData.MapDecoration> getDecorations()
    • setDecorations

      public void setDecorations(@Nullable @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations)
    • getColumns

      public int getColumns()
    • setColumns

      public void setColumns(int columns)
    • getRows

      public int getRows()
    • setRows

      public void setRows(int rows)
    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getZ

      public int getZ()
    • setZ

      public void setZ(int z)
    • getData

      public byte @Nullable [] getData()
    • setData

      public void setData(byte @Nullable [] data)