class Rosegold::WindowSlot

Defined in:

rosegold/world/slot.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rosegold::Slot

count : UInt8 count, count=(count : UInt8) count=, damage damage, decrement decrement, durability durability, edible? : Bool edible?, efficiency efficiency, empty? empty?, enchanted? : Bool enchanted?, enchantments enchantments, full? full?, item_id : String item_id, item_id_int : UInt32 item_id_int, item_id_int=(item_id_int : UInt32) item_id_int=, make_empty make_empty, matches?(item_id_int : UInt32)
matches?(item_id : String)
matches?(spec : Rosegold::WindowSlot -> _)
matches?(&)
matches?
, max_durability max_durability, max_stack_size max_stack_size, nbt : Minecraft::NBT::CompoundTag | Nil nbt, nbt=(nbt : Minecraft::NBT::CompoundTag | Nil) nbt=, needs_repair? : Bool needs_repair?, present? present?, repair_cost : Int32 repair_cost, swap_with(other) swap_with, to_s(io) to_s, worth_repairing? : Bool worth_repairing?, write(io) write

Constructor methods inherited from class Rosegold::Slot

new(item_id_int : UInt32 = 0, count : UInt8 = 0, nbt : Nil | Minecraft::NBT::CompoundTag = nil) new

Class methods inherited from class Rosegold::Slot

read(io) : Rosegold::Slot read

Constructor Detail

def self.new(slot_number : Int32, slot) #

[View source]

Instance Method Detail

def ==(other : Rosegold::WindowSlot) #

[View source]
def slot_number : Int32 #

[View source]
def slot_number=(slot_number : Int32) #

[View source]