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 official pn
intermediary net/minecraft/class_2620
named net/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BlockBreakingProgressS2CPacket()
BlockBreakingProgressS2CPacket(int entityId, BlockPos pos, int progress)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getEntityId()
BlockPos
getPos()
int
getProgress()
void
read(PacketByteBuf buf)
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
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official a
Lpn;a:I
intermediary field_12033
Lnet/minecraft/class_2620;field_12033:I
named entityId
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;entityId:I
-
pos
- Mappings:
Namespace Name Mixin selector official b
Lpn;b:Lfx;
intermediary field_12034
Lnet/minecraft/class_2620;field_12034:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
progress
private int progress- Mappings:
Namespace Name Mixin selector official c
Lpn;c:I
intermediary field_12032
Lnet/minecraft/class_2620;field_12032:I
named progress
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;progress:I
-
-
Constructor Details
-
BlockBreakingProgressS2CPacket
public BlockBreakingProgressS2CPacket() -
BlockBreakingProgressS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpn;<init>(ILfx;I)V
intermediary <init>
Lnet/minecraft/class_2620;<init>(ILnet/minecraft/class_2338;I)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;<init>(ILnet/minecraft/util/math/BlockPos;I)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
Lpn;a(Lpd;)V
intermediary method_11279
Lnet/minecraft/class_2620;method_11279(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getEntityId
- Mappings:
Namespace Name Mixin selector official b
Lpn;b()I
intermediary method_11280
Lnet/minecraft/class_2620;method_11280()I
named getEntityId
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getEntityId()I
-
getPos
- Mappings:
Namespace Name Mixin selector official c
Lpn;c()Lfx;
intermediary method_11277
Lnet/minecraft/class_2620;method_11277()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getProgress
- Mappings:
Namespace Name Mixin selector official d
Lpn;d()I
intermediary method_11278
Lnet/minecraft/class_2620;method_11278()I
named getProgress
Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getProgress()I
-