Class BlockBreakingProgressS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockBreakingProgressS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class BlockBreakingProgressS2CPacket
extends Object
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacketintermediary net/minecraft/class_2620official aca
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, BlockBreakingProgressS2CPacket> private final intprivate final BlockPosprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionBlockBreakingProgressS2CPacket(int entityId, BlockPos pos, int progress) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intgetPos()intprivate 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
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_47902Lnet/minecraft/class_2620;field_47902:Lnet/minecraft/class_9139;official aLaca;a:Lyx;
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector named entityIdLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;entityId:Iintermediary field_12033Lnet/minecraft/class_2620;field_12033:Iofficial bLaca;b:I
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_12034Lnet/minecraft/class_2620;field_12034:Lnet/minecraft/class_2338;official cLaca;c:Ljd;
-
progress
private final int progress- Mappings:
Namespace Name Mixin selector named progressLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;progress:Iintermediary field_12032Lnet/minecraft/class_2620;field_12032:Iofficial dLaca;d:I
-
-
Constructor Details
-
BlockBreakingProgressS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;<init>(ILnet/minecraft/util/math/BlockPos;I)Vintermediary <init>Lnet/minecraft/class_2620;<init>(ILnet/minecraft/class_2338;I)Vofficial <init>Laca;<init>(ILjd;I)V
-
BlockBreakingProgressS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_2620;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laca;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_55859Lnet/minecraft/class_2620;method_55859(Lnet/minecraft/class_2540;)Vofficial aLaca;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzg;a()Lzi;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)Vintermediary method_11279Lnet/minecraft/class_2620;method_11279(Lnet/minecraft/class_2602;)Vofficial aLaca;a(Labu;)V
-
getEntityId
public int getEntityId()- Mappings:
Namespace Name Mixin selector named getEntityIdLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getEntityId()Iintermediary method_11280Lnet/minecraft/class_2620;method_11280()Iofficial bLaca;b()I
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;intermediary method_11277Lnet/minecraft/class_2620;method_11277()Lnet/minecraft/class_2338;official eLaca;e()Ljd;
-
getProgress
public int getProgress()- Mappings:
Namespace Name Mixin selector named getProgressLnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getProgress()Iintermediary method_11278Lnet/minecraft/class_2620;method_11278()Iofficial fLaca;f()I
-