Class WrapperPlayServerAttachEntity

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

public class WrapperPlayServerAttachEntity extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerAttachEntity

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

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

    • getSourceId

      public int getSourceId()
      Retrieves the value of field 'sourceId'
      Returns:
      'sourceId'
    • setSourceId

      public void setSourceId(int value)
      Sets the value of field 'sourceId'
      Parameters:
      value - New value for field 'sourceId'
    • getDestId

      public int getDestId()
      Retrieves the value of field 'destId'
      Returns:
      'destId'
    • setDestId

      public void setDestId(int value)
      Sets the value of field 'destId'
      Parameters:
      value - New value for field 'destId'