inventory: {
armor: {
boots?: Item;
chestplate?: Item;
helmet?: Item;
leggings?: Item;
};
crafting: {
slots: {
0?: Item;
1?: Item;
2?: Item;
3?: Item;
};
output?: Item;
};
hotbar: {
0?: Item;
1?: Item;
2?: Item;
3?: Item;
4?: Item;
5?: Item;
6?: Item;
7?: Item;
8?: Item;
};
slots: {
[slot: number]: Item | undefined;
};
cursor?: Item;
offhand?: Item;
}
Type declaration
-
Readonly armor: {
boots?: Item;
chestplate?: Item;
helmet?: Item;
leggings?: Item;
}
-
Optional Readonly boots?: Item
-
Optional Readonly chestplate?: Item
-
Optional Readonly helmet?: Item
-
Optional Readonly leggings?: Item
-
Readonly crafting: {
slots: {
0?: Item;
1?: Item;
2?: Item;
3?: Item;
};
output?: Item;
}
-
Readonly slots: {
0?: Item;
1?: Item;
2?: Item;
3?: Item;
}
-
Optional 0?: Item
-
Optional 1?: Item
-
Optional 2?: Item
-
Optional 3?: Item
-
Optional Readonly output?: Item
-
Readonly hotbar: {
0?: Item;
1?: Item;
2?: Item;
3?: Item;
4?: Item;
5?: Item;
6?: Item;
7?: Item;
8?: Item;
}
-
Optional 0?: Item
-
Optional 1?: Item
-
Optional 2?: Item
-
Optional 3?: Item
-
Optional 4?: Item
-
Optional 5?: Item
-
Optional 6?: Item
-
Optional 7?: Item
-
Optional 8?: Item
-
Readonly slots: {
[slot: number]: Item | undefined;
}
-
[slot: number]: Item | undefined
-
Optional Readonly cursor?: Item
-
Optional Readonly offhand?: Item