net.minecraft.network.protocol.game

public class ClientboundAddEntityPacket

implements Packet<ClientGamePacketListener>

wx
net.minecraft.network.protocol.game.ClientboundAddEntityPacket
net.minecraft.class_2604
net.minecraft.network.packet.s2c.play.EntitySpawnS2CPacket
net.minecraft.src.C_5032_
net.minecraft.network.protocol.game.PacketPlayOutSpawnEntity

Field summary

Modifier and TypeField
private static final double
a
MAGICAL_QUANTIZATION
field_33293
VELOCITY_SCALE
f_178559_
private static final double
b
LIMIT
field_33294
MAX_ABSOLUTE_VELOCITY
f_178560_
private final int
c
id
field_11953
id
f_131456_
private final UUID
d
uuid
field_11952
uuid
f_131457_
private final EntityType<?>
e
type
field_11955
entityType
f_131466_
private final double
f
x
field_11948
x
f_131458_
private final double
g
y
field_11946
y
f_131459_
private final double
h
z
field_11956
z
f_131460_
private final int
i
xa
field_11951
velocityX
f_131461_
private final int
j
ya
field_11950
velocityY
f_131462_
private final int
k
za
field_11949
velocityZ
f_131463_
private final byte
l
xRot
field_11947
pitch
f_131464_
private final byte
m
yRot
field_11957
yaw
f_131465_
private final byte
n
yHeadRot
field_38817
headYaw
f_237544_
private final int
o
data
field_11954
entityData
f_131467_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11178(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
a()
getId()
method_11167()
getId()
m_131496_()
public UUID
d()
getUUID()
method_11164()
getUuid()
m_131499_()
public EntityType<?>
e()
getType()
method_11169()
getEntityType()
m_131508_()
public double
f()
getX()
method_11175()
getX()
m_131500_()
public double
g()
getY()
method_11174()
getY()
m_131501_()
public double
h()
getZ()
method_11176()
getZ()
m_131502_()
public double
i()
getXa()
method_11170()
getVelocityX()
m_131503_()
public double
j()
getYa()
method_11172()
getVelocityY()
m_131504_()
public double
k()
getZa()
method_11173()
getVelocityZ()
m_131505_()
public float
l()
getXRot()
method_11171()
getPitch()
m_237566_()
public float
m()
getYRot()
method_11168()
getYaw()
m_237567_()
public float
n()
getYHeadRot()
method_43233()
getHeadYaw()
m_237568_()
public int
o()
getData()
method_11166()
getEntityData()
m_131509_()