struct
Rosegold::DataComponents::Tool::ToolRule
- Rosegold::DataComponents::Tool::ToolRule
- Struct
- Value
- Object
Defined in:
rosegold/inventory/slot.crConstructors
Instance Method Summary
- #blocks_ids : Array(UInt32) | Nil
- #blocks_ids=(blocks_ids : Array(UInt32) | Nil)
- #blocks_tag : String | Nil
- #blocks_tag=(blocks_tag : String | Nil)
- #blocks_type : UInt32
- #blocks_type=(blocks_type : UInt32)
- #correct_for_drops=(correct_for_drops : Bool)
- #correct_for_drops? : Bool
- #has_correct_for_drops=(has_correct_for_drops : Bool)
- #has_correct_for_drops? : Bool
- #has_speed=(has_speed : Bool)
- #has_speed? : Bool
- #speed : Float32 | Nil
- #speed=(speed : Float32 | Nil)
Constructor Detail
def self.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)
#