Class WrapperPlayServerAdvancements

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

public class WrapperPlayServerAdvancements extends AbstractPacket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.comphenix.protocol.PacketType
    The packet type that is wrapped by this wrapper.

    Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    handle
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new wrapper and initialize it with a packet handle with default values
    WrapperPlayServerAdvancements(com.comphenix.protocol.events.PacketContainer packet)
    Constructors a new wrapper for the specified packet
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure>
    Retrieves the value of field 'added'
    Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure>
    Retrieves the value of field 'progress'
    Set<com.comphenix.protocol.wrappers.MinecraftKey>
    Retrieves the value of field 'removed'
    boolean
    Retrieves the value of field 'reset'
    void
    setAddedInternal(Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure> value)
    Sets the value of field 'added'
    void
    setProgressInternal(Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure> value)
    Sets the value of field 'progress'
    void
    setRemoved(Set<com.comphenix.protocol.wrappers.MinecraftKey> value)
    Sets the value of field 'removed'
    void
    setReset(boolean value)
    Sets the value of field 'reset'

    Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TYPE

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

    • WrapperPlayServerAdvancements

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

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

    • getReset

      public boolean getReset()
      Retrieves the value of field 'reset'
      Returns:
      'reset'
    • setReset

      public void setReset(boolean value)
      Sets the value of field 'reset'
      Parameters:
      value - New value for field 'reset'
    • getAddedInternal

      public Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure> getAddedInternal()
      Retrieves the value of field 'added'
      Returns:
      'added'
    • setAddedInternal

      public void setAddedInternal(Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure> value)
      Sets the value of field 'added'
      Parameters:
      value - New value for field 'added'
    • getRemoved

      public Set<com.comphenix.protocol.wrappers.MinecraftKey> getRemoved()
      Retrieves the value of field 'removed'
      Returns:
      'removed'
    • setRemoved

      public void setRemoved(Set<com.comphenix.protocol.wrappers.MinecraftKey> value)
      Sets the value of field 'removed'
      Parameters:
      value - New value for field 'removed'
    • getProgressInternal

      public Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure> getProgressInternal()
      Retrieves the value of field 'progress'
      Returns:
      'progress'
    • setProgressInternal

      public void setProgressInternal(Map<com.comphenix.protocol.wrappers.MinecraftKey,com.comphenix.protocol.events.InternalStructure> value)
      Sets the value of field 'progress'
      Parameters:
      value - New value for field 'progress'