class Packets::Play::C::SpawnMob

Defined in:

packets/packets.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(packet : RawPacket) #

[View source]

Instance Method Detail

def entity_id : Int32 #

def head_pitch : Angle #

def metadata : Metadata::Data #

def pitch : Angle #

def type : UInt8 #

def velocity_x : Int16 #

def velocity_y : Int16 #

def velocity_z : Int16 #

def x : Int32 #

def y : Int32 #

def yaw : Angle #

def z : Int32 #