struct

Minecraft::Angle

Inherits Struct / Value / Object

Represents a Minecraft protocol angle (0-255 representing 0-360 degrees)

Constructors

new(degrees : Float32 | Float64)
Source

Instance methods

degrees
Source
degrees=(degrees : Float32)
Source
to_f32
Source
to_f64
Source