implement swing arm animation and entity brightness

(cherry picked from commit b9e76a3d9bd1c0c89f1ffde1a3516ff115cf3235)
This commit is contained in:
LabyStudio
2022-04-14 18:36:06 +02:00
parent 62d7ba24b9
commit 96b287bedc
14 changed files with 147 additions and 48 deletions
+2
View File
@@ -229,6 +229,8 @@ window.Minecraft = class {
this.world.setBlockAt(hitResult.x, hitResult.y, hitResult.z, 0);
}
}
this.player.swingArm();
}
// Pick block