Curios slots rendering !
This commit is contained in:
@@ -215,6 +215,9 @@ export interface Player {
|
||||
// what doesn't fit in the inventory drops at their feet
|
||||
give_item(id: Id, count?: number, data?: unknown): void;
|
||||
send_message(text: string): void;
|
||||
// items drawn on them, under a key so each mod keeps its own list, like "bworld:curios". replaces what that key
|
||||
// had, [] clears it. only items whose json has worn show. not saved: set it again when they join
|
||||
set_worn(key: string, items: ItemStack[]): void;
|
||||
teleport(x: number, y: number, z: number): void;
|
||||
// health and hunger, like minecraft: 20 each, saturation is never above hunger. max_health is the
|
||||
// bworld:max_health attribute
|
||||
|
||||
Reference in New Issue
Block a user