Class SpawnPlayerMessage

java.lang.Object
net.glowstone.net.message.play.entity.SpawnPlayerMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public final class SpawnPlayerMessage extends Object implements com.flowpowered.network.Message
  • Constructor Details

    • SpawnPlayerMessage

      public SpawnPlayerMessage(int id, UUID uuid, double x, double y, double z, int rotation, int pitch, List<MetadataMap.Entry> metadata)
  • Method Details

    • getId

      public int getId()
    • getUuid

      public UUID getUuid()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • getRotation

      public int getRotation()
    • getPitch

      public int getPitch()
    • getMetadata

      public List<MetadataMap.Entry> getMetadata()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object