Hello, I want a plugin that adds an enchantment named "Heat" or something and the more levels of Heat (1-5) there is, the more ingots drop. For example, if I had Heat 1 on my pickaxe and I mined an iron ore, I would get 1 iron ingot. If I was to use Heat 5 on an iron ore, I'd get 5 iron ingots. But if its like redstone or any ore that drops more than one like lapis, just times the normal drop count by 5. Thanks! Neyo
I don't think bukkit's API allows for you to add enchants from the enchantment table. I could be wrong though.
Actually you can add custom enchantments check this out http://forums.bukkit.org/threads/custom-enchantments-you-say-what.160684/
This is actually possible, if you have a Diamond Pickaxe and rename it to for example Heat you could check for it in an eventhandler and make this possible. If I had the time I would make it for you.
Custom enchants are indeed possible. I can confirm because I just finished adding it to my Unbreakable plugin. I used the post referenced by JuicyDev and supplemented by ELCHILEN0 but went further, including enchant table and anvil support. No, it wasn't easy. Neyo_Creeper what you're asking for sounds like "auto-smelt" plus an OP version of existing enchant Fortune, at which level 3 only has a 40% of dropping 3 (ores except for redstone & glowstone, for those it is +1/level). Seems better to just allow for combining those two. When mining potatoes, Heat should yield cooked potatoes. But if mining coal, it starts the block on fire! Maybe after some kind of "spark" effect while mining. Maybe when mining quartz or glowstone, if 4 yield it yields blocks of the same? For wheat, if 3 dropped (due to Fortune) it yields bread; if 1 or 2 drop it yields 2 or 5 cookies! Easy way to implement this might be to use EnchantmentAPI. I haven't and some reports it breaks anvils... EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Thanks everyone but I just thought to leave it out. Didn't like the idea after a while. That was pretty weird because I was also looking for a plugin that makes stuff unbreakable so thanks
I think there is a way for you to mark this request "Closed". Suggest you do so. Let me know how Unbreakable works for you.