class Rosegold::MCData::Item
- Rosegold::MCData::Item
- Reference
- Object
Overview
entries of items.json
Included Modules
- JSON::Serializable
Defined in:
rosegold/world/mcdata.crConstructors
- .new(id : UInt32, id_str : String, display_name : String, stack_size : UInt8, max_durability : UInt16 | Nil = nil, repair_with : Array(String) | Nil = nil, enchant_categories : Array(String) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #display_name : String
- #enchant_categories : Array(String) | Nil
- #id : UInt32
- #id_str : String
- #max_durability : UInt16 | Nil
- #repair_with : Array(String) | Nil
- #stack_size : UInt8
Constructor Detail
def self.new(id : UInt32, id_str : String, display_name : String, stack_size : UInt8, max_durability : UInt16 | Nil = nil, repair_with : Array(String) | Nil = nil, enchant_categories : Array(String) | Nil = nil)
#