class Rosegold::Clientbound::SpawnLivingEntity
- Rosegold::Clientbound::SpawnLivingEntity
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/spawn_living_entity.crConstructors
Class Method Summary
Instance Method Summary
- #callback(client)
- #entity_id : UInt64
- #entity_id=(entity_id : UInt64)
- #entity_type : UInt32
- #entity_type=(entity_type : UInt32)
- #head_yaw : Float32
- #head_yaw=(head_yaw : Float32)
- #pitch : Float32
- #pitch=(pitch : Float32)
- #uuid : UUID
- #uuid=(uuid : UUID)
- #velocity_x : Int16
- #velocity_x=(velocity_x : Int16)
- #velocity_y : Int16
- #velocity_y=(velocity_y : Int16)
- #velocity_z : Int16
- #velocity_z=(velocity_z : Int16)
- #write : Bytes
- #x : Float64
- #x=(x : Float64)
- #y : Float64
- #y=(y : Float64)
- #yaw : Float32
- #yaw=(yaw : Float32)
- #z : Float64
- #z=(z : Float64)
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)
#