net.minecraft.network.protocol.game

public class ClientboundAddEntityPacket

implements Packet<ClientGamePacketListener>

on
net.minecraft.network.protocol.game.ClientboundAddEntityPacket
net.minecraft.class_2604
net.minecraft.network.packet.s2c.play.EntitySpawnS2CPacket
net.minecraft.network.play.server.SSpawnObjectPacket
net.minecraft.server.v1_16_R2.PacketPlayOutSpawnEntity

Field summary

Modifier and TypeField
private int
a
id
field_11953
id
field_149018_a
private UUID
b
uuid
field_11952
uuid
field_186883_b
private double
c
x
field_11948
x
field_149016_b
private double
d
y
field_11946
y
field_149017_c
private double
e
z
field_11956
z
field_149014_d
private int
f
xa
field_11951
velocityX
field_149015_e
private int
g
ya
field_11950
velocityY
field_149012_f
private int
h
za
field_11949
velocityZ
field_149013_g
private int
i
xRot
field_11947
pitch
field_149021_h
private int
j
yRot
field_11957
yaw
field_149022_i
private EntityType<?>
k
type
field_11955
entityTypeId
field_149019_j
private int
l
data
field_11954
entityData
field_149020_k

Constructor summary

ModifierConstructor
public ()
public (int id, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityTypeId, int entityData, Vec3 velocity)
public (Entity entity)
public (Entity entity, int entityData)
public (Entity entity, EntityType<?> entityType, int data, BlockPos pos)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(om arg0)
handle(ClientGamePacketListener arg0)
method_11178(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public int
b()
getId()
method_11167()
getId()
func_149001_c()
public UUID
c()
getUUID()
method_11164()
getUuid()
func_186879_b()
public double
d()
getX()
method_11175()
getX()
func_186880_c()
public double
e()
getY()
method_11174()
getY()
func_186882_d()
public double
f()
getZ()
method_11176()
getZ()
func_186881_e()
public double
g()
getXa()
method_11170()
getVelocityX()
func_218693_g()
public double
h()
getYa()
method_11172()
getVelocityY()
func_218695_h()
public double
i()
getZa()
method_11173()
getVelocityZ()
func_218692_i()
public int
j()
getxRot()
method_11171()
getPitch()
func_149008_j()
public int
k()
getyRot()
method_11168()
getYaw()
func_149006_k()
public EntityType<?>
l()
getType()
method_11169()
getEntityTypeId()
func_218694_l()
public int
m()
getData()
method_11166()
getEntityData()
func_149009_m()