10 lines
292 B
TypeScript
10 lines
292 B
TypeScript
import { Container, Cursor } from "$/common/inventory.ts";
|
|
|
|
// the local copies of the containers the server syncs to this player
|
|
export class ClientInventories {
|
|
inventory = new Container(9 * 4);
|
|
crafting = new Container(10);
|
|
cursor: Cursor = { item: undefined };
|
|
hotbar_selected = 0;
|
|
}
|