Class Packet206SetObjective

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

public class Packet206SetObjective extends Packet
  • Field Details

    • objectiveName

      public String objectiveName
    • objectiveDisplayName

      public String objectiveDisplayName
    • change

      public int change
      0 to create scoreboard, 1 to remove scoreboard, 2 to update display text.
  • Constructor Details

    • Packet206SetObjective

      public Packet206SetObjective()
    • Packet206SetObjective

      public Packet206SetObjective(ScoreObjective par1ScoreObjective, int par2)
  • Method Details

    • 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
    • processPacket

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

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