Water tint

This commit is contained in:
2026-10-07 11:29:58 -03:00
parent b830196829
commit 40d5a4f5af
8 changed files with 84 additions and 29 deletions
+1 -1
View File
@@ -624,7 +624,7 @@ export function validate_block(json: unknown): Problems {
if (json.tint !== undefined) {
const tint = json.tint;
if (!is_object(tint) || !is_tint_color(tint.color)) {
problems.push('tint.color must be "grass", "foliage" or a color like "#80a755"');
problems.push('tint.color must be "grass", "foliage", "water" or a color like "#80a755"');
} else if (
tint.textures !== undefined &&
!(Array.isArray(tint.textures) && tint.textures.every((name) => typeof name === "string"))