Class EntitySpawnS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntitySpawnS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket
intermediary net/minecraft/class_2604
official acs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, EntitySpawnS2CPacket> private final int
private final int
private final EntityType
<?> private final byte
private static final double
The maximum absolute value allowed for each scalar value (velocity x, y, z) in the velocity vector sent by this packet.private final byte
private final UUID
private static final double
private final int
private final int
private final int
private final double
private final double
private final byte
private final double
-
Constructor Summary
ModifierConstructorDescriptionEntitySpawnS2CPacket
(int entityId, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityType, int entityData, Vec3d velocity, double headYaw) EntitySpawnS2CPacket
(Entity entity, int entityData, BlockPos pos) EntitySpawnS2CPacket
(Entity entity, EntityTrackerEntry entityTrackerEntry) EntitySpawnS2CPacket
(Entity entity, EntityTrackerEntry entityTrackerEntry, int entityData) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
int
EntityType
<?> float
float
getPitch()
getUuid()
double
double
double
double
getX()
double
getY()
float
getYaw()
double
getZ()
private void
write
(RegistryByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47896
Lnet/minecraft/class_2604;field_47896:Lnet/minecraft/class_9139;
official a
Lacs;a:Lzt;
-
VELOCITY_SCALE
private static final double VELOCITY_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named VELOCITY_SCALE
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;VELOCITY_SCALE:D
intermediary field_33293
Lnet/minecraft/class_2604;field_33293:D
official b
Lacs;b:D
-
MAX_ABSOLUTE_VELOCITY
private static final double MAX_ABSOLUTE_VELOCITYThe 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 named MAX_ABSOLUTE_VELOCITY
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;MAX_ABSOLUTE_VELOCITY:D
intermediary field_33294
Lnet/minecraft/class_2604;field_33294:D
official c
Lacs;c:D
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector named entityId
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;entityId:I
intermediary field_11953
Lnet/minecraft/class_2604;field_11953:I
official d
Lacs;d:I
-
uuid
- Mappings:
Namespace Name Mixin selector named uuid
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;uuid:Ljava/util/UUID;
intermediary field_11952
Lnet/minecraft/class_2604;field_11952:Ljava/util/UUID;
official e
Lacs;e:Ljava/util/UUID;
-
entityType
- Mappings:
Namespace Name Mixin selector named entityType
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;entityType:Lnet/minecraft/entity/EntityType;
intermediary field_11955
Lnet/minecraft/class_2604;field_11955:Lnet/minecraft/class_1299;
official f
Lacs;f:Lbvq;
-
x
private final double x- Mappings:
Namespace Name Mixin selector named x
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;x:D
intermediary field_11948
Lnet/minecraft/class_2604;field_11948:D
official g
Lacs;g:D
-
y
private final double y- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;y:D
intermediary field_11946
Lnet/minecraft/class_2604;field_11946:D
official h
Lacs;h:D
-
z
private final double z- Mappings:
Namespace Name Mixin selector named z
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;z:D
intermediary field_11956
Lnet/minecraft/class_2604;field_11956:D
official i
Lacs;i:D
-
velocityX
private final int velocityX- Mappings:
Namespace Name Mixin selector named velocityX
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;velocityX:I
intermediary field_11951
Lnet/minecraft/class_2604;field_11951:I
official j
Lacs;j:I
-
velocityY
private final int velocityY- Mappings:
Namespace Name Mixin selector named velocityY
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;velocityY:I
intermediary field_11950
Lnet/minecraft/class_2604;field_11950:I
official k
Lacs;k:I
-
velocityZ
private final int velocityZ- Mappings:
Namespace Name Mixin selector named velocityZ
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;velocityZ:I
intermediary field_11949
Lnet/minecraft/class_2604;field_11949:I
official l
Lacs;l:I
-
pitch
private final byte pitch- Mappings:
Namespace Name Mixin selector named pitch
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;pitch:B
intermediary field_11947
Lnet/minecraft/class_2604;field_11947:B
official m
Lacs;m:B
-
yaw
private final byte yaw- Mappings:
Namespace Name Mixin selector named yaw
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;yaw:B
intermediary field_11957
Lnet/minecraft/class_2604;field_11957:B
official n
Lacs;n:B
-
headYaw
private final byte headYaw- Mappings:
Namespace Name Mixin selector named headYaw
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;headYaw:B
intermediary field_38817
Lnet/minecraft/class_2604;field_38817:B
official o
Lacs;o:B
-
entityData
private final int entityData- Mappings:
Namespace Name Mixin selector named entityData
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;entityData:I
intermediary field_11954
Lnet/minecraft/class_2604;field_11954:I
official p
Lacs;p:I
-
-
Constructor Details
-
EntitySpawnS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/network/EntityTrackerEntry;)V
intermediary <init>
Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_3231;)V
official <init>
Lacs;<init>(Lbvj;Lasf;)V
-
EntitySpawnS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/network/EntityTrackerEntry;I)V
intermediary <init>
Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_3231;I)V
official <init>
Lacs;<init>(Lbvj;Lasf;I)V
-
EntitySpawnS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/entity/Entity;ILnet/minecraft/util/math/BlockPos;)V
intermediary <init>
Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_1297;ILnet/minecraft/class_2338;)V
official <init>
Lacs;<init>(Lbvj;ILjh;)V
-
EntitySpawnS2CPacket
public EntitySpawnS2CPacket(int entityId, 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 named <init>
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(ILjava/util/UUID;DDDFFLnet/minecraft/entity/EntityType;ILnet/minecraft/util/math/Vec3d;D)V
intermediary <init>
Lnet/minecraft/class_2604;<init>(ILjava/util/UUID;DDDFFLnet/minecraft/class_1299;ILnet/minecraft/class_243;D)V
official <init>
Lacs;<init>(ILjava/util/UUID;DDDFFLbvq;ILfbx;D)V
-
EntitySpawnS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2604;<init>(Lnet/minecraft/class_9129;)V
official <init>
Lacs;<init>(Lxg;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary method_55855
Lnet/minecraft/class_2604;method_55855(Lnet/minecraft/class_9129;)V
official a
Lacs;a(Lxg;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Laac;a()Laae;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11178
Lnet/minecraft/class_2604;method_11178(Lnet/minecraft/class_2602;)V
official a
Lacs;a(Lacr;)V
-
getEntityId
public int getEntityId()- Mappings:
Namespace Name Mixin selector named getEntityId
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityId()I
intermediary method_11167
Lnet/minecraft/class_2604;method_11167()I
official b
Lacs;b()I
-
getUuid
- Mappings:
Namespace Name Mixin selector named getUuid
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getUuid()Ljava/util/UUID;
intermediary method_11164
Lnet/minecraft/class_2604;method_11164()Ljava/util/UUID;
official e
Lacs;e()Ljava/util/UUID;
-
getEntityType
- Mappings:
Namespace Name Mixin selector named getEntityType
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityType()Lnet/minecraft/entity/EntityType;
intermediary method_11169
Lnet/minecraft/class_2604;method_11169()Lnet/minecraft/class_1299;
official f
Lacs;f()Lbvq;
-
getX
public double getX()- Mappings:
Namespace Name Mixin selector named getX
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getX()D
intermediary method_11175
Lnet/minecraft/class_2604;method_11175()D
official g
Lacs;g()D
-
getY
public double getY()- Mappings:
Namespace Name Mixin selector named getY
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getY()D
intermediary method_11174
Lnet/minecraft/class_2604;method_11174()D
official h
Lacs;h()D
-
getZ
public double getZ()- Mappings:
Namespace Name Mixin selector named getZ
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getZ()D
intermediary method_11176
Lnet/minecraft/class_2604;method_11176()D
official i
Lacs;i()D
-
getVelocityX
public double getVelocityX()- Mappings:
Namespace Name Mixin selector named getVelocityX
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getVelocityX()D
intermediary method_11170
Lnet/minecraft/class_2604;method_11170()D
official j
Lacs;j()D
-
getVelocityY
public double getVelocityY()- Mappings:
Namespace Name Mixin selector named getVelocityY
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getVelocityY()D
intermediary method_11172
Lnet/minecraft/class_2604;method_11172()D
official k
Lacs;k()D
-
getVelocityZ
public double getVelocityZ()- Mappings:
Namespace Name Mixin selector named getVelocityZ
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getVelocityZ()D
intermediary method_11173
Lnet/minecraft/class_2604;method_11173()D
official l
Lacs;l()D
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector named getPitch
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getPitch()F
intermediary method_11171
Lnet/minecraft/class_2604;method_11171()F
official m
Lacs;m()F
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector named getYaw
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getYaw()F
intermediary method_11168
Lnet/minecraft/class_2604;method_11168()F
official n
Lacs;n()F
-
getHeadYaw
public float getHeadYaw()- Mappings:
Namespace Name Mixin selector named getHeadYaw
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getHeadYaw()F
intermediary method_43233
Lnet/minecraft/class_2604;method_43233()F
official o
Lacs;o()F
-
getEntityData
public int getEntityData()- Mappings:
Namespace Name Mixin selector named getEntityData
Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;getEntityData()I
intermediary method_11166
Lnet/minecraft/class_2604;method_11166()I
official p
Lacs;p()I
-