Class ParticleS2CPacket

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

public class ParticleS2CPacket extends Object implements Packet
Mappings:
Namespace Name
official ju
intermediary net/minecraft/class_2023
named net/minecraft/network/packet/s2c/play/ParticleS2CPacket
  • Field Details

    • particleType

      private ParticleType particleType
      Mappings:
      Namespace Name Mixin selector
      official a Lju;a:Lew;
      intermediary field_11613 Lnet/minecraft/class_2023;field_11613:Lnet/minecraft/class_2562;
      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 Lju;b:F
      intermediary field_8658 Lnet/minecraft/class_2023;field_8658:F
      named x Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:F
    • y

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

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

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

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

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

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

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

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

      private int[] args
      Mappings:
      Namespace Name Mixin selector
      official k Lju;k:[I
      intermediary field_11615 Lnet/minecraft/class_2023;field_11615:[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> Lju;<init>(Lew;ZFFFFFFFI[I)V
      intermediary <init> Lnet/minecraft/class_2023;<init>(Lnet/minecraft/class_2562;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)
      Specified by:
      read in interface Packet
      Mappings:
      Namespace Name Mixin selector
      official a Lid;a(Lhd;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet
      Mappings:
      Namespace Name Mixin selector
      official b Lid;b(Lhd;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)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 Lju;a()Lew;
      intermediary method_10663 Lnet/minecraft/class_2023;method_10663()Lnet/minecraft/class_2562;
      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 Lju;b()Z
      intermediary method_10664 Lnet/minecraft/class_2023;method_10664()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 Lju;c()D
      intermediary method_7780 Lnet/minecraft/class_2023;method_7780()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 Lju;d()D
      intermediary method_7781 Lnet/minecraft/class_2023;method_7781()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 Lju;e()D
      intermediary method_7782 Lnet/minecraft/class_2023;method_7782()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 Lju;f()F
      intermediary method_7783 Lnet/minecraft/class_2023;method_7783()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 Lju;g()F
      intermediary method_7784 Lnet/minecraft/class_2023;method_7784()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 Lju;h()F
      intermediary method_7785 Lnet/minecraft/class_2023;method_7785()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 Lju;i()F
      intermediary method_7786 Lnet/minecraft/class_2023;method_7786()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 Lju;j()I
      intermediary method_7787 Lnet/minecraft/class_2023;method_7787()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 Lju;k()[I
      intermediary method_10665 Lnet/minecraft/class_2023;method_10665()[I
      named getArgs Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getArgs()[I
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Mappings:
      Namespace Name Mixin selector
      official a Lju;a(Lik;)V
      intermediary method_7778 Lnet/minecraft/class_2023;method_7778(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V