EnchantableBlocks
EnchantableBlocks (formerly EnchantedFurnace) adds effects for enchantments on blocks! Currently only furnaces are supported.
Get It Now
Builds are available on BukkitDev or in the releases.
Development builds are available for use at your own risk on AppVeyor in the Artifacts tab.
Features
Per-World Focus
All features are configurable per-world. Want an OP world? Not a problem. Want to disable blocks for a vanilla world? Absolutely. All block settings can be controlled by per-world overrides, falling through to default values when not specifically configured.
Enchantment Table Enchanting
EnchantableBlocks offers vanilla-style enchantment table usage for supported blocks. Disable certain enchantments, determine your own conflicts (i.e. silk touch/fortune), or modify enchantability either globally or for a specific world set.
Permission can be granted or denied per-implementation or as a whole. More specific overrides always take precedence.
Nodes are available as follows:
<plugin name>.enchant.table.<block name>
- Permission to enchant a specific block implementation by a plugin in an enchanting table
- Ex:
enchantableblocks.enchant.table.enchantablefurnace
- Note that this is not per-material! I.e.
enchantablefurnace
covers 3 material types.
<plugin name>.enchant.table
- Permission to enchant all block implementations by a plugin in an enchanting table
- Ex:
enchantableblocks.enchant.table
<plugin name>.enchant
- Permission to enchant all block implementations by a plugin in any enchantment source
- Ex:
enchantableblocks.enchant
Anvil Enchanting
EnchantableBlocks offers vanilla-style enchantment and combination for supported blocks in anvils. Supported blocks can be combined with either a matching block or an enchanted book to increase enchantment levels. Uses vanilla combination rules - higher level takes precedence, equal levels yield an increase of 1 level up to the level cap. The enchantment level cap is configurable per-enchantment. Enchantments can be disabled to prevent transfer, though this won't remove them from the base item. Conflicts are also determined separately for maximum configurability.
Permission can be granted or denied per-implementation or as a whole. More specific overrides always take precedence.
Nodes are available as follows:
<plugin name>.enchant.anvil.<block name>
- Permission to enchant a specific block implementation by a plugin in an anvil
- Ex:
enchantableblocks.enchant.anvil.enchantablefurnace
- Note that this is not per-material! I.e.
enchantablefurnace
covers 3 material types.
<plugin name>.enchant.anvil
- Permission to enchant all block implementations by a plugin in an anvil
- Ex:
enchantableblocks.enchant.anvil
<plugin name>.enchant
- Permission to enchant all block implementations by a plugin in any enchantment source
- Ex:
enchantableblocks.enchant
Enchantments
Furnaces
See the wiki for furnace enchantments.
Videos
A basic overview of features is available from shop1126.
Alternate English video courtesy of MusicTechnician.
Portuguese video courtesy of AbsintoJ.
Thank you all!
Permissions
- Please refer to the wiki.
Config
- Please refer to the wiki.
Okay, pending 1.9, I've got an update in the wings that will fail gracefully where our solutions off the API are not available. Once I find the time to test it, it'll be out here.
Efficiency will be using the same technique EnchantedFurnace 1.4.x and lower used - slightly slower, but safe with pretty much any Bukkit version.
Anvil enchanting is very fiddly and cannot be done with the API (probably not even with the new anvil API coming in 1.9, unfortunately) but it has been changed to fail much more gracefully. Unsupported versions will result in anvils simply being unable to apply enchantments to furnaces in survival. As always, creative will work because you can enchant anything with any enchantment in it.
Edit: Good news, EnchantedFurnace appears to be fully compatible with the first builds of 1.9. There's no guarantee that that will remain the case, so I'll still be pushing out an update at some point, but the other plugins I maintain will take priority.
@Dr0lf
That would be a pretty low priority for me, unfortunately. It uses the same formula as vanilla's fortune right now, and I'm loath to write a full expression interpreter for one configuration option. I might be able to use a library for it, but then licensing becomes a concern - this project is all rights reserved (my only Bukkit-related project to not be open source), which is very restrictive for dealing with more open code.
My other problem is timing: 1.9 comes out tomorrow, and EnchantedFurnace will need an update as soon as Spigot updates. Between college, my job, and my server, there's not a lot of time to go around, especially when I need to spend time updating several projects using NMS.
It would be very cool to add an option to nerf Fortune enchantment because it's a little op with these percentages.
More like : Lvl 1 : 5% extra bonus Lvl 2 : 10 % Lvl 3 : 15-20 %
@Dr0lf
I've actually already begun making the plugin slightly less fixed in form, and that was definitely an idea that had occurred. As things stand, it will need an update when 1.9 comes out (ideally beforehand, to make the transition easier), because efficiency is guaranteed to break.
All said though, I don't have a lot of free time, so I wouldn't hold your breath for an update soon.
You're right regarding 1.9, I hadn't even considered that. It all really depends on how the brewing stand API changes, currently it's pretty poor.
I think I would also include fortune but not enable it by default, and only allow it to function during the transition from mundane to functional potion to prevent re-brew abuse. It would definitely need a lot of tweaking to be balanced, especially since it would have potential to give players stackable splash potions. Actually, as I write this, another thought occurs: if I do only allow the initial transition to be affected by fortune, I can then try to disable brewing to splash potions if there is more than 1 potion per slot.
Thanks for your ideas and input, glad you like the plugin!
Just one suggestion (proposed by players from my server), I don't know if it's possible but enchanted brewing stand would be very cool ! At the moment, only Efficiency would be interesting (but for 1.9 update, Silk Touch & Unbreaking also be interesting) ! And thank you again for this great plugin :)
@Jikoo_K
got it thanks for all the info, and an awesome plugin!
@marubal21
Correct, however, as the enchantability bonus currently isn't allowed lower than 1, 4 is the minimum for furnace_enchantability due to rounding.
@Jikoo_K
Awesome thank you for the reply. So on that same topic, am i right in saying that droping the number would make furnaces less enchantable?
@gSecurity
EnchantedFurnace 1.5.0 and higher only support 1.8.0 through 1.8.8. Please update your server or downgrade to EnchantedFurnace 1.4.3 or lower.
I've deleted your comment as it's horrendously long. In the future please post stack traces to a paste site such as hastebin.
@marubal21
Furnaces are, by default, as enchantable as stone tools. Because stone is not very enchantable, enchantments tend to be pretty poor on average - this is intended as furnaces do not degrade over time. However, that can hugely affect gameplay, so I decided to add it as a config option so server owners can change how easily enchantable they are. For more information, check out how enchanting mechanics work.
can someone explain this section to me:
furnace_enchantability (1.3.5) Default: 5 Options: Any positive integer Changes how easily enchantable a furnace is. Leather/wood: 15, stone: 5, iron armor: 9, iron tools: 14, chain: 12, gold armor: 25, gold tools: 22, diamond: 10
Ive looked it up and read on it, but its just not making sense to be, can someone give the dumb down version of how it works?
Thank you
EnchantedFurnace 1.5.1 has been uploaded!
EnchantedFurnace 1.5.0 has been uploaded!
This is a large step in a new direction for EnchantedFurnace. In addition to using the Bukkit API, EnchantedFurnace now uses reflection to access a couple values deeper within Minecraft's code.
As EnchantedFurnace now uses NMS to a very small degree, things may break between Minecraft version. I know for a fact that EnchantedFurnace is compatible with 1.8.0 through 1.8.8. Use with other versions at your own risk!
@K3nniii
I do not support the use of wildcards. You are looking for the node "enchantedfurnace.enchant.anvil"
In 1.4.3 and lower, combining two furnaces is not possible. You can only add enchantments from a book.
I believe anvil enchanting broke in 1.8 (item displays but cannot be removed) but when I have the time I may be able to apply a fix - I recently noticed while researching something else that all ItemMeta implements repairable, which grants access to the anvil tags required.
As a workaround, you can name furnaces in an anvil in a separate operation prior to combining the book with the furnace. This ensures that the furnace has an anvil tag - in 1.8, if an anvil operation does not cost any exp, it cannot be done.
Due to Bukkit limitations, attempting to rename the furnace while combining it in the same operation will likely erase the combined item, ignoring any benefits that are supposed to be added.
Sry my english is very bad. :(
not work enchant furnaces in anvils although the users have the Permission ''enchantedfurnace.enchant'' and ''enchantedfurnace.enchant.*"
Server Verstion: 1.8.3
pls fix this. thanks
@Rory185
No, for a couple reasons.
If you wish to regulate furnace enchantments, disable the enchantments in the configuration and distribute them via other means.
@Jikoo_K Hey this is a great plugin but can you please make permissions required for using furnaces with specific enchantments, for players with enchantedfurnace.use.silktouch they can use furnaces enchanted with silk touch but not efficiency unbreaking or fortune. Additonally you can make a config value called use permissions: true/false and if true then the enchantedfurnace.use.silktouch, enchantedfurnace.use.unbreaking etc., Thanks!
@xShaZZa
Thanks, glad to know you're enjoying it!
Makes smelting go so much quicker with enchant's on them. I actually enjoy cooking stuff these days :)
Thanks for this awesome plugin.
@Artemuidak
1.4.2 has been uploaded for about 3 hours. Unfortunately, Bukkit stopped approving files for the day 6 hours ago.
@Jikoo_K
Now the console displays this error http://pastebin.com/szQD7cMn