struct

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

Instance methods

blocks_ids
Source
blocks_ids=(blocks_ids : Array(UInt32) | Nil)
Source
blocks_tag
Source
blocks_tag=(blocks_tag : String | Nil)
Source
blocks_type
Source
blocks_type=(blocks_type : UInt32)
Source
correct_for_drops=(correct_for_drops : Bool)
Source
correct_for_drops?
Source
has_correct_for_drops=(has_correct_for_drops : Bool)
Source
has_correct_for_drops?
Source
has_speed=(has_speed : Bool)
Source
has_speed?
Source
speed
Source
speed=(speed : Float32 | Nil)
Source