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 ada
  • Field Details Link icon

    • CODEC Link icon

      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 Lada;a:Lyn;
    • x Link icon

      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 Lada;b:D
    • y Link icon

      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 Lada;c:D
    • z Link icon

      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 Lada;d:D
    • offsetX Link icon

      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 Lada;e:F
    • offsetY Link icon

      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 Lada;f:F
    • offsetZ Link icon

      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 Lada;g:F
    • speed Link icon

      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 Lada;h:F
    • count Link icon

      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 Lada;i:I
    • forceSpawn Link icon

      private final boolean forceSpawn
      Mappings:
      Namespace Name Mixin selector
      named forceSpawn Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;forceSpawn:Z
      intermediary field_12254 Lnet/minecraft/class_2675;field_12254:Z
      official j Lada;j:Z
    • important Link icon

      private final boolean important
      Mappings:
      Namespace Name Mixin selector
      named important Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;important:Z
      intermediary field_54980 Lnet/minecraft/class_2675;field_54980:Z
      official k Lada;k:Z
    • parameters Link icon

      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 l Lada;l:Llr;
  • Constructor Details Link icon

    • ParticleS2CPacket Link icon

      public ParticleS2CPacket(T parameters, boolean forceSpawn, boolean important, 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;ZZDDDFFFFI)V
      intermediary <init> Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2394;ZZDDDFFFFI)V
      official <init> Lada;<init>(Llr;ZZDDDFFFFI)V
    • ParticleS2CPacket Link icon

      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> Lada;<init>(Lwa;)V
  • Method Details Link icon

    • write Link icon

      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 Lada;a(Lwa;)V
    • getPacketType Link icon

      public PacketType<ParticleS2CPacket> getPacketType()
      Specified by:
      getPacketType in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketType Lnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;
      intermediary method_65080 Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;
      official a Lyw;a()Lyy;
    • apply Link icon

      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 Lada;a(Labl;)V
    • shouldForceSpawn Link icon

      public boolean shouldForceSpawn()
      Mappings:
      Namespace Name Mixin selector
      named shouldForceSpawn Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;shouldForceSpawn()Z
      intermediary method_11552 Lnet/minecraft/class_2675;method_11552()Z
      official b Lada;b()Z
    • isImportant Link icon

      public boolean isImportant()
      Mappings:
      Namespace Name Mixin selector
      named isImportant Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;isImportant()Z
      intermediary method_65082 Lnet/minecraft/class_2675;method_65082()Z
      official e Lada;e()Z
    • getX Link icon

      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 f Lada;f()D
    • getY Link icon

      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 g Lada;g()D
    • getZ Link icon

      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 h Lada;h()D
    • getOffsetX Link icon

      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 i Lada;i()F
    • getOffsetY Link icon

      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 j Lada;j()F
    • getOffsetZ Link icon

      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 k Lada;k()F
    • getSpeed Link icon

      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 l Lada;l()F
    • getCount Link icon

      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 m Lada;m()I
    • getParameters Link icon

      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 n Lada;n()Llr;