forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
OffsetLocationSpell
JasperLorelai edited this page Nov 24, 2024
·
1 revision
spell-class: ".targeted.OffsetLocationSpell"
Value | Supported |
---|---|
entity |
false |
location |
true |
entity_from_location |
false |
A targeted spell that casts other targeted spells at an offset.
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Supports expressions |
---|---|---|---|
relative-offset |
The offset to use relative to the player. | Vector | true |
absolute-offset |
A hard offset related to the player's coordinates, not where they're looking. | Vector | true |
spell |
Sub-spell to cast at an offset. | String | false |
yaw |
Since 4.0 Beta 15. | Angle | ~0 |
pitch |
Since 4.0 Beta 15. | Angle | ~0 |
Meteor:
spell-class: ".TargetedMultiSpell"
require-entity-target: false
spells:
- OffsetLocation
OffsetLocation:
spell-class: ".targeted.OffsetLocationSpell"
relative-offset: 0,10,0
spell: MaterializeMagma
MaterializeMagma:
spell-class: ".targeted.MaterializeSpell"
block-type: magma_block
falling: true
apply-physics: true
play-break-effect: true