Class WrapperPlayServerCustomPayload

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

public class WrapperPlayServerCustomPayload extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerCustomPayload

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

      public WrapperPlayServerCustomPayload(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getIdentifier

      public com.comphenix.protocol.wrappers.MinecraftKey getIdentifier()
      Retrieves the value of field 'identifier'
      Returns:
      'identifier'
    • setIdentifier

      public void setIdentifier(com.comphenix.protocol.wrappers.MinecraftKey value)
      Sets the value of field 'identifier'
      Parameters:
      value - New value for field 'identifier'
    • getData

      public io.netty.buffer.ByteBuf getData()
      Retrieves the value of field 'data'
      Returns:
      'data'
    • setData

      public void setData(io.netty.buffer.ByteBuf value)
      Sets the value of field 'data'
      Parameters:
      value - New value for field 'data'