implement torch block and block lightning

This commit is contained in:
LabyStudio
2022-02-13 02:54:57 +01:00
parent 77fd18af31
commit 7858e98ffa
14 changed files with 293 additions and 47 deletions
@@ -3,6 +3,15 @@ window.Inventory = class {
constructor() {
this.selectedSlotIndex = 0;
this.items = [];
// Default items in inventory
this.items[0] = 1;
this.items[1] = 2;
this.items[2] = 3;
this.items[3] = 17;
this.items[4] = 18;
this.items[5] = 12;
this.items[6] = 50;
}
setItemInSelectedSlot(typeId) {