class Rosegold::Clientbound::SpawnLivingEntity

Defined in:

rosegold/packets/clientbound/spawn_living_entity.cr

Constructors

Class Method Summary

Instance Method Summary

Class methods inherited from class Rosegold::Clientbound::Packet

new_raw(bytes) new_raw, state state

Instance methods inherited from class Rosegold::Packet

callback(client_or_server) callback, to_s(io) to_s, write : Bytes write

Constructor Detail

def self.new(entity_id : UInt64, uuid : UUID, entity_type : UInt32, x : Float64, y : Float64, z : Float64, pitch : Float32, yaw : Float32, head_yaw : Float32, velocity_x : Int16, velocity_y : Int16, velocity_z : Int16) #

[View source]

Class Method Detail

def self.packet_id #

[View source]
def self.read(packet) #

[View source]
def self.state #

[View source]

Instance Method Detail

def callback(client) #

[View source]
def entity_id : UInt64 #

[View source]
def entity_id=(entity_id : UInt64) #

[View source]
def entity_type : UInt32 #

[View source]
def entity_type=(entity_type : UInt32) #

[View source]
def head_yaw : Float32 #

[View source]
def head_yaw=(head_yaw : Float32) #

[View source]
def pitch : Float32 #

[View source]
def pitch=(pitch : Float32) #

[View source]
def uuid : UUID #

[View source]
def uuid=(uuid : UUID) #

[View source]
def velocity_x : Int16 #

[View source]
def velocity_x=(velocity_x : Int16) #

[View source]
def velocity_y : Int16 #

[View source]
def velocity_y=(velocity_y : Int16) #

[View source]
def velocity_z : Int16 #

[View source]
def velocity_z=(velocity_z : Int16) #

[View source]
def write : Bytes #

[View source]
def x : Float64 #

[View source]
def x=(x : Float64) #

[View source]
def y : Float64 #

[View source]
def y=(y : Float64) #

[View source]
def yaw : Float32 #

[View source]
def yaw=(yaw : Float32) #

[View source]
def z : Float64 #

[View source]
def z=(z : Float64) #

[View source]