YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.network.packet.Packet10Flying Class Reference
Inheritance diagram for net.minecraft.network.packet.Packet10Flying:
net.minecraft.network.packet.Packet net.minecraft.network.packet.Packet11PlayerPosition net.minecraft.network.packet.Packet12PlayerLook net.minecraft.network.packet.Packet13PlayerLookMove

Public Member Functions

 Packet10Flying ()
 
 Packet10Flying (boolean par1)
 
void processPacket (NetHandler par1NetHandler)
 
void readPacketData (DataInputStream par1DataInputStream) throws IOException
 
void writePacketData (DataOutputStream par1DataOutputStream) throws IOException
 
int getPacketSize ()
 
boolean isRealPacket ()
 
boolean containsSameEntityIDAs (Packet par1Packet)
 
- Public Member Functions inherited from net.minecraft.network.packet.Packet
final int getPacketId ()
 
boolean isRealPacket ()
 
boolean containsSameEntityIDAs (Packet par1Packet)
 
boolean canProcessAsync ()
 
String toString ()
 

Public Attributes

double xPosition
 
double yPosition
 
double zPosition
 
double stance
 
float yaw
 
float pitch
 
boolean onGround
 
boolean moving
 
boolean rotating
 
- Public Attributes inherited from net.minecraft.network.packet.Packet
final long creationTimeMillis = System.currentTimeMillis()
 
boolean isChunkDataPacket = false
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.network.packet.Packet
static void addIdClassMapping (int par0, boolean par1, boolean par2, Class par3Class)
 
static Packet getNewPacket (ILogAgent par0ILogAgent, int par1)
 
static void writeByteArray (DataOutputStream par0DataOutputStream, byte[] par1ArrayOfByte) throws IOException
 
static byte[] readBytesFromStream (DataInputStream par0DataInputStream) throws IOException
 
static Packet readPacket (ILogAgent par0ILogAgent, DataInputStream par1DataInputStream, boolean par2, Socket par3Socket) throws IOException
 
static void writePacket (Packet par0Packet, DataOutputStream par1DataOutputStream) throws IOException
 
static void writeString (String par0Str, DataOutputStream par1DataOutputStream) throws IOException
 
static String readString (DataInputStream par0DataInputStream, int par1) throws IOException
 
static ItemStack readItemStack (DataInputStream par0DataInputStream) throws IOException
 
static void writeItemStack (ItemStack par0ItemStack, DataOutputStream par1DataOutputStream) throws IOException
 
static NBTTagCompound readNBTTagCompound (DataInputStream par0DataInputStream) throws IOException
 
- Static Public Attributes inherited from net.minecraft.network.packet.Packet
static IntHashMap packetIdToClassMap = new IntHashMap()
 
static long receivedID
 
static long receivedSize
 
static long sentID
 
static long sentSize
 
- Static Protected Member Functions inherited from net.minecraft.network.packet.Packet
static void writeNBTTagCompound (NBTTagCompound par0NBTTagCompound, DataOutputStream par1DataOutputStream) throws IOException
 
- Protected Attributes inherited from net.minecraft.network.packet.Packet
ILogAgent field_98193_m
 

Constructor & Destructor Documentation

net.minecraft.network.packet.Packet10Flying.Packet10Flying ( )
net.minecraft.network.packet.Packet10Flying.Packet10Flying ( boolean  par1)

Member Function Documentation

boolean net.minecraft.network.packet.Packet10Flying.containsSameEntityIDAs ( Packet  par1Packet)

eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class

int net.minecraft.network.packet.Packet10Flying.getPacketSize ( )
virtual
boolean net.minecraft.network.packet.Packet10Flying.isRealPacket ( )

only false for the abstract Packet class, all real packets return true

void net.minecraft.network.packet.Packet10Flying.processPacket ( NetHandler  par1NetHandler)
virtual

Passes this Packet on to the NetHandler for processing.

Implements net.minecraft.network.packet.Packet.

void net.minecraft.network.packet.Packet10Flying.readPacketData ( DataInputStream  par1DataInputStream) throws IOException
virtual
void net.minecraft.network.packet.Packet10Flying.writePacketData ( DataOutputStream  par1DataOutputStream) throws IOException
virtual

Member Data Documentation

boolean net.minecraft.network.packet.Packet10Flying.moving

Boolean set to true if the player is moving.

boolean net.minecraft.network.packet.Packet10Flying.onGround

True if the client is on the ground.

float net.minecraft.network.packet.Packet10Flying.pitch

The player's pitch rotation.

boolean net.minecraft.network.packet.Packet10Flying.rotating

Boolean set to true if the player is rotating.

double net.minecraft.network.packet.Packet10Flying.stance

The player's stance. (boundingBox.minY)

double net.minecraft.network.packet.Packet10Flying.xPosition

The player's X position.

float net.minecraft.network.packet.Packet10Flying.yaw

The player's yaw rotation.

double net.minecraft.network.packet.Packet10Flying.yPosition

The player's Y position.

double net.minecraft.network.packet.Packet10Flying.zPosition

The player's Z position.


The documentation for this class was generated from the following file: