Class WrapperPlayServerMap

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerMap

public class WrapperPlayServerMap extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerMap

      public WrapperPlayServerMap()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerMap

      public WrapperPlayServerMap(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getMapId

      public int getMapId()
      Retrieves the value of field 'mapId'
      Returns:
      'mapId'
    • setMapId

      public void setMapId(int value)
      Sets the value of field 'mapId'
      Parameters:
      value - New value for field 'mapId'
    • getScale

      public byte getScale()
      Retrieves the value of field 'scale'
      Returns:
      'scale'
    • setScale

      public void setScale(byte value)
      Sets the value of field 'scale'
      Parameters:
      value - New value for field 'scale'
    • getLocked

      public boolean getLocked()
      Retrieves the value of field 'locked'
      Returns:
      'locked'
    • setLocked

      public void setLocked(boolean value)
      Sets the value of field 'locked'
      Parameters:
      value - New value for field 'locked'
    • getDecorations

      @Nullable public List<WrapperPlayServerMap.WrappedMapDecoration> getDecorations()
      Retrieves the value of field 'decorations'
      Returns:
      'decorations'
    • setDecorations

      public void setDecorations(@Nullable List<WrapperPlayServerMap.WrappedMapDecoration> value)
      Sets the value of field 'decorations'
      Parameters:
      value - New value for field 'decorations'
    • getColorPatchInternal

      @Deprecated public com.comphenix.protocol.events.InternalStructure getColorPatchInternal()
      Deprecated.
      Retrieves the value of field 'colorPatch'
      Returns:
      'colorPatch'
    • setColorPatchInternal

      @Deprecated public void setColorPatchInternal(com.comphenix.protocol.events.InternalStructure value)
      Deprecated.
      Sets the value of field 'colorPatch'
      Parameters:
      value - New value for field 'colorPatch'
    • getColorPatch

      @Nullable public WrapperPlayServerMap.WrappedMapPatch getColorPatch()
      Retrieves the value of field 'colorPatch'
      Returns:
      'colorPatch'
    • setColorPatch

      public void setColorPatch(@Nullable WrapperPlayServerMap.WrappedMapPatch value)
      Sets the value of field 'colorPatch'
      Parameters:
      value - New value for field 'colorPatch'