Entity scripts api
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user