Ars Nouveau

Ars Nouveau

49M Downloads

[Suggestion] Command which casts spells (for 1.16.5 onwards).

Darkmega18 opened this issue ยท 0 comments

commented

G'day. I'd like to ask if it would be possible to make a command that can take a source entity (or none) and then a target or position and then cast a spell (if it's a legal cast of whatever is put into it) which is written as a json tag like for a spawn command/item and casts it as if it belonged to the entity if there was an added source. With optional using or not using mana from the command's source.

For example chosing the player as target and just putting in a self spell would cast the spell on them as if they casted it themself. While a projectile would be launched at where they're looking or underfoot etc.

With special case being if it's set to touch, it casts the spell belonging to the target, but casted onto the target entities, so that it has a source. For example a radius selector with damage just immediately hitting everyone within the radius of the command's selector/type etc.

I'd like this command because I'd like to use the abilities and spells to feed into some custom origins or other effects I'd like to trigger through the origins. But I have no ways to target direct damage to enemies who don't interact with the player in certain ways first.

Alternatively, others might find it useful for playing around and testing for shenanigan reasons or maybe making map based modpacks and such, or casting powerful effects/spells as rewards/punishments out of quests or scripts used in their packs and other custom content.

Because there is a lot of really nice effects the mod can make that would be good to use in other ways. and you already seem to tell your books etc how a spell should work through it's spell writing grammar etc so it's just projecting the spell to come from elsewhere...right?