net.minecraft.network.packet.s2c.play

public abstract class EntityS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundMoveEntityPacket
net.minecraft.class_2684
net.minecraft.network.packet.s2c.play.EntityS2CPacket

Field summary

Modifier and TypeField
protected final int
entityId
field_12310
id
protected final short
xa
field_12309
deltaX
protected final short
ya
field_12308
deltaY
protected final short
za
field_12307
deltaZ
protected final byte
yRot
field_12312
yaw
protected final byte
xRot
field_12311
pitch
protected final boolean
onGround
field_12306
onGround
protected final boolean
hasRot
field_12305
rotate
protected final boolean
hasPos
field_20849
positionChanged

Constructor summary

ModifierConstructor
protected (int entityId, short deltaX, short deltaY, short deltaZ, byte yaw, byte pitch, boolean onGround, boolean rotate, boolean positionChanged)

Method summary

Modifier and TypeMethod
public abstract PacketType<? extends EntityS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11651(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Entity
getEntity(Level level)
method_11645(class_1937 arg0)
getEntity(World world)
public short
getXa()
method_36150()
getDeltaX()
public short
getYa()
method_36151()
getDeltaY()
public short
getZa()
method_36152()
getDeltaZ()
public float
getYRot()
method_11649()
getYaw()
public float
getXRot()
method_11650()
getPitch()
public boolean
hasRotation()
method_11652()
hasRotation()
public boolean
hasPosition()
method_22826()
isPositionChanged()
public boolean
isOnGround()
method_11653()
isOnGround()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)