Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Packets::Play::C::SpawnObject
Inherits
RawPacket
<
Reference
<
Object
Constructors
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
))
Source
new
(packet :
RawPacket
)
Source
Instance methods
entity_id
object_data
pitch
type
velocity_x
velocity_y
velocity_z
x
y
yaw
z