Fluid registry

This commit is contained in:
2026-10-25 14:05:57 -03:00
parent 0cfa4d9b4a
commit 17d83acfc8
18 changed files with 144 additions and 17 deletions
+1
View File
@@ -21,6 +21,7 @@ export const loot_table_id = z.string('must be a loot table id, like "my_mod:blo
// text players see
export const text = z.string().min(1);
export const vec3 = z.tuple([z.number(), z.number(), z.number()], "must be [x, y, z]");
export const color = z.string('must be a color like "#79c05a"').regex(/^#[0-9a-fA-F]{6}$/);
// any json object, for what's only stored, like components
export const json_object = z.record(z.string(), z.unknown());