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
@@ -46,7 +46,7 @@ window.MetadataChunkBlock = class {
level = 15;
}
} else if (this.type === EnumSkyBlock.BLOCK) {
level = 0; // TODO
level = typeId === 0 ? 0 : block.getLightValue();
}
if (opacity >= 15 && level === 0) {