net.minecraft.network.protocol.game

public class ClientboundAddEntityPacket

implements Packet<ClientGamePacketListener>

qv
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
public static final double
a
MAGICAL_QUANTIZATION
field_33293
VELOCITY_SCALE
f_178559_
private final int
c
id
field_11953
id
f_131456_
private final UUID
d
uuid
field_11952
uuid
f_131457_
private final double
e
x
field_11948
x
f_131458_
private final double
f
y
field_11946
y
f_131459_
private final double
g
z
field_11956
z
f_131460_
private final int
h
xa
field_11951
velocityX
f_131461_
private final int
i
ya
field_11950
velocityY
f_131462_
private final int
j
za
field_11949
velocityZ
f_131463_
private final int
k
xRot
field_11947
pitch
f_131464_
private final int
l
yRot
field_11957
yaw
f_131465_
private final EntityType<?>
m
type
field_11955
entityTypeId
f_131466_
private final int
n
data
field_11954
entityData
f_131467_
public static final double
b
LIMIT
field_33294
MAX_ABSOLUTE_VELOCITY
f_178560_

Constructor summary

ModifierConstructor
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)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(pn arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(qu arg0)
handle(ClientGamePacketListener arg0)
method_11178(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getId()
method_11167()
getId()
m_131496_()
public UUID
c()
getUUID()
method_11164()
getUuid()
m_131499_()
public double
d()
getX()
method_11175()
getX()
m_131500_()
public double
e()
getY()
method_11174()
getY()
m_131501_()
public double
f()
getZ()
method_11176()
getZ()
m_131502_()
public double
g()
getXa()
method_11170()
getVelocityX()
m_131503_()
public double
h()
getYa()
method_11172()
getVelocityY()
m_131504_()
public double
i()
getZa()
method_11173()
getVelocityZ()
m_131505_()
public int
j()
getxRot()
method_11171()
getPitch()
m_131506_()
public int
k()
getyRot()
method_11168()
getYaw()
m_131507_()
public EntityType<?>
l()
getType()
method_11169()
getEntityTypeId()
m_131508_()
public int
m()
getData()
method_11166()
getEntityData()
m_131509_()