Class ClientboundPlayerCombatEndPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerCombatEndPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundPlayerCombatEndPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerCombatEndPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundPlayerCombatEndPacket(int p_289544_) privateClientboundPlayerCombatEndPacket(FriendlyByteBuf p_179042_) ClientboundPlayerCombatEndPacket(CombatTracker p_179040_) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ClientGamePacketListener p_179048_) type()private voidwrite(FriendlyByteBuf p_179044_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
duration
private final int duration
-
-
Constructor Details
-
ClientboundPlayerCombatEndPacket
-
ClientboundPlayerCombatEndPacket
public ClientboundPlayerCombatEndPacket(int p_289544_) -
ClientboundPlayerCombatEndPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-