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 class
CPlayerPacket.PositionPacket
static class
CPlayerPacket.PositionRotationPacket
static class
CPlayerPacket.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 double
getX(double p_186997_1_)
float
getXRot(float p_186998_1_)
double
getY(double p_186996_1_)
float
getYRot(float p_186999_1_)
double
getZ(double p_187000_1_)
void
handle(IServerPlayNetHandler p_148833_1_)
boolean
isOnGround()
void
read(PacketBuffer p_148837_1_)
void
write(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:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in 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()
-
-