public static class C03PacketPlayer.C05PacketPlayerLook extends C03PacketPlayer
C03PacketPlayer.C04PacketPlayerPosition, C03PacketPlayer.C05PacketPlayerLook, C03PacketPlayer.C06PacketPlayerPosLook
Constructor and Description |
---|
C05PacketPlayerLook() |
C05PacketPlayerLook(float playerYaw,
float playerPitch,
boolean isOnGround) |
Modifier and Type | Method and Description |
---|---|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
getPitch, getPositionX, getPositionY, getPositionZ, getRotating, getYaw, isMoving, isOnGround, processPacket, setMoving
public C05PacketPlayerLook()
public C05PacketPlayerLook(float playerYaw, float playerPitch, boolean isOnGround)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayServer>
readPacketData
in class C03PacketPlayer
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayServer>
writePacketData
in class C03PacketPlayer
java.io.IOException