class Rosegold::MCData::Item

Overview

entries of items.json

Included Modules

Defined in:

rosegold/world/mcdata.cr

Constructors

Instance Method Summary

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def display_name : String #

[View source]
def enchant_categories : Array(String) | Nil #

[View source]
def id : UInt32 #

[View source]
def id_str : String #

[View source]
def max_durability : UInt16 | Nil #

[View source]
def repair_with : Array(String) | Nil #

[View source]
def stack_size : UInt8 #

[View source]