CoreNetwork / Mantle

The main plugin powering majority of features on Flatcore
1 stars 1 forks source link

Replace firework effect from all spells with particles #408

Open riddle opened 9 years ago

riddle commented 9 years ago

With 1.8 and /particle it’s now easier to summon particles than before. I’d like to start using them for spells, as they’re more interesting than fireworks.

† – either around the player or around the affected chest ‡ – a few particles so it looks good ¶ – around the player in a circular shape (~10 particles, 2 blocks away)

riddle commented 9 years ago

Reopening with notes from Slack:

Circle should appear only on spells which affect area around you: Allure, Growth, Decay, Unsliming (and Grazing and Pruning, once they get an effect).

The rest should be about concentrating the particle effect on the thing that was affected by the spell using a dot of multiple particles. A small ball of sorts, if you will.

Spells which affect a chest should display that dot in the middle of such chest. Single chest = middle of the clicked block. Double chest = in between chest blocks.

Spell which affect your inventory (Time or others when they aren’t targetting a chest) should display that dot in front of you, so you can see it. Yes, it can obscure the screen a bit.

Spell which affect other things (Peddling) should display the dot on that thing, slightly offset to be in front of the thing. So in case of Peddling it willl appear immediately before the villager.