net.minecraft.network.protocol.game

public abstract class ServerboundMovePlayerPacket

implements Packet<ServerGamePacketListener>

ahf
net.minecraft.network.protocol.game.ServerboundMovePlayerPacket
net.minecraft.class_2828
net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket
net.minecraft.network.protocol.game.PacketPlayInFlying

Field summary

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

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)
static boolean
a(int arg0)
unpackOnGround(int arg0)
method_61222(int arg0)
changePosition(int flag)
static boolean
b(int arg0)
unpackHorizontalCollision(int arg0)
method_61224(int arg0)
changeLook(int flag)
public abstract PacketType<? extends ServerboundMovePlayerPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12272(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public double
a(double arg0)
getX(double arg0)
method_12269(double arg0)
getX(double currentX)
public double
b(double arg0)
getY(double arg0)
method_12268(double arg0)
getY(double currentY)
public double
c(double arg0)
getZ(double arg0)
method_12274(double arg0)
getZ(double currentZ)
public float
a(float arg0)
getYRot(float arg0)
method_12271(float arg0)
getYaw(float currentYaw)
public float
b(float arg0)
getXRot(float arg0)
method_12270(float arg0)
getPitch(float currentPitch)
public boolean
b()
isOnGround()
method_12273()
isOnGround()
public boolean
e()
horizontalCollision()
method_61225()
horizontalCollision()
public boolean
f()
hasPosition()
method_36171()
changesPosition()
public boolean
g()
hasRotation()
method_36172()
changesLook()