Water flow texture

This commit is contained in:
2026-10-07 19:18:10 -03:00
parent fbc9266936
commit d101fa2ef3
7 changed files with 94 additions and 30 deletions
+4 -2
View File
@@ -119,8 +119,10 @@ shore.
}
```
- `textures` is one texture, or `{ still, flowing }`: `still` on its top and bottom, `flowing` on its sides, like
Luanti's special tiles.
- `textures` is one texture, or `{ still, flowing }`, like Minecraft's water. `still` is on its bottom and on a level
top. `flowing` is on its sides and on a sloping top, turned to run downhill. A block shows as many of `flowing`'s
pixels across as `still` has, so a 32×32 `flowing` next to a 16×16 `still` spreads over two blocks. With one texture,
it's all of that texture on every side. Either can be [animated](../resources/textures.md#animated-textures).
- `liquid.range` is how many blocks it flows from a source, 1 to 7, and `7` when not set.
- `liquid.ticks` is how many ticks each step of its flow takes, `5` when not set, like Minecraft's water. Lava's is 30.
- `liquid.renewable`, `true` when not set: a spot with two sources beside it and something solid or a source under it