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

Public Member Functions

 Packet102WindowClick ()
 
 Packet102WindowClick (int par1, int par2, int par3, int par4, ItemStack par5ItemStack, short par6)
 
void processPacket (NetHandler par1NetHandler)
 
void readPacketData (DataInputStream par1DataInputStream) throws IOException
 
void writePacketData (DataOutputStream par1DataOutputStream) throws IOException
 
int getPacketSize ()
 
- 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

int window_Id
 
int inventorySlot
 
int mouseClick
 
short action
 
ItemStack itemStack
 
int holdingShift
 
- 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.Packet102WindowClick.Packet102WindowClick ( )
net.minecraft.network.packet.Packet102WindowClick.Packet102WindowClick ( int  par1,
int  par2,
int  par3,
int  par4,
ItemStack  par5ItemStack,
short  par6 
)

Member Function Documentation

int net.minecraft.network.packet.Packet102WindowClick.getPacketSize ( )
virtual

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

Implements net.minecraft.network.packet.Packet.

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

Passes this Packet on to the NetHandler for processing.

Implements net.minecraft.network.packet.Packet.

void net.minecraft.network.packet.Packet102WindowClick.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.Packet102WindowClick.writePacketData ( DataOutputStream  par1DataOutputStream) throws IOException
virtual

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

Implements net.minecraft.network.packet.Packet.

Member Data Documentation

short net.minecraft.network.packet.Packet102WindowClick.action

A unique number for the action, used for transaction handling

int net.minecraft.network.packet.Packet102WindowClick.holdingShift
int net.minecraft.network.packet.Packet102WindowClick.inventorySlot

The clicked slot (-999 is outside of inventory)

ItemStack net.minecraft.network.packet.Packet102WindowClick.itemStack

Item stack for inventory

int net.minecraft.network.packet.Packet102WindowClick.mouseClick

1 when right-clicking and otherwise 0

int net.minecraft.network.packet.Packet102WindowClick.window_Id

The id of the window which was clicked. 0 for player inventory.


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