Class MobSpawnS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.MobSpawnS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class MobSpawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official qx
intermediary net/minecraft/class_2610
named net/minecraft/network/packet/s2c/play/MobSpawnS2CPacket
  • Field Details

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official a Lqx;a:I
      intermediary field_11996 Lnet/minecraft/class_2610;field_11996:I
      named id Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;id:I
    • uuid

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lqx;b:Ljava/util/UUID;
      intermediary field_11997 Lnet/minecraft/class_2610;field_11997:Ljava/util/UUID;
      named uuid Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;uuid:Ljava/util/UUID;
    • entityTypeId

      private final int entityTypeId
      Mappings:
      Namespace Name Mixin selector
      official c Lqx;c:I
      intermediary field_11995 Lnet/minecraft/class_2610;field_11995:I
      named entityTypeId Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;entityTypeId:I
    • x

      private final double x
      Mappings:
      Namespace Name Mixin selector
      official d Lqx;d:D
      intermediary field_11990 Lnet/minecraft/class_2610;field_11990:D
      named x Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;x:D
    • y

      private final double y
      Mappings:
      Namespace Name Mixin selector
      official e Lqx;e:D
      intermediary field_12003 Lnet/minecraft/class_2610;field_12003:D
      named y Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;y:D
    • z

      private final double z
      Mappings:
      Namespace Name Mixin selector
      official f Lqx;f:D
      intermediary field_12002 Lnet/minecraft/class_2610;field_12002:D
      named z Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;z:D
    • velocityX

      private final int velocityX
      Mappings:
      Namespace Name Mixin selector
      official g Lqx;g:I
      intermediary field_11993 Lnet/minecraft/class_2610;field_11993:I
      named velocityX Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;velocityX:I
    • velocityY

      private final int velocityY
      Mappings:
      Namespace Name Mixin selector
      official h Lqx;h:I
      intermediary field_11992 Lnet/minecraft/class_2610;field_11992:I
      named velocityY Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;velocityY:I
    • velocityZ

      private final int velocityZ
      Mappings:
      Namespace Name Mixin selector
      official i Lqx;i:I
      intermediary field_11991 Lnet/minecraft/class_2610;field_11991:I
      named velocityZ Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;velocityZ:I
    • yaw

      private final byte yaw
      Mappings:
      Namespace Name Mixin selector
      official j Lqx;j:B
      intermediary field_12000 Lnet/minecraft/class_2610;field_12000:B
      named yaw Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;yaw:B
    • pitch

      private final byte pitch
      Mappings:
      Namespace Name Mixin selector
      official k Lqx;k:B
      intermediary field_11999 Lnet/minecraft/class_2610;field_11999:B
      named pitch Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;pitch:B
    • headYaw

      private final byte headYaw
      Mappings:
      Namespace Name Mixin selector
      official l Lqx;l:B
      intermediary field_11998 Lnet/minecraft/class_2610;field_11998:B
      named headYaw Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;headYaw:B
  • Constructor Details

    • MobSpawnS2CPacket

      public MobSpawnS2CPacket(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqx;<init>(Laxh;)V
      intermediary <init> Lnet/minecraft/class_2610;<init>(Lnet/minecraft/class_1309;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;<init>(Lnet/minecraft/entity/LivingEntity;)V
    • MobSpawnS2CPacket

      public MobSpawnS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqx;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2610;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a(Lpn;)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
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqx;a(Lqu;)V
      intermediary method_11217 Lnet/minecraft/class_2610;method_11217(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lqx;b()I
      intermediary method_11207 Lnet/minecraft/class_2610;method_11207()I
      named getId Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getId()I
    • getUuid

      public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lqx;c()Ljava/util/UUID;
      intermediary method_11213 Lnet/minecraft/class_2610;method_11213()Ljava/util/UUID;
      named getUuid Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getUuid()Ljava/util/UUID;
    • getEntityTypeId

      public int getEntityTypeId()
      Mappings:
      Namespace Name Mixin selector
      official d Lqx;d()I
      intermediary method_11210 Lnet/minecraft/class_2610;method_11210()I
      named getEntityTypeId Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getEntityTypeId()I
    • getX

      public double getX()
      Mappings:
      Namespace Name Mixin selector
      official e Lqx;e()D
      intermediary method_11214 Lnet/minecraft/class_2610;method_11214()D
      named getX Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getX()D
    • getY

      public double getY()
      Mappings:
      Namespace Name Mixin selector
      official f Lqx;f()D
      intermediary method_11215 Lnet/minecraft/class_2610;method_11215()D
      named getY Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getY()D
    • getZ

      public double getZ()
      Mappings:
      Namespace Name Mixin selector
      official g Lqx;g()D
      intermediary method_11216 Lnet/minecraft/class_2610;method_11216()D
      named getZ Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getZ()D
    • getVelocityX

      public int getVelocityX()
      Mappings:
      Namespace Name Mixin selector
      official h Lqx;h()I
      intermediary method_11212 Lnet/minecraft/class_2610;method_11212()I
      named getVelocityX Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getVelocityX()I
    • getVelocityY

      public int getVelocityY()
      Mappings:
      Namespace Name Mixin selector
      official i Lqx;i()I
      intermediary method_11211 Lnet/minecraft/class_2610;method_11211()I
      named getVelocityY Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getVelocityY()I
    • getVelocityZ

      public int getVelocityZ()
      Mappings:
      Namespace Name Mixin selector
      official j Lqx;j()I
      intermediary method_11209 Lnet/minecraft/class_2610;method_11209()I
      named getVelocityZ Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getVelocityZ()I
    • getYaw

      public byte getYaw()
      Mappings:
      Namespace Name Mixin selector
      official k Lqx;k()B
      intermediary method_11205 Lnet/minecraft/class_2610;method_11205()B
      named getYaw Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getYaw()B
    • getPitch

      public byte getPitch()
      Mappings:
      Namespace Name Mixin selector
      official l Lqx;l()B
      intermediary method_11206 Lnet/minecraft/class_2610;method_11206()B
      named getPitch Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getPitch()B
    • getHeadYaw

      public byte getHeadYaw()
      Mappings:
      Namespace Name Mixin selector
      official m Lqx;m()B
      intermediary method_11204 Lnet/minecraft/class_2610;method_11204()B
      named getHeadYaw Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getHeadYaw()B