Backed by popular request, this version adds a new "playerSpawnParticle" action!
Check out the wiki for info on how to configure this in your item yml file:
https://github.com/jojodmo/CustomItems/wiki/Handlers-and-Actions#playerSpawnParticle
Or, if you want, try adding this action to a new item:
Code (Text):
handlers:
rightClick:
actions:
-
action: playerSpawnParticle
particles:
- name: EXPLOSION_HUGE
- name: SMOKE_NORMAL
amount: 20
xSpread: 4
ySpread: 4
zSpread: 4
- name: REDSTONE
amount: 30
xSpread: 10
ySpread: 0
zSpread: 10
size: 4
color: 0077ff