Class WrapperPlayServerSpawnEntity

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerSpawnEntity

public class WrapperPlayServerSpawnEntity extends AbstractPacket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.comphenix.protocol.PacketType
    The packet type that is wrapped by this wrapper.

    Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    handle
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new wrapper and initialize it with a packet handle with default values
    WrapperPlayServerSpawnEntity(com.comphenix.protocol.events.PacketContainer packet)
    Constructors a new wrapper for the specified packet
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves the value of field 'data'
    int
    Retrieves the value of field 'id'
    org.bukkit.entity.EntityType
    Retrieves the value of field 'type'
    Retrieves the value of field 'uuid'
    double
    Retrieves the value of field 'x'
    int
    Retrieves the value of field 'xa'
    byte
    Retrieves the value of field 'xRot'
    double
    Retrieves the value of field 'y'
    int
    Retrieves the value of field 'ya'
    byte
    Retrieves the value of field 'yHeadRot'
    byte
    Retrieves the value of field 'yRot'
    double
    Retrieves the value of field 'z'
    int
    Retrieves the value of field 'za'
    void
    setData(int value)
    Sets the value of field 'data'
    void
    setId(int value)
    Sets the value of field 'id'
    void
    setType(org.bukkit.entity.EntityType value)
    Sets the value of field 'type'
    void
    setUuid(UUID value)
    Sets the value of field 'uuid'
    void
    setX(double value)
    Sets the value of field 'x'
    void
    setXa(int value)
    Sets the value of field 'xa'
    void
    setXRot(byte value)
    Sets the value of field 'xRot'
    void
    setY(double value)
    Sets the value of field 'y'
    void
    setYa(int value)
    Sets the value of field 'ya'
    void
    setYHeadRot(byte value)
    Sets the value of field 'yHeadRot'
    void
    setYRot(byte value)
    Sets the value of field 'yRot'
    void
    setZ(double value)
    Sets the value of field 'z'
    void
    setZa(int value)
    Sets the value of field 'za'

    Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerSpawnEntity

      public WrapperPlayServerSpawnEntity()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerSpawnEntity

      public WrapperPlayServerSpawnEntity(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getId

      public int getId()
      Retrieves the value of field 'id'
      Returns:
      'id'
    • setId

      public void setId(int value)
      Sets the value of field 'id'
      Parameters:
      value - New value for field 'id'
    • getUuid

      public UUID getUuid()
      Retrieves the value of field 'uuid'
      Returns:
      'uuid'
    • setUuid

      public void setUuid(UUID value)
      Sets the value of field 'uuid'
      Parameters:
      value - New value for field 'uuid'
    • getType

      public org.bukkit.entity.EntityType getType()
      Retrieves the value of field 'type'
      Returns:
      'type'
    • setType

      public void setType(org.bukkit.entity.EntityType value)
      Sets the value of field 'type'
      Parameters:
      value - New value for field 'type'
    • getX

      public double getX()
      Retrieves the value of field 'x'
      Returns:
      'x'
    • setX

      public void setX(double value)
      Sets the value of field 'x'
      Parameters:
      value - New value for field 'x'
    • getY

      public double getY()
      Retrieves the value of field 'y'
      Returns:
      'y'
    • setY

      public void setY(double value)
      Sets the value of field 'y'
      Parameters:
      value - New value for field 'y'
    • getZ

      public double getZ()
      Retrieves the value of field 'z'
      Returns:
      'z'
    • setZ

      public void setZ(double value)
      Sets the value of field 'z'
      Parameters:
      value - New value for field 'z'
    • getXa

      public int getXa()
      Retrieves the value of field 'xa'
      Returns:
      'xa'
    • setXa

      public void setXa(int value)
      Sets the value of field 'xa'
      Parameters:
      value - New value for field 'xa'
    • getYa

      public int getYa()
      Retrieves the value of field 'ya'
      Returns:
      'ya'
    • setYa

      public void setYa(int value)
      Sets the value of field 'ya'
      Parameters:
      value - New value for field 'ya'
    • getZa

      public int getZa()
      Retrieves the value of field 'za'
      Returns:
      'za'
    • setZa

      public void setZa(int value)
      Sets the value of field 'za'
      Parameters:
      value - New value for field 'za'
    • getXRot

      public byte getXRot()
      Retrieves the value of field 'xRot'
      Returns:
      'xRot'
    • setXRot

      public void setXRot(byte value)
      Sets the value of field 'xRot'
      Parameters:
      value - New value for field 'xRot'
    • getYRot

      public byte getYRot()
      Retrieves the value of field 'yRot'
      Returns:
      'yRot'
    • setYRot

      public void setYRot(byte value)
      Sets the value of field 'yRot'
      Parameters:
      value - New value for field 'yRot'
    • getYHeadRot

      public byte getYHeadRot()
      Retrieves the value of field 'yHeadRot'
      Returns:
      'yHeadRot'
    • setYHeadRot

      public void setYHeadRot(byte value)
      Sets the value of field 'yHeadRot'
      Parameters:
      value - New value for field 'yHeadRot'
    • getData

      public int getData()
      Retrieves the value of field 'data'
      Returns:
      'data'
    • setData

      public void setData(int value)
      Sets the value of field 'data'
      Parameters:
      value - New value for field 'data'