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 pg
intermediary net/minecraft/class_2610
named net/minecraft/network/packet/s2c/play/MobSpawnS2CPacket
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lpg;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 UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lpg;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 int entityTypeId
      Mappings:
      Namespace Name Mixin selector
      official c Lpg;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 double x
      Mappings:
      Namespace Name Mixin selector
      official d Lpg;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 double y
      Mappings:
      Namespace Name Mixin selector
      official e Lpg;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 double z
      Mappings:
      Namespace Name Mixin selector
      official f Lpg;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 int velocityX
      Mappings:
      Namespace Name Mixin selector
      official g Lpg;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 int velocityY
      Mappings:
      Namespace Name Mixin selector
      official h Lpg;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 int velocityZ
      Mappings:
      Namespace Name Mixin selector
      official i Lpg;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 byte yaw
      Mappings:
      Namespace Name Mixin selector
      official j Lpg;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 byte pitch
      Mappings:
      Namespace Name Mixin selector
      official k Lpg;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 byte headYaw
      Mappings:
      Namespace Name Mixin selector
      official l Lpg;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()
    • MobSpawnS2CPacket

      public MobSpawnS2CPacket​(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpg;<init>(Lari;)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
  • 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 Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/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 Lpa;b(Lnw;)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 Lpg;a(Lpd;)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

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

      @Environment(CLIENT) public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lpg;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

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

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

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

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

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

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

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

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

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

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