struct Rosegold::Bot::EntitySnapshot

Defined in:

rosegold/bot/world_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : UInt32, uuid : UUID, type : String | Nil, position : Vec3d, velocity : Vec3d, yaw : Float32, pitch : Float32, on_ground : Bool) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(id _id = @id, uuid _uuid = @uuid, type _type = @type, position _position = @position, velocity _velocity = @velocity, yaw _yaw = @yaw, pitch _pitch = @pitch, on_ground _on_ground = @on_ground) #

[View source]
def id : UInt32 #

def on_ground : Bool #

def pitch : Float32 #

def position : Vec3d #

def type : String | Nil #

def uuid : UUID #

def velocity : Vec3d #

def yaw : Float32 #