Перейти к основному содержимому

Mythicmob NPC Presence Fact

Returns 1 when the MythicMobs NPC is currently spawned

Поля

ПолеТипПо умолчаниюОписание
groupRef<GroupEntry>——
targetMythicMobNpcFactTarget——
MythicMobNpcFactTarget (2)
ПолеТипПо умолчаниюОписание
npcRef<MythicMobNpcInstance>—MythicMob NPC instance to inspect.
MythicMobNpcInstance (6)
ПолеТипПо умолчаниюОписание
definitionRef<MythicMobNpcDefinition>——
spawnLocationVar<Position>ORIGIN—С поворотом
dataList<Ref<EntityData<*>>>empty—
activityRef<out EntityActivityEntry>——
groupRef<out GroupEntry>——
secondaryOffsetVector{"x":0.0,"y":0.0,"z":0.0}Offset (X, Y, Z) for the secondary focus point (automatically created with empty text)
radiusDouble?—Custom search radius in blocks when matching the active mob. 0 uses the default of 5 blocks.
Общие поля TypeWriter (comment)
ПолеТипПо умолчаниюОписание
commentString——

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.