forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
SpawnEntitySpell
JasperLorelai edited this page Jul 18, 2023
·
17 revisions
Targeted Spell. Spawns an entity at the targeted location.
Option | Description | Default Value |
---|---|---|
entity |
Entity Data config section. | - |
main-hand |
Item in main hand. | air |
off-hand |
Item in off hand. | air |
helmet |
Helmet. | air |
chestplate |
Chestplate. | air |
leggings |
Leggings. | air |
boots |
Boots. | air |
main-hand-drop-chance |
Chance of dropping item in main hand. | 0 |
off-hand-drop-chance |
Chance of dropping item in off hand. | 0 |
helmet-drop-chance |
Chance of dropping helmet. | 0 |
chestplate-drop-chance |
Chance of dropping chestplate. | 0 |
leggings-drop-chance |
Chance of dropping leggings. | 0 |
boots-drop-chance |
Chance of dropping boots. | 0 |
y-offset |
Modifies mob's spawn height location | 0.1 |
duration |
Duration of the mob (in ticks). | 0 |
fire-ticks |
Amount of fire ticks applied to the mob | 0 |
target-interval |
Interval between targeting. | -1 |
target-range |
Target range. | 20 |
retarget-range |
Retarget range. | 50 |
location |
Location where the mob should be spawned (focus, target, caster, random, casteroffset:y), random will spawn the mob in randomly in a radius (radius determined by spell power) | target |
nameplate-text |
Name above the mob | "" |
no-ai |
Should the mob spawn with no ai? | false |
gravity |
Should the mob use gravity? | true |
remove-ai |
Should the mob's ai be removed on spawn? | false |
remove-mob |
Removes some of the mob's mechanic when it dies (set it to true if you don't know what you're doing) | true |
use-caster-name |
Should the mob use caster's name? | false |
add-look-at-player-ai |
Should the mob look at players? | false |
allow-spawn-in-midair |
Can the mob spawn in midair? | false |
nameplate-formatting |
Allow nameplate formatting? | false |
attack-spell |
Sub-spell which is casted when the mob attacks. | "" |
attributes |
Attribute list for the mob. | null |
potion-effects |
Potion effect list for the mob | null |
Summon-Wolf:
spell-class: ".targeted.SpawnEntitySpell"
name: Summon-Wolf
cooldown: 60
location: caster
entity:
entity: wolf
tamed: true
color: blue