Class CooldownUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CooldownUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xmintermediary net/minecraft/class_2656named net/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intgetItem()voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
getNewNetworkState, isWritingErrorSkippable
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official aLxm;a:Lcir;intermediary field_12154Lnet/minecraft/class_2656;field_12154:Lnet/minecraft/class_1792;named itemLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;item:Lnet/minecraft/item/Item;
-
cooldown
private final int cooldown- Mappings:
Namespace Name Mixin selector official bLxm;b:Iintermediary field_12155Lnet/minecraft/class_2656;field_12155:Inamed cooldownLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;cooldown:I
-
-
Constructor Details
-
CooldownUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lxm;<init>(Lcir;I)Vintermediary <init>Lnet/minecraft/class_2656;<init>(Lnet/minecraft/class_1792;I)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;<init>(Lnet/minecraft/item/Item;I)V
-
CooldownUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lxm;<init>(Lsh;)Vintermediary <init>Lnet/minecraft/class_2656;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuw;a(Lsh;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLxm;a(Lwo;)Vintermediary method_11455Lnet/minecraft/class_2656;method_11455(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getItem
- Mappings:
Namespace Name Mixin selector official aLxm;a()Lcir;intermediary method_11453Lnet/minecraft/class_2656;method_11453()Lnet/minecraft/class_1792;named getItemLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;getItem()Lnet/minecraft/item/Item;
-
getCooldown
public int getCooldown()- Mappings:
Namespace Name Mixin selector official dLxm;d()Iintermediary method_11454Lnet/minecraft/class_2656;method_11454()Inamed getCooldownLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;getCooldown()I
-