Class WrapperPlayServerAdvancements
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerAdvancements
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketTypeThe packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerAdvancements(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionMap<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'booleangetReset()Retrieves the value of field 'reset'voidsetAddedInternal(Map<com.comphenix.protocol.wrappers.MinecraftKey, com.comphenix.protocol.events.InternalStructure> value) Sets the value of field 'added'voidsetProgressInternal(Map<com.comphenix.protocol.wrappers.MinecraftKey, com.comphenix.protocol.events.InternalStructure> value) Sets the value of field 'progress'voidsetRemoved(Set<com.comphenix.protocol.wrappers.MinecraftKey> value) Sets the value of field 'removed'voidsetReset(boolean value) Sets the value of field 'reset'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe 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
Retrieves the value of field 'removed'- Returns:
- 'removed'
-
setRemoved
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'
-