Rosegold::DataComponents::Tool::ToolRule
Inherits Struct / Value / Object
Constructors
new(blocks_type : UInt32 = 0_u32, blocks_tag : Nil | String = nil, blocks_ids : Nil | Array(UInt32) = nil, has_speed : Bool = false, speed : Float32 | Nil = nil, has_correct_for_drops : Bool = false, correct_for_drops : Bool = false)
SourceInstance methods
blocks_ids
Sourceblocks_ids=(blocks_ids : Array(UInt32) | Nil)
Sourceblocks_tag
Sourceblocks_tag=(blocks_tag : String | Nil)
Sourceblocks_type
Sourceblocks_type=(blocks_type : UInt32)
Sourcecorrect_for_drops=(correct_for_drops : Bool)
Sourcecorrect_for_drops?
Sourcehas_correct_for_drops=(has_correct_for_drops : Bool)
Sourcehas_correct_for_drops?
Sourcehas_speed=(has_speed : Bool)
Sourcehas_speed?
Sourcespeed
Sourcespeed=(speed : Float32 | Nil)
Source