Skip to content

Mechanics: customSummon

muhahahahe edited this page Jan 5, 2018 · 1 revision

Use this mechanic to summon a MythicMob relative to targeted entity or location.

This mechanic works like the original summon mechanic, with some additions like relative positioning.

Attributes

Attribute Aliases Description Default
mobtype mob | m | type | t internal mythicmob name
required
amount a number of mobs to spawn
Optional: ranged value 2to6
chooses a random amount between
1
addx ax | relx | rx value relative to x axsis of targeted entity or location 0
addy ay | rely | ry value relative to y axsis of targeted entity or location 0
addz az | relz | rz value relative to z axsis of targeted entity or location 0
noise n | radius | r summons the mob on a random spot in the given radius 0
ynoise yn | yradius | yr summons the mob on a random spot in the given radius, inherits noise noise
ynoiseuponly yradiusuponly | yruo | ynuo | yu sets the noise y value only going upwards false
onsurface os | s determines if the mob should be spawned on a block true
copythreattable ctt sets the current threattable onto the summoned mob false
inherithreattable itt caster and summoned mob share the same threattable false
useeyedirection ued | eyedirection uses the current eye direction of the target
use with infrontblocks
false
infrontblocks ifb | infront how many blocks infront or behind of the target
need to have useeyedirection set to true
0
setowner so sets the caster as owner of the summoned mob false
addtag tag | at sets a scoreboardtag to the summoned mob

Example

- customsummon{t=CREEPER;a=1;ax=5;ay=-4;az=3} @Self
This will summon a creeper like the minecraft summon command would do "/summon ~5 ~-4 ~3 creeper".

- customsummon{t=CREEPER;a=1;ued=true;ifb=-2;setowner=true} @Self
This will summon a creeper 2 blocks behind the caster and sets as its owner.
Clone this wiki locally