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

    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lre;a:I
      intermediary field_12033 Lnet/minecraft/class_2620;field_12033:I
      named entityId Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;entityId:I
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lre;b:Lgh;
      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 final int progress
      Mappings:
      Namespace Name Mixin selector
      official c Lre;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(int entityId, BlockPos pos, int progress)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lre;<init>(ILgh;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
    • BlockBreakingProgressS2CPacket

      public BlockBreakingProgressS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lre;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2620;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a(Lpn;)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

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lre;a(Lqu;)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

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official b Lre;b()I
      intermediary method_11280 Lnet/minecraft/class_2620;method_11280()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getEntityId()I
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official c Lre;c()Lgh;
      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

      public int getProgress()
      Mappings:
      Namespace Name Mixin selector
      official d Lre;d()I
      intermediary method_11278 Lnet/minecraft/class_2620;method_11278()I
      named getProgress Lnet/minecraft/network/packet/s2c/play/BlockBreakingProgressS2CPacket;getProgress()I