Class ClientboundCooldownPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundCooldownPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientboundCooldownPacket(FriendlyByteBuf p_178831_)ClientboundCooldownPacket(Item p_132000_, int p_132001_) -
Method Summary
Modifier and TypeMethodDescriptionintgetItem()voidhandle(ClientGamePacketListener p_132007_)voidwrite(FriendlyByteBuf p_132010_)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
-
Field Details
-
item
-
duration
private final int duration
-
-
Constructor Details
-
ClientboundCooldownPacket
-
ClientboundCooldownPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getItem
-
getDuration
public int getDuration()
-