Class CooldownUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CooldownUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ua
intermediary net/minecraft/class_2656
named net/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
getItem()
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
Lua;a:Lcat;
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 final int cooldown- Mappings:
Namespace Name Mixin selector official b
Lua;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
- Mappings:
Namespace Name Mixin selector official <init>
Lua;<init>(Lcat;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
-
CooldownUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lua;<init>(Lqx;)V
intermediary <init>
Lnet/minecraft/class_2656;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ltc;a(Lqx;)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
Lua;a(Ltf;)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
Lua;b()Lcat;
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
public int getCooldown()- Mappings:
Namespace Name Mixin selector official c
Lua;c()I
intermediary method_11454
Lnet/minecraft/class_2656;method_11454()I
named getCooldown
Lnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;getCooldown()I
-