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 fs
intermediary net/minecraft/class_1471
named net/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket
  • Field Details

    • entityId

      private int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lfs;a:I
      intermediary field_6112 Lnet/minecraft/class_1471;field_6112:I
      named entityId Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;entityId:I
    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lfs;b:Lcj;
      intermediary field_6113 Lnet/minecraft/class_1471;field_6113:Lnet/minecraft/class_1372;
      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 Lfs;c:I
      intermediary field_6114 Lnet/minecraft/class_1471;field_6114:I
      named progress Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;progress:I
  • Constructor Details

    • BlockBreakingProgressS2CPacket

      public BlockBreakingProgressS2CPacket()
    • BlockBreakingProgressS2CPacket

      public BlockBreakingProgressS2CPacket​(int entityId, BlockPos pos, int progress)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfs;<init>(ILcj;I)V
      intermediary <init> Lnet/minecraft/class_1471;<init>(ILnet/minecraft/class_1372;I)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;<init>(ILnet/minecraft/util/math/BlockPos;I)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lfs;a(Lfj;)V
      intermediary method_5389 Lnet/minecraft/class_1471;method_5389(Lnet/minecraft/class_1462;)V
      named apply Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getEntityId

      @Environment(CLIENT) public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official a Lfs;a()I
      intermediary method_5388 Lnet/minecraft/class_1471;method_5388()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getEntityId()I
    • getPos

      @Environment(CLIENT) public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official b Lfs;b()Lcj;
      intermediary method_5390 Lnet/minecraft/class_1471;method_5390()Lnet/minecraft/class_1372;
      named getPos Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
    • getProgress

      @Environment(CLIENT) public int getProgress()
      Mappings:
      Namespace Name Mixin selector
      official c Lfs;c()I
      intermediary method_5391 Lnet/minecraft/class_1471;method_5391()I
      named getProgress Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getProgress()I