class Rosegold::PlayerWindow

Defined in:

rosegold/world/window.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rosegold::Window

click(slot : WindowSlot, right = false, shift = false, double = false)
click(slot_number, right = false, shift = false, double = false)
click
, close close, closed=(closed : Bool) closed=, closed? : Bool closed?, content : Array(WindowSlot) content, cursor : WindowSlot cursor, cursor=(cursor : WindowSlot) cursor=, drop(slot : WindowSlot, stack_mode : StackMode)
drop(slot_number, stack_mode : StackMode)
drop
, drop_cursor(stack_mode : StackMode) drop_cursor, handle_closed handle_closed, hotbar : Array(WindowSlot) hotbar, id : UInt8 id, inventory : Array(WindowSlot) inventory, main_hand : WindowSlot main_hand, ready? ready?, slots : Array(WindowSlot) slots, slots=(slots : Array(WindowSlot)) slots=, state_id : UInt32 state_id, state_id=(state_id : UInt32) state_id=, swap_hotbar(hotbar_nr, slot : WindowSlot)
swap_hotbar(hotbar_nr, slot_number)
swap_hotbar
, swap_off_hand(slot : WindowSlot)
swap_off_hand(slot_number)
swap_off_hand
, title : Chat title, to_s(io) to_s, type_id : UInt32 type_id

Constructor methods inherited from class Rosegold::Window

new(client : Rosegold::Client, id : UInt8, title : Rosegold::Chat, type_id : UInt32) new

Constructor Detail

def self.new(client) #

[View source]

Instance Method Detail

def boots : WindowSlot #

[View source]
def chestplate : WindowSlot #

[View source]
def crafting_input : Array(WindowSlot) #

[View source]
def crafting_result : WindowSlot #

[View source]
def helmet : WindowSlot #

[View source]
def hotbar : Array(WindowSlot) #

[View source]
def inventory : Array(WindowSlot) #

[View source]
def leggings : WindowSlot #

[View source]
def off_hand : WindowSlot #

[View source]