Class EntitySpawnS2CPacket

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

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

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lpe;a:I
      intermediary field_11953 Lnet/minecraft/class_2604;field_11953:I
      named id Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;id:I
    • uuid

      private UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lpe;b:Ljava/util/UUID;
      intermediary field_11952 Lnet/minecraft/class_2604;field_11952:Ljava/util/UUID;
      named uuid Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;uuid:Ljava/util/UUID;
    • x

      private double x
      Mappings:
      Namespace Name Mixin selector
      official c Lpe;c:D
      intermediary field_11948 Lnet/minecraft/class_2604;field_11948:D
      named x Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;x:D
    • y

      private double y
      Mappings:
      Namespace Name Mixin selector
      official d Lpe;d:D
      intermediary field_11946 Lnet/minecraft/class_2604;field_11946:D
      named y Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;y:D
    • z

      private double z
      Mappings:
      Namespace Name Mixin selector
      official e Lpe;e:D
      intermediary field_11956 Lnet/minecraft/class_2604;field_11956:D
      named z Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;z:D
    • velocityX

      private int velocityX
      Mappings:
      Namespace Name Mixin selector
      official f Lpe;f:I
      intermediary field_11951 Lnet/minecraft/class_2604;field_11951:I
      named velocityX Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;velocityX:I
    • velocityY

      private int velocityY
      Mappings:
      Namespace Name Mixin selector
      official g Lpe;g:I
      intermediary field_11950 Lnet/minecraft/class_2604;field_11950:I
      named velocityY Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;velocityY:I
    • velocityZ

      private int velocityZ
      Mappings:
      Namespace Name Mixin selector
      official h Lpe;h:I
      intermediary field_11949 Lnet/minecraft/class_2604;field_11949:I
      named velocityZ Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;velocityZ:I
    • pitch

      private int pitch
      Mappings:
      Namespace Name Mixin selector
      official i Lpe;i:I
      intermediary field_11947 Lnet/minecraft/class_2604;field_11947:I
      named pitch Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;pitch:I
    • yaw

      private int yaw
      Mappings:
      Namespace Name Mixin selector
      official j Lpe;j:I
      intermediary field_11957 Lnet/minecraft/class_2604;field_11957:I
      named yaw Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;yaw:I
    • entityTypeId

      private EntityType<?> entityTypeId
      Mappings:
      Namespace Name Mixin selector
      official k Lpe;k:Laqz;
      intermediary field_11955 Lnet/minecraft/class_2604;field_11955:Lnet/minecraft/class_1299;
      named entityTypeId Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;entityTypeId:Lnet/minecraft/entity/EntityType;
    • entityData

      private int entityData
      Mappings:
      Namespace Name Mixin selector
      official l Lpe;l:I
      intermediary field_11954 Lnet/minecraft/class_2604;field_11954:I
      named entityData Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;entityData:I
  • Constructor Details

    • EntitySpawnS2CPacket

      public EntitySpawnS2CPacket()
    • EntitySpawnS2CPacket

      public EntitySpawnS2CPacket​(int id, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityTypeId, int entityData, Vec3d velocity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpe;<init>(ILjava/util/UUID;DDDFFLaqz;ILdiu;)V
      intermediary <init> Lnet/minecraft/class_2604;<init>(ILjava/util/UUID;DDDFFLnet/minecraft/class_1299;ILnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(ILjava/util/UUID;DDDFFLnet/minecraft/entity/EntityType;ILnet/minecraft/util/math/Vec3d;)V
    • EntitySpawnS2CPacket

      public EntitySpawnS2CPacket​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpe;<init>(Laqv;)V
      intermediary <init> Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;)V
    • EntitySpawnS2CPacket

      public EntitySpawnS2CPacket​(Entity entity, int entityData)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpe;<init>(Laqv;I)V
      intermediary <init> Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;I)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;I)V
    • EntitySpawnS2CPacket

      public EntitySpawnS2CPacket​(Entity entity, EntityType<?> entityType, int data, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpe;<init>(Laqv;Laqz;ILfx;)V
      intermediary <init> Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_1299;ILnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityType;ILnet/minecraft/util/math/BlockPos;)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 Lpe;a(Lpd;)V
      intermediary method_11178 Lnet/minecraft/class_2604;method_11178(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      @Environment(CLIENT) public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lpe;b()I
      intermediary method_11167 Lnet/minecraft/class_2604;method_11167()I
      named getId Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getId()I
    • getUuid

      @Environment(CLIENT) public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lpe;c()Ljava/util/UUID;
      intermediary method_11164 Lnet/minecraft/class_2604;method_11164()Ljava/util/UUID;
      named getUuid Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getUuid()Ljava/util/UUID;
    • getX

      @Environment(CLIENT) public double getX()
      Mappings:
      Namespace Name Mixin selector
      official d Lpe;d()D
      intermediary method_11175 Lnet/minecraft/class_2604;method_11175()D
      named getX Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getX()D
    • getY

      @Environment(CLIENT) public double getY()
      Mappings:
      Namespace Name Mixin selector
      official e Lpe;e()D
      intermediary method_11174 Lnet/minecraft/class_2604;method_11174()D
      named getY Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getY()D
    • getZ

      @Environment(CLIENT) public double getZ()
      Mappings:
      Namespace Name Mixin selector
      official f Lpe;f()D
      intermediary method_11176 Lnet/minecraft/class_2604;method_11176()D
      named getZ Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getZ()D
    • getVelocityX

      @Environment(CLIENT) public double getVelocityX()
      Mappings:
      Namespace Name Mixin selector
      official g Lpe;g()D
      intermediary method_11170 Lnet/minecraft/class_2604;method_11170()D
      named getVelocityX Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getVelocityX()D
    • getVelocityY

      @Environment(CLIENT) public double getVelocityY()
      Mappings:
      Namespace Name Mixin selector
      official h Lpe;h()D
      intermediary method_11172 Lnet/minecraft/class_2604;method_11172()D
      named getVelocityY Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getVelocityY()D
    • getVelocityZ

      @Environment(CLIENT) public double getVelocityZ()
      Mappings:
      Namespace Name Mixin selector
      official i Lpe;i()D
      intermediary method_11173 Lnet/minecraft/class_2604;method_11173()D
      named getVelocityZ Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getVelocityZ()D
    • getPitch

      @Environment(CLIENT) public int getPitch()
      Mappings:
      Namespace Name Mixin selector
      official j Lpe;j()I
      intermediary method_11171 Lnet/minecraft/class_2604;method_11171()I
      named getPitch Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getPitch()I
    • getYaw

      @Environment(CLIENT) public int getYaw()
      Mappings:
      Namespace Name Mixin selector
      official k Lpe;k()I
      intermediary method_11168 Lnet/minecraft/class_2604;method_11168()I
      named getYaw Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getYaw()I
    • getEntityTypeId

      @Environment(CLIENT) public EntityType<?> getEntityTypeId()
      Mappings:
      Namespace Name Mixin selector
      official l Lpe;l()Laqz;
      intermediary method_11169 Lnet/minecraft/class_2604;method_11169()Lnet/minecraft/class_1299;
      named getEntityTypeId Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityTypeId()Lnet/minecraft/entity/EntityType;
    • getEntityData

      @Environment(CLIENT) public int getEntityData()
      Mappings:
      Namespace Name Mixin selector
      official m Lpe;m()I
      intermediary method_11166 Lnet/minecraft/class_2604;method_11166()I
      named getEntityData Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityData()I