Class ParticleS2CPacket

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

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

    • CODEC

      public static final PacketCodec<RegistryByteBuf,ParticleS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47935 Lnet/minecraft/class_2675;field_47935:Lnet/minecraft/class_9139;
      official a Ladw;a:Lzn;
    • x

      private final double x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:D
      intermediary field_12258 Lnet/minecraft/class_2675;field_12258:D
      official b Ladw;b:D
    • y

      private final double y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;y:D
      intermediary field_12257 Lnet/minecraft/class_2675;field_12257:D
      official c Ladw;c:D
    • z

      private final double z
      Mappings:
      Namespace Name Mixin selector
      named z Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;z:D
      intermediary field_12256 Lnet/minecraft/class_2675;field_12256:D
      official d Ladw;d:D
    • offsetX

      private final float offsetX
      Mappings:
      Namespace Name Mixin selector
      named offsetX Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetX:F
      intermediary field_12255 Lnet/minecraft/class_2675;field_12255:F
      official e Ladw;e:F
    • offsetY

      private final float offsetY
      Mappings:
      Namespace Name Mixin selector
      named offsetY Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetY:F
      intermediary field_12252 Lnet/minecraft/class_2675;field_12252:F
      official f Ladw;f:F
    • offsetZ

      private final float offsetZ
      Mappings:
      Namespace Name Mixin selector
      named offsetZ Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetZ:F
      intermediary field_12251 Lnet/minecraft/class_2675;field_12251:F
      official g Ladw;g:F
    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;speed:F
      intermediary field_12260 Lnet/minecraft/class_2675;field_12260:F
      official h Ladw;h:F
    • count

      private final int count
      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;count:I
      intermediary field_12253 Lnet/minecraft/class_2675;field_12253:I
      official i Ladw;i:I
    • longDistance

      private final boolean longDistance
      Mappings:
      Namespace Name Mixin selector
      named longDistance Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;longDistance:Z
      intermediary field_12254 Lnet/minecraft/class_2675;field_12254:Z
      official j Ladw;j:Z
    • parameters

      private final ParticleEffect parameters
      Mappings:
      Namespace Name Mixin selector
      named parameters Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;parameters:Lnet/minecraft/particle/ParticleEffect;
      intermediary field_12259 Lnet/minecraft/class_2675;field_12259:Lnet/minecraft/class_2394;
      official k Ladw;k:Llg;
  • Constructor Details

    • ParticleS2CPacket

      public ParticleS2CPacket(T parameters, boolean longDistance, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float speed, int count)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/particle/ParticleEffect;ZDDDFFFFI)V
      intermediary <init> Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2394;ZDDDFFFFI)V
      official <init> Ladw;<init>(Llg;ZDDDFFFFI)V
    • ParticleS2CPacket

      private ParticleS2CPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_9129;)V
      official <init> Ladw;<init>(Lxa;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_55885 Lnet/minecraft/class_2675;method_55885(Lnet/minecraft/class_9129;)V
      official a Ladw;a(Lxa;)V
    • getPacketId

      public PacketType<ParticleS2CPacket> 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 Lzw;a()Lzy;
    • 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/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11553 Lnet/minecraft/class_2675;method_11553(Lnet/minecraft/class_2602;)V
      official a Ladw;a(Laci;)V
    • isLongDistance

      public boolean isLongDistance()
      Mappings:
      Namespace Name Mixin selector
      named isLongDistance Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;isLongDistance()Z
      intermediary method_11552 Lnet/minecraft/class_2675;method_11552()Z
      official b Ladw;b()Z
    • getX

      public double getX()
      Mappings:
      Namespace Name Mixin selector
      named getX Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getX()D
      intermediary method_11544 Lnet/minecraft/class_2675;method_11544()D
      official e Ladw;e()D
    • getY

      public double getY()
      Mappings:
      Namespace Name Mixin selector
      named getY Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getY()D
      intermediary method_11547 Lnet/minecraft/class_2675;method_11547()D
      official f Ladw;f()D
    • getZ

      public double getZ()
      Mappings:
      Namespace Name Mixin selector
      named getZ Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getZ()D
      intermediary method_11546 Lnet/minecraft/class_2675;method_11546()D
      official g Ladw;g()D
    • getOffsetX

      public float getOffsetX()
      Mappings:
      Namespace Name Mixin selector
      named getOffsetX Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetX()F
      intermediary method_11548 Lnet/minecraft/class_2675;method_11548()F
      official h Ladw;h()F
    • getOffsetY

      public float getOffsetY()
      Mappings:
      Namespace Name Mixin selector
      named getOffsetY Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetY()F
      intermediary method_11549 Lnet/minecraft/class_2675;method_11549()F
      official i Ladw;i()F
    • getOffsetZ

      public float getOffsetZ()
      Mappings:
      Namespace Name Mixin selector
      named getOffsetZ Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetZ()F
      intermediary method_11550 Lnet/minecraft/class_2675;method_11550()F
      official j Ladw;j()F
    • getSpeed

      public float getSpeed()
      Mappings:
      Namespace Name Mixin selector
      named getSpeed Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getSpeed()F
      intermediary method_11543 Lnet/minecraft/class_2675;method_11543()F
      official k Ladw;k()F
    • getCount

      public int getCount()
      Mappings:
      Namespace Name Mixin selector
      named getCount Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()I
      intermediary method_11545 Lnet/minecraft/class_2675;method_11545()I
      official l Ladw;l()I
    • getParameters

      public ParticleEffect getParameters()
      Mappings:
      Namespace Name Mixin selector
      named getParameters Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/particle/ParticleEffect;
      intermediary method_11551 Lnet/minecraft/class_2675;method_11551()Lnet/minecraft/class_2394;
      official m Ladw;m()Llg;