implement torch on wall

This commit is contained in:
LabyStudio
2022-02-13 04:17:03 +01:00
parent 9078d34ab0
commit bcdbe4240b
9 changed files with 215 additions and 40 deletions
@@ -64,6 +64,14 @@ window.Block = class {
return this.boundingBox;
}
onBlockAdded(world, x, y, z) {
}
onBlockPlaced(world, x, y, z, face) {
}
collisionRayTrace(x, y, z, start, end) {
start = start.addVector(-x, -y, -z);
end = end.addVector(-x, -y, -z);