Class WrapperPlayServerMultiBlockChange

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

public class WrapperPlayServerMultiBlockChange extends AbstractPacket
Send by server to client when 2 or more blocks are changed within the same chunk on the same tick.
  • Field Details

    • TYPE

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

    • WrapperPlayServerMultiBlockChange

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

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

    • getSectionPos

      public com.comphenix.protocol.wrappers.BlockPosition getSectionPos()
      Retrieves the value of field 'sectionPos'
      Returns:
      'sectionPos'
    • setSectionPos

      public void setSectionPos(com.comphenix.protocol.wrappers.BlockPosition value)
      Sets the value of field 'sectionPos'
      Parameters:
      value - New value for field 'sectionPos'
    • getPositions

      public short[] getPositions()
      Retrieves the value of field 'positions'
      Returns:
      'positions'
    • setPositions

      public void setPositions(short[] value)
      Sets the value of field 'positions'
      Parameters:
      value - New value for field 'positions'
    • getStates

      public com.comphenix.protocol.wrappers.WrappedBlockData[] getStates()
      Retrieves the value of field 'states'
      Returns:
      'states'
    • setStates

      public void setStates(com.comphenix.protocol.wrappers.WrappedBlockData[] value)
      Sets the value of field 'states'
      Parameters:
      value - New value for field 'states'
    • getSuppressLightUpdates

      @Deprecated public boolean getSuppressLightUpdates()
      Deprecated.
      Removed in 1.20
      Retrieves the value of field 'suppressLightUpdates'
      Returns:
      'suppressLightUpdates'
    • setSuppressLightUpdates

      @Deprecated public void setSuppressLightUpdates(boolean value)
      Deprecated.
      Removed in 1.20
      Sets the value of field 'suppressLightUpdates'
      Parameters:
      value - New value for field 'suppressLightUpdates'