Rename all "liquid" mentions to "fluid"

This commit is contained in:
2026-10-25 13:54:53 -03:00
parent bcca8fa4a5
commit 0cfa4d9b4a
58 changed files with 547 additions and 548 deletions
+2 -2
View File
@@ -64,12 +64,12 @@ export abstract class Entity {
// in water, like the server's Entity.in_water
get in_water() {
return physics.in_water(this, (x, y, z) => this.level.is_liquid(x, y, z));
return physics.in_water(this, (x, y, z) => this.level.is_fluid(x, y, z));
}
// its eyes are in water
get eyes_in_water() {
return physics.eyes_in_water(this, this.eye_height, (x, y, z) => this.level.is_liquid(x, y, z));
return physics.eyes_in_water(this, this.eye_height, (x, y, z) => this.level.is_fluid(x, y, z));
}
// after moving each tick. full speed is 5 blocks per second, a bit faster than walking