class Packets::Play::C::SpawnPlayer

Defined in:

packets/packets.cr

Constructors

Instance Method Summary

Instance methods inherited from class RawPacket

data : Bytes data, id : Int32 id, slice : Bytes slice

Constructor methods inherited from class RawPacket

new(id : Int32, data : Bytes) new

Constructor Detail

def self.new(entity_id : Int32, player_uuid : UUID, x : Int32, y : Int32, z : Int32, yaw : Angle, pitch : Angle, current_item : Int16, metadata : Metadata::Data) #

[View source]
def self.new(packet : RawPacket) #

[View source]

Instance Method Detail

def current_item : Int16 #

def entity_id : Int32 #

def metadata : Metadata::Data #

def pitch : Angle #

def player_uuid : UUID #

def x : Int32 #

def y : Int32 #

def yaw : Angle #

def z : Int32 #