class Rosegold::Clientbound::SpawnEntity
- Rosegold::Clientbound::SpawnEntity
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/spawn_entity.crConstructors
Class Method Summary
Instance Method Summary
- #callback(client)
- #data : UInt32
- #data=(data : UInt32)
- #entity_id : UInt64
- #entity_id=(entity_id : UInt64)
- #entity_type : UInt32
- #entity_type=(entity_type : UInt32)
- #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, data : UInt32, velocity_x : Int16, velocity_y : Int16, velocity_z : Int16)
#