Rosegold::Player
Inherits Reference / Object
Constants
CRAWLING_AABB = AABBf.new(-0.3, 0.0, -0.3, 0.3, 0.625, 0.3)
CRAWLING_EYE_HEIGHT = 0.40
DEFAULT_AABB = AABBf.new(-0.3, 0.0, -0.3, 0.3, 1.8, 0.3)
DEFAULT_EYE_HEIGHT = 1.62
SNEAKING_AABB = AABBf.new(-0.3, 0.0, -0.3, 0.3, 1.5, 0.3)
SNEAKING_EYE_HEIGHT = 1.27
Instance methods
aabb
Sourceallow_flying=(allow_flying : Bool)
Sourceallow_flying?
Sourcecreative_mode=(creative_mode : Bool)
Sourcecreative_mode?
Sourceeffect_by_name(name)
Sourceeffects
Sourceeffects=(effects : Array(EntityEffect))
Sourceentity_id
Sourceentity_id=(entity_id : UInt64)
Sourceexperience_level
Sourceexperience_level=(experience_level : UInt32)
Sourceexperience_progress
Sourceexperience_progress=(experience_progress : Float32)
Sourceeyes
Sourcefall_distance
Sourcefall_distance=(fall_distance : Float64)
Sourcefeet
Sourcefeet=(value : Vec3d)
Sourcefield_of_view_modifier
Sourcefield_of_view_modifier=(field_of_view_modifier : Float32)
Sourceflying=(flying : Bool)
Sourceflying?
Sourceflying_speed
Sourceflying_speed=(flying_speed : Float32)
Sourcefood
Sourcefood=(food : UInt32)
Sourcegamemode
Sourcegamemode=(gamemode : Int8)
Sourcehas_slow_falling?
Sourcehealth
Sourcehealth=(health : Float32)
Sourcehotbar_selection
Sourcehotbar_selection=(hotbar_selection : UInt32)
Sourcein_water=(in_water : Bool)
Sourcein_water?
Sourceinvulnerable=(invulnerable : Bool)
Sourceinvulnerable?
Sourcejump_boost_level
Sourcelevitation_level
Sourcelook
Sourcelook=(value : Look)
Sourceon_ground=(on_ground : Bool)
Sourceon_ground?
Sourcesaturation
Sourcesaturation=(saturation : Float32)
Sourceslowness_level
Sourcesneaking=(sneaking : Bool)
Sourcesneaking?
Sourcespeed_level
Sourcesprinting=(sprinting : Bool)
Sourcesprinting?
Sourcetotal_experience
Sourcetotal_experience=(total_experience : UInt32)
Sourceusername
Sourceusername=(username : String | Nil)
Sourceuuid
Sourceuuid=(uuid : UUID | Nil)
Sourcevelocity
Sourcevelocity=(value : Vec3d)
Source