Mythicmob NPC Presence Fact
Returns 1 when the MythicMobs NPC is currently spawned
Felder
| Feld | Typ | Standard | Beschreibung | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
group | Ref<GroupEntry> | — | — | ||||||||||||||||||||||||||||||||||||||||
target | MythicMobNpcFactTarget | — | —
|
| Feld | Typ | Standard | Beschreibung | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
npc | Ref<MythicMobNpcInstance> | — | MythicMob NPC instance to inspect.
|
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
definition | Ref<MythicMobNpcDefinition> | — | — |
spawnLocation | Var<Position> | ORIGIN | —Mit Rotation |
data | List<Ref<EntityData<*>>> | empty | — |
activity | Ref<out EntityActivityEntry> | — | — |
group | Ref<out GroupEntry> | — | — |
secondaryOffset | Vector | {"x":0.0,"y":0.0,"z":0.0} | Offset (X, Y, Z) for the secondary focus point (automatically created with empty text) |
radiusDouble?Gemeinsame TypeWriter-Felder (comment)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
comment | String | — | — |
How to use it
All the facts of this extension take a target: target.npc is the instance to watch and target.radius is the search radius around its spawn point (5 blocks if empty). The mob must have the definition's mob type. This fact returns 1 while that mob is spawned, otherwise 0.