MagicPlugin icon indicating copy to clipboard operation
MagicPlugin copied to clipboard

(Feature Request) Support for 1.19.4+ displayentities?

Open I0nTech opened this issue 2 years ago • 5 comments

https://www.reddit.com/r/Minecraft/comments/1223aco/the_new_item_display_entity_is_fun/

Would love an action in Magic which allows us to spawn and manipulate display entities, it'd greatly improve VFX for spells. If possible, some sort of DisplayEntityProjectile action would also be greatly appreciated if possible.

I0nTech avatar Apr 24 '23 20:04 I0nTech

more like effectlib feature, not magic itself

PhvntxmX avatar May 28 '23 04:05 PhvntxmX

Not exactly, displayentities aren't particles, which is what effectlib handles. Either way, I'd much prefer it as an action if it ever gets implemented, however all things considered the chances of that are slim enough that I'm going to end up doing it myself anyways.

I0nTech avatar May 28 '23 21:05 I0nTech

I will look into it- if there's Spigot API this should be easy. I would probably implement it as an EntityData flag (e.g. display: true) so you could use one in EntityProjectile, SpawnEntity, etc.

EDIT: I see now this is just a new entity type... in which case I will probably need Spigot API support, if that doesn't exist already.

NathanWolf avatar May 30 '23 14:05 NathanWolf

I will look into it- if there's Spigot API this should be easy. I would probably implement it as an EntityData flag (e.g. display: true) so you could use one in EntityProjectile, SpawnEntity, etc.

:o tysm! Will there be new parameters added (scale, rotation, etc) for displayentities specifically?

I0nTech avatar May 30 '23 14:05 I0nTech

I haven't had a chance to look into it at all- but if there are such things and they are easily accessible via API (or maybe NMS), then probably :)

NathanWolf avatar May 30 '23 14:05 NathanWolf