net.minecraft.network.packet.s2c.play

public abstract class EntityS2CPacket

implements AbstractEntityPositionS2CPacket<ClientPlayPacketListener>

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

Field summary

Modifier and TypeField
private static final int
ON_GROUND_FLAG
field_1_8740
ON_GROUND
private static final int
STEP_COUNT_OFFSET
field_1_8741
MOTION_STEPS_SHIFT
protected final int
entityId
field_12310
id
protected final VecDelta
delta
field_1_8742
delta
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, VecDelta delta, byte yaw, byte pitch, boolean onGround, boolean rotate, boolean positionChanged)

Method summary

Modifier and TypeMethod
protected static boolean
unpackOnGround(int properties)
method_1_8180(int arg0)
isOnGround(int packed)
protected static int
unpackStepCount(int properties)
method_1_8181(int arg0)
getMotionSteps(int packed)
protected static int
packProperties(boolean onGround, int stepCount)
method_1_8179(boolean arg0, int arg1)
pack(boolean onGround, int steps)
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 VecDelta
getPositionDelta()
method_1_8178()
getDelta()
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)