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 us
intermediary net/minecraft/class_2604
named net/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket
  • Field Details

    • VELOCITY_SCALE

      private static final double VELOCITY_SCALE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lus;a:D
      intermediary field_33293 Lnet/minecraft/class_2604;field_33293:D
      named VELOCITY_SCALE Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;VELOCITY_SCALE:D
    • MAX_ABSOLUTE_VELOCITY

      private static final double MAX_ABSOLUTE_VELOCITY
      The maximum absolute value allowed for each scalar value (velocity x, y, z) in the velocity vector sent by this packet.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lus;b:D
      intermediary field_33294 Lnet/minecraft/class_2604;field_33294:D
      named MAX_ABSOLUTE_VELOCITY Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;MAX_ABSOLUTE_VELOCITY:D
    • id

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

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official d Lus;d: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;
    • entityType

      private final EntityType<?> entityType
      Mappings:
      Namespace Name Mixin selector
      official e Lus;e:Lbfn;
      intermediary field_11955 Lnet/minecraft/class_2604;field_11955:Lnet/minecraft/class_1299;
      named entityType Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;entityType:Lnet/minecraft/entity/EntityType;
    • x

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

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

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

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

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

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

      private final byte pitch
      Mappings:
      Namespace Name Mixin selector
      official l Lus;l:B
      intermediary field_11947 Lnet/minecraft/class_2604;field_11947:B
      named pitch Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;pitch:B
    • yaw

      private final byte yaw
      Mappings:
      Namespace Name Mixin selector
      official m Lus;m:B
      intermediary field_11957 Lnet/minecraft/class_2604;field_11957:B
      named yaw Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;yaw:B
    • headYaw

      private final byte headYaw
      Mappings:
      Namespace Name Mixin selector
      official n Lus;n:B
      intermediary field_38817 Lnet/minecraft/class_2604;field_38817:B
      named headYaw Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;headYaw:B
    • entityData

      private final int entityData
      Mappings:
      Namespace Name Mixin selector
      official o Lus;o: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(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lus;<init>(Lbfj;)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> Lus;<init>(Lbfj;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, int entityData, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lus;<init>(Lbfj;ILgu;)V
      intermediary <init> Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;ILnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;ILnet/minecraft/util/math/BlockPos;)V
    • EntitySpawnS2CPacket

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

      public EntitySpawnS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lus;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<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 Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Lus;a(Lur;)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

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

      public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lus;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;
    • getEntityType

      public EntityType<?> getEntityType()
      Mappings:
      Namespace Name Mixin selector
      official d Lus;d()Lbfn;
      intermediary method_11169 Lnet/minecraft/class_2604;method_11169()Lnet/minecraft/class_1299;
      named getEntityType Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityType()Lnet/minecraft/entity/EntityType;
    • getX

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

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

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

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

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

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

      public float getPitch()
      Mappings:
      Namespace Name Mixin selector
      official k Lus;k()F
      intermediary method_11171 Lnet/minecraft/class_2604;method_11171()F
      named getPitch Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getPitch()F
    • getYaw

      public float getYaw()
      Mappings:
      Namespace Name Mixin selector
      official l Lus;l()F
      intermediary method_11168 Lnet/minecraft/class_2604;method_11168()F
      named getYaw Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getYaw()F
    • getHeadYaw

      public float getHeadYaw()
      Mappings:
      Namespace Name Mixin selector
      official m Lus;m()F
      intermediary method_43233 Lnet/minecraft/class_2604;method_43233()F
      named getHeadYaw Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getHeadYaw()F
    • getEntityData

      public int getEntityData()
      Mappings:
      Namespace Name Mixin selector
      official n Lus;n()I
      intermediary method_11166 Lnet/minecraft/class_2604;method_11166()I
      named getEntityData Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityData()I