From 9b519cb66595f7b27ee9ac8dca298ba9c3e91bd3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 5 Dec 2020 02:17:39 +0100 Subject: [PATCH] Document mob states --- mods/ENTITIES/mcl_mobs/api.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index 74c00de32..93c4df66a 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -344,6 +344,14 @@ for each mob. dogs 'self.order' set to "follow" or "stand" so that npc will follow owner or stand it's ground + 'self.state' Current mob state. + "stand": no movement (except turning around) + "walk": walk or move around aimlessly + "attack": chase and attack enemy + "runaway": flee from target + "flop": bounce around aimlessly + (for swimming mobs that have stranded) + "die": during death 'self.nametag' contains the name of the mob which it can show above