Salut à tous,
Je vous présente comment créer des particules à un spawn défini !
Addon : SkQuery
D'abord on créé la variable :
command /seteffect:
permission: spawn.effect
trigger:
set {spawn.effect} to location of player
Ensuite on dit au skript que toute les 2 secondes (ceci peut être changé), il fait spawn une/des particule(s) :
every 2 seconds:
spawn 150 of particle portal offset by 1, 2, 1 at {spawn.effect}
spawn 40 of particle fireworks spark offset by 1, 2, 1 at {spawn.effect}
spawn 10 of particle heart offset by 1, 2, 1 at {spawn.effect}
spawn 15 of particle happy villager offset by 1, 2, 1 at {spawn.effect}
Je vous donne la liste des particules qui peuvent spawn :
huge explosion, large explode, fireworks spark, bubble, suspended, depth suspend, town aura, crit, magic crit, smoke, mob spell, mob spell ambient, spell, instant spell, witch magic, note, portal, enchantment table, explode, flame, lava, footstep, splash, large smoke, cloud, red dust, snowball poof, drip water, drip lava, snow shovel, slime, heart, angry villager and happy villager
Voilà j'espère qu'il vous aura servi ^^
Aller à +