Class WrapperPlayServerPlayerCombatEnd
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerPlayerCombatEnd
Deprecated.
Unused packet
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketTypeDeprecated.The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerPlayerCombatEnd(com.comphenix.protocol.events.PacketContainer packet) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Retrieves the value of field 'duration'intDeprecated.Removed in 1.20voidsetDuration(int value) Deprecated.Sets the value of field 'duration'voidsetKillerId(int value) Deprecated.Removed in 1.20Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEDeprecated.The packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerPlayerCombatEnd
public WrapperPlayServerPlayerCombatEnd()Deprecated.Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerPlayerCombatEnd
public WrapperPlayServerPlayerCombatEnd(com.comphenix.protocol.events.PacketContainer packet) Deprecated.
-
-
Method Details
-
getKillerId
public int getKillerId()Deprecated.Removed in 1.20Retrieves the value of field 'killerId'- Returns:
- 'killerId'
-
setKillerId
public void setKillerId(int value) Deprecated.Removed in 1.20Sets the value of field 'killerId'- Parameters:
value- New value for field 'killerId'
-
getDuration
public int getDuration()Deprecated.Retrieves the value of field 'duration'- Returns:
- 'duration'
-
setDuration
public void setDuration(int value) Deprecated.Sets the value of field 'duration'- Parameters:
value- New value for field 'duration'
-