class
Rosegold::MCData::Enchantment
- Rosegold::MCData::Enchantment
- Reference
- Object
Overview
entries of enchantments.json
Included Modules
- JSON::Serializable
Defined in:
rosegold/world/mcdata.crConstructors
- .new(id : UInt32, name : String, display_name : String, max_level : UInt8, treasure_only : Bool, curse : Bool, category : String, weight : UInt8, tradeable : Bool, discoverable : Bool)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #category : String
- #curse? : Bool
- #discoverable? : Bool
- #display_name : String
- #id : UInt32
- #max_level : UInt8
- #name : String
- #tradeable? : Bool
- #treasure_only? : Bool
- #weight : UInt8
Constructor Detail
def self.new(id : UInt32, name : String, display_name : String, max_level : UInt8, treasure_only : Bool, curse : Bool, category : String, weight : UInt8, tradeable : Bool, discoverable : Bool)
#