Class CooldownUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CooldownUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class CooldownUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qb
intermediary net/minecraft/class_2656
named net/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CooldownUpdateS2CPacket()
CooldownUpdateS2CPacket(Item item, int cooldown)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getCooldown()
Item
getItem()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Lqb;a:Lbnr;
intermediary field_12154
Lnet/minecraft/class_2656;field_12154:Lnet/minecraft/class_1792;
named item
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;item:Lnet/minecraft/item/Item;
-
cooldown
private int cooldown- Mappings:
Namespace Name Mixin selector official b
Lqb;b:I
intermediary field_12155
Lnet/minecraft/class_2656;field_12155:I
named cooldown
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;cooldown:I
-
-
Constructor Details
-
CooldownUpdateS2CPacket
public CooldownUpdateS2CPacket() -
CooldownUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqb;<init>(Lbnr;I)V
intermediary <init>
Lnet/minecraft/class_2656;<init>(Lnet/minecraft/class_1792;I)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;<init>(Lnet/minecraft/item/Item;I)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqb;a(Lpd;)V
intermediary method_11455
Lnet/minecraft/class_2656;method_11455(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getItem
- Mappings:
Namespace Name Mixin selector official b
Lqb;b()Lbnr;
intermediary method_11453
Lnet/minecraft/class_2656;method_11453()Lnet/minecraft/class_1792;
named getItem
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;getItem()Lnet/minecraft/item/Item;
-
getCooldown
- Mappings:
Namespace Name Mixin selector official c
Lqb;c()I
intermediary method_11454
Lnet/minecraft/class_2656;method_11454()I
named getCooldown
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;getCooldown()I
-