Class ClientboundCooldownPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundCooldownPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundCooldownPacket(FriendlyByteBuf p_178831_) ClientboundCooldownPacket(Item p_132000_, int p_132001_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetItem()voidhandle(ClientGamePacketListener p_132007_) voidwrite(FriendlyByteBuf p_132010_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable
- 
Field Details- 
item
- 
durationprivate final int duration
 
- 
- 
Constructor Details- 
ClientboundCooldownPacket
- 
ClientboundCooldownPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getItem
- 
getDurationpublic int getDuration()
 
-