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

    • particleType

      private ParticleType particleType
      Mappings:
      Namespace Name Mixin selector
      official a Lgr;a:Lcy;
      intermediary field_6191 Lnet/minecraft/class_1500;field_6191:Lnet/minecraft/class_1394;
      named particleType Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;particleType:Lnet/minecraft/client/particle/ParticleType;
    • x

      private float x
      Mappings:
      Namespace Name Mixin selector
      official b Lgr;b:F
      intermediary field_6192 Lnet/minecraft/class_1500;field_6192:F
      named x Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:F
    • y

      private float y
      Mappings:
      Namespace Name Mixin selector
      official c Lgr;c:F
      intermediary field_6193 Lnet/minecraft/class_1500;field_6193:F
      named y Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;y:F
    • z

      private float z
      Mappings:
      Namespace Name Mixin selector
      official d Lgr;d:F
      intermediary field_6194 Lnet/minecraft/class_1500;field_6194:F
      named z Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;z:F
    • offsetX

      private float offsetX
      Mappings:
      Namespace Name Mixin selector
      official e Lgr;e:F
      intermediary field_6195 Lnet/minecraft/class_1500;field_6195:F
      named offsetX Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetX:F
    • offsetY

      private float offsetY
      Mappings:
      Namespace Name Mixin selector
      official f Lgr;f:F
      intermediary field_6196 Lnet/minecraft/class_1500;field_6196:F
      named offsetY Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetY:F
    • offsetZ

      private float offsetZ
      Mappings:
      Namespace Name Mixin selector
      official g Lgr;g:F
      intermediary field_6197 Lnet/minecraft/class_1500;field_6197:F
      named offsetZ Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetZ:F
    • speed

      private float speed
      Mappings:
      Namespace Name Mixin selector
      official h Lgr;h:F
      intermediary field_6198 Lnet/minecraft/class_1500;field_6198:F
      named speed Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;speed:F
    • count

      private int count
      Mappings:
      Namespace Name Mixin selector
      official i Lgr;i:I
      intermediary field_6199 Lnet/minecraft/class_1500;field_6199:I
      named count Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;count:I
    • longDistance

      private boolean longDistance
      Mappings:
      Namespace Name Mixin selector
      official j Lgr;j:Z
      intermediary field_6200 Lnet/minecraft/class_1500;field_6200:Z
      named longDistance Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;longDistance:Z
    • args

      private int[] args
      Mappings:
      Namespace Name Mixin selector
      official k Lgr;k:[I
      intermediary field_6201 Lnet/minecraft/class_1500;field_6201:[I
      named args Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;args:[I
  • Constructor Details

    • ParticleS2CPacket

      public ParticleS2CPacket()
    • ParticleS2CPacket

      public ParticleS2CPacket​(ParticleType particleType, boolean longDistance, float x, float y, float z, float offsetX, float offsetY, float offsetZ, float speed, int count, int[] args)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgr;<init>(Lcy;ZFFFFFFFI[I)V
      intermediary <init> Lnet/minecraft/class_1500;<init>(Lnet/minecraft/class_1394;ZFFFFFFFI[I)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/client/particle/ParticleType;ZFFFFFFFI[I)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 Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • getParameters

      @Environment(CLIENT) public ParticleType getParameters()
      Mappings:
      Namespace Name Mixin selector
      official a Lgr;a()Lcy;
      intermediary method_5491 Lnet/minecraft/class_1500;method_5491()Lnet/minecraft/class_1394;
      named getParameters Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/client/particle/ParticleType;
    • isLongDistance

      @Environment(CLIENT) public boolean isLongDistance()
      Mappings:
      Namespace Name Mixin selector
      official b Lgr;b()Z
      intermediary method_5493 Lnet/minecraft/class_1500;method_5493()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 Lgr;c()D
      intermediary method_5494 Lnet/minecraft/class_1500;method_5494()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 Lgr;d()D
      intermediary method_5495 Lnet/minecraft/class_1500;method_5495()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 Lgr;e()D
      intermediary method_5496 Lnet/minecraft/class_1500;method_5496()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 Lgr;f()F
      intermediary method_5497 Lnet/minecraft/class_1500;method_5497()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 Lgr;g()F
      intermediary method_5498 Lnet/minecraft/class_1500;method_5498()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 Lgr;h()F
      intermediary method_5499 Lnet/minecraft/class_1500;method_5499()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 Lgr;i()F
      intermediary method_5500 Lnet/minecraft/class_1500;method_5500()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 Lgr;j()I
      intermediary method_5501 Lnet/minecraft/class_1500;method_5501()I
      named getCount Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()I
    • getArgs

      @Environment(CLIENT) public int[] getArgs()
      Mappings:
      Namespace Name Mixin selector
      official k Lgr;k()[I
      intermediary method_5502 Lnet/minecraft/class_1500;method_5502()[I
      named getArgs Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getArgs()[I
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lgr;a(Lfj;)V
      intermediary method_5492 Lnet/minecraft/class_1500;method_5492(Lnet/minecraft/class_1462;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V