Class ProjectilePowerS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.ProjectilePowerS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class ProjectilePowerS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket
intermediary net/minecraft/class_9632
official afd
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_51336 Lnet/minecraft/class_9632;field_51336:Lnet/minecraft/class_9139;
      official a Lafd;a:Lzt;
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;entityId:I
      intermediary field_51337 Lnet/minecraft/class_9632;field_51337:I
      official b Lafd;b:I
    • accelerationPower

      private final double accelerationPower
      Mappings:
      Namespace Name Mixin selector
      named accelerationPower Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;accelerationPower:D
      intermediary field_51849 Lnet/minecraft/class_9632;field_51849:D
      official c Lafd;c:D
  • Constructor Details

    • ProjectilePowerS2CPacket

      public ProjectilePowerS2CPacket(int entityId, double accelerationPower)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;<init>(ID)V
      intermediary <init> Lnet/minecraft/class_9632;<init>(ID)V
      official <init> Lafd;<init>(ID)V
    • ProjectilePowerS2CPacket

      private ProjectilePowerS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_9632;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lafd;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_59506 Lnet/minecraft/class_9632;method_59506(Lnet/minecraft/class_2540;)V
      official a Lafd;a(Lws;)V
    • getPacketId

      public PacketType<ProjectilePowerS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Laac;a()Laae;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_59505 Lnet/minecraft/class_9632;method_59505(Lnet/minecraft/class_2602;)V
      official a Lafd;a(Lacr;)V
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      named getEntityId Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;getEntityId()I
      intermediary method_59507 Lnet/minecraft/class_9632;method_59507()I
      official b Lafd;b()I
    • getAccelerationPower

      public double getAccelerationPower()
      Mappings:
      Namespace Name Mixin selector
      named getAccelerationPower Lnet/minecraft/network/packet/s2c/play/ProjectilePowerS2CPacket;getAccelerationPower()D
      intermediary method_60423 Lnet/minecraft/class_9632;method_60423()D
      official e Lafd;e()D