Class Packet103SetSlot

java.lang.Object
net.minecraft.src.Packet
net.minecraft.src.Packet103SetSlot

public class Packet103SetSlot extends Packet
  • Field Details

    • windowId

      public int windowId
      The window which is being updated. 0 for player inventory
    • itemSlot

      public int itemSlot
      Slot that should be updated
    • myItemStack

      public ItemStack myItemStack
      Item stack
  • Constructor Details

    • Packet103SetSlot

      public Packet103SetSlot()
    • Packet103SetSlot

      public Packet103SetSlot(int par1, int par2, ItemStack par3ItemStack)
  • Method Details

    • processPacket

      public void processPacket(NetHandler par1NetHandler)
      Passes this Packet on to the NetHandler for processing.
      Specified by:
      processPacket in class Packet
    • readPacketData

      public void readPacketData(DataInput par1DataInput) throws IOException
      Abstract. Reads the raw packet data from the data stream.
      Specified by:
      readPacketData in class Packet
      Throws:
      IOException
    • writePacketData

      public void writePacketData(DataOutput par1DataOutput) throws IOException
      Abstract. Writes the raw packet data to the data stream.
      Specified by:
      writePacketData in class Packet
      Throws:
      IOException
    • getPacketSize

      public int getPacketSize()
      Abstract. Return the size of the packet (not counting the header).
      Specified by:
      getPacketSize in class Packet