Pathfinding data

This commit is contained in:
2026-11-21 13:16:12 -03:00
parent 277664d2d9
commit dd53613758
6 changed files with 32 additions and 0 deletions
+5
View File
@@ -444,6 +444,11 @@ const entity_schema = z.object({
max_health: z.number().min(0).optional(),
// minecraft's per tick speed, 0.25 for most animals
movement_speed: z.number().min(0).optional(),
// whether it jumps, onto blocks in its way and up its path, true when not set. one that doesn't still steps up its
// step height, and swims up in water. see PATHFINDING.md
jumps: z.boolean().optional(),
// how many blocks it drops on its way, 3 when not set. 0 never walks off an edge, so it keeps out of pits
max_fall: z.number().int().min(0).optional(),
// what its hits do, for monsters. 2 when not set, like minecraft's
attack_damage: z.number().min(0).optional(),
// protection from physical and from arcane damage, not used yet