Entity scripts api

This commit is contained in:
2026-11-21 10:56:59 -03:00
parent 60a7cae86e
commit e1c2b13d1f
2 changed files with 94 additions and 1 deletions
+2 -1
View File
@@ -7,8 +7,9 @@
import { ATTRIBUTES } from "./attributes.ts";
import type { LivingEntity } from "./living_entity.ts";
import type { Mob } from "./mob.ts";
import type { GoalFlag } from "@/common/mod_api/server.ts";
export type GoalFlag = "move" | "look" | "jump" | "target";
export type { GoalFlag };
export abstract class Goal {
flags: GoalFlag[] = [];