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

Public Member Functions

 Packet202PlayerAbilities ()
 
 Packet202PlayerAbilities (PlayerCapabilities par1PlayerCapabilities)
 
void readPacketData (DataInputStream par1DataInputStream) throws IOException
 
void writePacketData (DataOutputStream par1DataOutputStream) throws IOException
 
void processPacket (NetHandler par1NetHandler)
 
int getPacketSize ()
 
boolean getDisableDamage ()
 
void setDisableDamage (boolean par1)
 
boolean getFlying ()
 
void setFlying (boolean par1)
 
boolean getAllowFlying ()
 
void setAllowFlying (boolean par1)
 
boolean isCreativeMode ()
 
void setCreativeMode (boolean par1)
 
float getFlySpeed ()
 
void setFlySpeed (float par1)
 
float getWalkSpeed ()
 
void setWalkSpeed (float par1)
 
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 ()
 

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
 
- Public Attributes inherited from net.minecraft.network.packet.Packet
final long creationTimeMillis = System.currentTimeMillis()
 
boolean isChunkDataPacket = false
 
- 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.Packet202PlayerAbilities.Packet202PlayerAbilities ( )
net.minecraft.network.packet.Packet202PlayerAbilities.Packet202PlayerAbilities ( PlayerCapabilities  par1PlayerCapabilities)

Member Function Documentation

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

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

boolean net.minecraft.network.packet.Packet202PlayerAbilities.getAllowFlying ( )
boolean net.minecraft.network.packet.Packet202PlayerAbilities.getDisableDamage ( )
boolean net.minecraft.network.packet.Packet202PlayerAbilities.getFlying ( )
float net.minecraft.network.packet.Packet202PlayerAbilities.getFlySpeed ( )
int net.minecraft.network.packet.Packet202PlayerAbilities.getPacketSize ( )
virtual

Abstract. Return the size of the packet (not counting the header).

Implements net.minecraft.network.packet.Packet.

float net.minecraft.network.packet.Packet202PlayerAbilities.getWalkSpeed ( )
boolean net.minecraft.network.packet.Packet202PlayerAbilities.isCreativeMode ( )
boolean net.minecraft.network.packet.Packet202PlayerAbilities.isRealPacket ( )

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

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

Passes this Packet on to the NetHandler for processing.

Implements net.minecraft.network.packet.Packet.

void net.minecraft.network.packet.Packet202PlayerAbilities.readPacketData ( DataInputStream  par1DataInputStream) throws IOException
virtual

Abstract. Reads the raw packet data from the data stream.

Implements net.minecraft.network.packet.Packet.

void net.minecraft.network.packet.Packet202PlayerAbilities.setAllowFlying ( boolean  par1)
void net.minecraft.network.packet.Packet202PlayerAbilities.setCreativeMode ( boolean  par1)
void net.minecraft.network.packet.Packet202PlayerAbilities.setDisableDamage ( boolean  par1)

Sets whether damage is disabled or not.

void net.minecraft.network.packet.Packet202PlayerAbilities.setFlying ( boolean  par1)

Sets whether we're currently flying or not.

void net.minecraft.network.packet.Packet202PlayerAbilities.setFlySpeed ( float  par1)

Sets the flying speed.

void net.minecraft.network.packet.Packet202PlayerAbilities.setWalkSpeed ( float  par1)

Sets the walking speed.

void net.minecraft.network.packet.Packet202PlayerAbilities.writePacketData ( DataOutputStream  par1DataOutputStream) throws IOException
virtual

Abstract. Writes the raw packet data to the data stream.

Implements net.minecraft.network.packet.Packet.


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