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