Potion effects can be applied to arrow entities like;
entity_tipped_arrow:
type: entity
entity_type: arrow
mechanisms:
potion: potion[potion_effects=<map[type=SLOWNESS;upgraded=true;extended=false]>]
However the first potion effect must a map with type from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html instead of https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
Then adding the PotionEffectType as second like;
entity_tipped_arrow:
type: entity
entity_type: arrow
mechanisms:
potion: potion[potion_effects=<map[type=SLOWNESS;upgraded=true;extended=false]>|<map[type=CONFUSION;amplifier=2;duration=200t;ambient=false;particles=true;icon=true]>]
Doesn't seem to work. How can the potion effects from the bukkit PotionEffectType be used with potion effects mech?
declaration: package: org.bukkit.potion, enum: PotionType
declaration: package: org.bukkit.potion, class: PotionEffectType