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
official qn
intermediary net/minecraft/class_2675
named net/minecraft/network/packet/s2c/play/ParticleS2CPacket
  • Field Details

    • x

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

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

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

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

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

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

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

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

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

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

    • ParticleS2CPacket

      public ParticleS2CPacket()
    • 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
      official <init> Lqn;<init>(Lhj;ZDDDFFFFI)V
      intermediary <init> Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2394;ZDDDFFFFI)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/particle/ParticleEffect;ZDDDFFFFI)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 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
    • readParticleParameters

      private <T extends ParticleEffect> T readParticleParameters​(PacketByteBuf buf, ParticleType<T> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lqn;a(Lnw;Lhk;)Lhj;
      intermediary method_11542 Lnet/minecraft/class_2675;method_11542(Lnet/minecraft/class_2540;Lnet/minecraft/class_2396;)Lnet/minecraft/class_2394;
      named readParticleParameters Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;readParticleParameters(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/particle/ParticleEffect;
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<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
    • isLongDistance

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

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

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

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

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

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

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

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

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

      @Environment(CLIENT) public ParticleEffect getParameters()
      Mappings:
      Namespace Name Mixin selector
      official k Lqn;k()Lhj;
      intermediary method_11551 Lnet/minecraft/class_2675;method_11551()Lnet/minecraft/class_2394;
      named getParameters Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/particle/ParticleEffect;
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqn;a(Lpd;)V
      intermediary method_11553 Lnet/minecraft/class_2675;method_11553(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V