类 CooldownUpdateS2CPacket
- java.lang.Object
-
- net.minecraft.network.packet.s2c.play.CooldownUpdateS2CPacket
-
- 所有已实现的接口:
Packet<ClientPlayPacketListener>
public class CooldownUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qgintermediary net/minecraft/class_2656named net/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket
-
-
构造器概要
构造器 构造器 说明 CooldownUpdateS2CPacket(Item item, int cooldown)CooldownUpdateS2CPacket(PacketByteBuf buf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ClientPlayPacketListener clientPlayPacketListener)intgetCooldown()ItemgetItem()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
item
private final Item item
- Mappings:
Namespace Name Mixin selector official aLqg;a:Lbpn;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 bLqg;b:Iintermediary field_12155Lnet/minecraft/class_2656;field_12155:Inamed cooldownLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;cooldown:I
-
-
构造器详细资料
-
CooldownUpdateS2CPacket
public CooldownUpdateS2CPacket(Item item, int cooldown)
- Mappings:
Namespace Name Mixin selector official <init>Lqg;<init>(Lbpn;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
public CooldownUpdateS2CPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lqg;<init>(Lob;)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
-
-
方法详细资料
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
public void apply(ClientPlayPacketListener clientPlayPacketListener)
- 指定者:
apply在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLqg;a(Lpi;)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
public Item getItem()
- Mappings:
Namespace Name Mixin selector official bLqg;b()Lbpn;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 cLqg;c()Iintermediary method_11454Lnet/minecraft/class_2656;method_11454()Inamed getCooldownLnet/minecraft/network/packet/s2c/play/CooldownUpdateS2CPacket;getCooldown()I
-
-