Class Packet20NamedEntitySpawn


  • public class Packet20NamedEntitySpawn
    extends Packet
    • Field Detail

      • entityId

        public int entityId
      • name

        public java.lang.String name
      • xPosition

        public int xPosition
      • yPosition

        public int yPosition
      • zPosition

        public int zPosition
      • rotation

        public byte rotation
      • pitch

        public byte pitch
      • currentItem

        public int currentItem
    • Constructor Detail

      • Packet20NamedEntitySpawn

        public Packet20NamedEntitySpawn()
      • Packet20NamedEntitySpawn

        public Packet20NamedEntitySpawn​(Player var1)
    • Method Detail

      • readPacketData

        public void readPacketData​(java.io.DataInputStream var1)
                            throws java.io.IOException
        Specified by:
        readPacketData in class Packet
        Throws:
        java.io.IOException
      • writePacketData

        public void writePacketData​(java.io.DataOutputStream var1)
                             throws java.io.IOException
        Specified by:
        writePacketData in class Packet
        Throws:
        java.io.IOException