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 ack
-
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 aLack;a:Lze;
-
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 bLack;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 cLack;c:Liw;
-
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 dLack;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>Lack;<init>(ILiw;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>Lack;<init>(Lvy;)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 aLack;a(Lvy;)V
-
getPacketType
- Specified by:
getPacketTypein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketTypeLnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;intermediary method_65080Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;official aLzo;a()Lzq;
-
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 aLack;a(Lacf;)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 bLack;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 eLack;e()Liw;
-
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 fLack;f()I
-