Class CPlayerPacket
- java.lang.Object
-
- net.minecraft.network.play.client.CPlayerPacket
-
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
- Direct Known Subclasses:
CPlayerPacket.PositionPacket,CPlayerPacket.PositionRotationPacket,CPlayerPacket.RotationPacket
public class CPlayerPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCPlayerPacket.PositionPacketstatic classCPlayerPacket.PositionRotationPacketstatic classCPlayerPacket.RotationPacket
-
Constructor Summary
Constructors Constructor Description CPlayerPacket()CPlayerPacket(boolean p_i46875_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetX(double p_186997_1_)floatgetXRot(float p_186998_1_)doublegetY(double p_186996_1_)floatgetYRot(float p_186999_1_)doublegetZ(double p_187000_1_)voidhandle(IServerPlayNetHandler p_148833_1_)booleanisOnGround()voidread(PacketBuffer p_148837_1_)voidwrite(PacketBuffer p_148840_1_)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
-
-
-
Method Detail
-
handle
public void handle(IServerPlayNetHandler p_148833_1_)
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
java.io.IOException
-
getX
public double getX(double p_186997_1_)
-
getY
public double getY(double p_186996_1_)
-
getZ
public double getZ(double p_187000_1_)
-
getYRot
public float getYRot(float p_186999_1_)
-
getXRot
public float getXRot(float p_186998_1_)
-
isOnGround
public boolean isOnGround()
-
-