class Packets::Play::C::SpawnObject
- Packets::Play::C::SpawnObject
- RawPacket
- Reference
- Object
Defined in:
packets/packets.crConstructors
- .new(entity_id : Int32, type : Int8, x : Int32, y : Int32, z : Int32, pitch : Angle, yaw : Angle, object_data : Int32, velocity_x : Union(Int16, Nil), velocity_y : Union(Int16, Nil), velocity_z : Union(Int16, Nil))
- .new(packet : RawPacket)
Instance Method Summary
- #entity_id : Int32
- #object_data : Int32
- #pitch : Angle
- #type : Int8
- #velocity_x : Union(Int16, Nil)
- #velocity_y : Union(Int16, Nil)
- #velocity_z : Union(Int16, Nil)
- #x : Int32
- #y : Int32
- #yaw : Angle
- #z : Int32
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, type : Int8, x : Int32, y : Int32, z : Int32, pitch : Angle, yaw : Angle, object_data : Int32, velocity_x : Union(Int16, Nil), velocity_y : Union(Int16, Nil), velocity_z : Union(Int16, Nil))
#