implement block picking and remove water collision

This commit is contained in:
LabyStudio
2022-02-01 11:21:34 +01:00
parent cc3da60a6e
commit bda4e01807
4 changed files with 31 additions and 8 deletions
@@ -47,6 +47,10 @@ window.Block = class {
return 1.0;
}
canCollide() {
return true;
}
getBoundingBox(world, x, y, z) {
return this.boundingBox;
}