Requires ZEnchantmentCore! Download here
This is a sample plugin that adds some fun enchantments to the game using
ZEnchantmentCore. The list of enchantments is:
- Decay - Entities you hit will be withered for 5 seconds.
- Double Agent - Hostile mobs will become neutral towards you. At max level, they will become passive.
- Energizer - Hitting entities gives you a burst of movement speed, increasing in duration based on the total level count.
- Excavator - Mining a block will also mine a 2-block cube around it.
- Healing - Hitting an entity will instead heal them for a fraction the amount of damage you would have done.
- Curse of Inconsistency - Mining a block will occasionally not work, meaning you will have to try to mine it again.
- Levitator - Entities you hit will gain levitation for 4-8 seconds.
- Lifesteal - You heal off of the damage you do to entities.
- Snowball - Bow will now shoot snowballs, regardless of the arrow type (basically useless, just a display of the capabilities)
You may use this as an example to create your own addons to ZEnchantmentCore, or just to have fun with.