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

    • x

      private float x
      Mappings:
      Namespace Name Mixin selector
      official a Lki;a: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 b Lki;b: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 c Lki;c: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 d Lki;d: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 e Lki;e: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 f Lki;f: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 g Lki;g: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 h Lki;h: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 i Lki;i:Z
      intermediary field_11614 Lnet/minecraft/class_2023;field_11614:Z
      named longDistance Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;longDistance:Z
    • field_11613

      private ParticleEffect field_11613
      Mappings:
      Namespace Name Mixin selector
      official j Lki;j:Lfk;
      intermediary field_11613 Lnet/minecraft/class_2023;field_11613:Lnet/minecraft/class_4340;
      named field_11613 Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;field_11613:Lnet/minecraft/particle/ParticleEffect;
  • Constructor Details

    • ParticleS2CPacket

      public ParticleS2CPacket()
    • ParticleS2CPacket

      public ParticleS2CPacket(T t, boolean bool, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int2)
  • 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 Liv;a(Lhy;)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
    • method_20241

      private <T extends ParticleEffect> T method_20241(PacketByteBuf packetByteBuf, ParticleType<T> particleType)
      Mappings:
      Namespace Name Mixin selector
      official a Lki;a(Lhy;Lfl;)Lfk;
      intermediary method_20241 Lnet/minecraft/class_2023;method_20241(Lnet/minecraft/class_1967;Lnet/minecraft/class_2562;)Lnet/minecraft/class_4340;
      named method_20241 Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;method_20241(Lnet/minecraft/util/PacketByteBuf;Lnet/minecraft/client/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 Liv;b(Lhy;)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
    • isLongDistance

      @Environment(CLIENT) public boolean isLongDistance()
      Mappings:
      Namespace Name Mixin selector
      official b Lki;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 Lki;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 Lki;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 Lki;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 Lki;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 Lki;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 Lki;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 Lki;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 Lki;j()I
      intermediary method_7787 Lnet/minecraft/class_2023;method_7787()I
      named getCount Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()I
    • method_10663

      @Environment(CLIENT) public ParticleEffect method_10663()
      Mappings:
      Namespace Name Mixin selector
      official k Lki;k()Lfk;
      intermediary method_10663 Lnet/minecraft/class_2023;method_10663()Lnet/minecraft/class_4340;
      named method_10663 Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;method_10663()Lnet/minecraft/particle/ParticleEffect;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lki;a(Liy;)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