net.minecraft.network.protocol.game

public abstract class ServerboundMovePlayerPacket

implements Packet<ServerGamePacketListener>

ail
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
net.minecraft.class_2828
net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket
net.minecraft.src.C_5166_
net.minecraft.network.protocol.game.PacketPlayInFlying

Field summary

Modifier and TypeField
private static final int
j
FLAG_ON_GROUND
field_52336
CHANGE_POSITION_FLAG
f_347671_
private static final int
k
FLAG_HORIZONTAL_COLLISION
field_52337
CHANGE_LOOK_FLAG
f_347034_
protected final double
a
x
field_12889
x
f_134118_
protected final double
b
y
field_12886
y
f_134119_
protected final double
c
z
field_12884
z
f_134120_
protected final float
d
yRot
field_12887
yaw
f_134121_
protected final float
e
xRot
field_12885
pitch
f_134122_
protected final boolean
f
onGround
field_29179
onGround
f_134123_
protected final boolean
g
horizontalCollision
field_52335
horizontalCollision
f_346340_
protected final boolean
h
hasPos
field_12890
changePosition
f_134124_
protected final boolean
i
hasRot
field_12888
changeLook
f_134125_

Constructor summary

ModifierConstructor
protected (double x, double y, double z, float yaw, float pitch, boolean onGround, boolean horizontalCollision, boolean changePosition, boolean changeLook)

Method summary

Modifier and TypeMethod
static int
a(boolean arg0, boolean arg1)
packFlags(boolean arg0, boolean arg1)
method_61223(boolean arg0, boolean arg1)
toFlag(boolean changePosition, boolean changeLook)
m_353921_(boolean p_362343_, boolean p_368893_)
static boolean
a(int arg0)
unpackOnGround(int arg0)
method_61222(int arg0)
changePosition(int flag)
m_354840_(int p_362368_)
static boolean
b(int arg0)
unpackHorizontalCollision(int arg0)
method_61224(int arg0)
changeLook(int flag)
m_356488_(int p_366014_)
public abstract PacketType<? extends ServerboundMovePlayerPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12272(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public double
a(double arg0)
getX(double arg0)
method_12269(double arg0)
getX(double currentX)
m_134129_(double arg0)
public double
b(double arg0)
getY(double arg0)
method_12268(double arg0)
getY(double currentY)
m_134140_(double arg0)
public double
c(double arg0)
getZ(double arg0)
method_12274(double arg0)
getZ(double currentZ)
m_134146_(double arg0)
public float
a(float arg0)
getYRot(float arg0)
method_12271(float arg0)
getYaw(float currentYaw)
m_134131_(float arg0)
public float
b(float arg0)
getXRot(float arg0)
method_12270(float arg0)
getPitch(float currentPitch)
m_134142_(float arg0)
public boolean
b()
isOnGround()
method_12273()
isOnGround()
m_134139_()
public boolean
e()
horizontalCollision()
method_61225()
horizontalCollision()
m_356038_()
public boolean
f()
hasPosition()
method_36171()
changesPosition()
m_179683_()
public boolean
g()
hasRotation()
method_36172()
changesLook()
m_179684_()