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

    • x

      private final double x
      Mappings:
      Namespace Name Mixin selector
      official a Lsa;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 final double y
      Mappings:
      Namespace Name Mixin selector
      official b Lsa;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 final double z
      Mappings:
      Namespace Name Mixin selector
      official c Lsa;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 final float offsetX
      Mappings:
      Namespace Name Mixin selector
      official d Lsa;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 final float offsetY
      Mappings:
      Namespace Name Mixin selector
      official e Lsa;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 final float offsetZ
      Mappings:
      Namespace Name Mixin selector
      official f Lsa;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 final float speed
      Mappings:
      Namespace Name Mixin selector
      official g Lsa;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 final int count
      Mappings:
      Namespace Name Mixin selector
      official h Lsa;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 final boolean longDistance
      Mappings:
      Namespace Name Mixin selector
      official i Lsa;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 final ParticleEffect parameters
      Mappings:
      Namespace Name Mixin selector
      official j Lsa;j:Lhv;
      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(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> Lsa;<init>(Lhv;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
    • ParticleS2CPacket

      public ParticleS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsa;<init>(Lph;)V
      intermediary <init> Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • readParticleParameters

      private <T extends ParticleEffect> T readParticleParameters(PacketByteBuf buf, ParticleType<T> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lsa;a(Lph;Lhw;)Lhv;
      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)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lql;a(Lph;)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

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

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

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

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

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

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

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

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

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

      public ParticleEffect getParameters()
      Mappings:
      Namespace Name Mixin selector
      official k Lsa;k()Lhv;
      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 Lsa;a(Lqo;)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