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.
Hey Jikoo_K! With the upcoming changes in 1.17 I hoped to put a bug in your ear about the (hopefully) next update, and wondered if it'd be possible to include equations in the config especially for the fortune output? Or otherwise perhaps some tweaks to it to balance since the new ores will themselves be affected by fortune. We're a little worried about output being dramatically increased and inflating the economy.
Thanks as always for the consideration and for your hard work!
In reply to mercurialmusic:
While I get that not being able to configure the formulas can be limiting, it does follow vanilla's fortune system, which you also can't configure. To allow configuration I'd have to bundle in another library to handle parsing equations, which is a lot more work than you might think - finding a decent library is pretty difficult. Is it open source? Is it easy to use? Does it support all the expressions I think users might want? Does it have a permissive enough license for me to bundle it with minimal legal hoops to jump through? Is it a small enough library that it won't hugely inflate download size?
If I were to allow configuration I would surely need to allow it on a per-recipe level, but the options for doing that are either inefficient and laggy or not user-friendly.
Consider adding raw copper/iron/gold to the fortune blacklist once the material names are locked in to prevent users double dipping with fortune. I'll probably add those to the default list when the time comes.
In reply to Jikoo_K:
Yeah, that makes sense, and a simple enough solution with the blacklist. Thanks for taking the time to explain that.
In reply to mercurialmusic:
With the addition of the library loader to Spigot for downloading libraries from Maven Central, this is something I'm willing to consider again in the future as that's one of the big blockers removed. Still unlikely to happen soon (which knowing my current rate of free time investment means it could be years out) but it's no longer a hard "no" response.
In reply to Jikoo_K:
It wasn't exactly a well thought out request either. I had forgotten about the fortune blacklist, which I think is a perfectly fine solution. I'm sure some would still appreciate the added control, but I'm perfectly fine with what we have.
And thanks for the update! I noticed the supported version for 3.0.0 only included 1.17 -- I take it this would not work on 1.16.5?
In reply to mercurialmusic:
Min version is 1.14 for required API additions. Pretty much nothing changed between 1.16 and 1.17 (the actual update to 1.17 was literally just default config changes and declaring a required library that the server already provides, just doesn't expose) but I don't bother tagging versions I don't test unless the plugin is very version-specific (i.e. OpenInv).
sometimes it glitches with the furnace smelting it gets stuck and makes a huge bar
In reply to Trixualz:
Hard to help you with no information. My best guess is that you're using either some conflicting software that adds directly to the number of ticks the furnace has done or your server is lagging and its catch-up system is causing furnaces to go past completion.
EnchantableBlocks does not actively increase progress, it changes the final number of ticks required to complete a recipe, so what you're describing is not behavior directly caused by EB.
Hello the plugins don't work on my servers with my friends i would know why :/ it's on a 1.16.1 spigot i think i did something wrong
i hide the log in the spoiler
if u can help me i would be happy thanks :D
In reply to Forge_User_21013775:
Your server is incredibly outdated. Update Spigot.
Edit: Also, please don't post stack traces in comments. Use a paste service.
Hi, when will the plugin version compatible with minecraft 1.16 be released ?
Thank you in advance.
In reply to Forge_User_32355115:
2.0.6 works fine on 1.16.
Thanks for the update! Great plugin. Users love it.
Can you make this up-to-date with 1.15.1?
In reply to SmallSansSerif:
Please post logs if you are having any errors on 1.15.
In reply to Jikoo_K:
No errors in the log but it's hard to get the furnace to offer enchants in enchant table. You have to mess with the way the furnace and lapis get into the table slots. Can you look into this?
In reply to SmallSansSerif:
Spigot doesn't respect enchantment offer updates unless you shift-click the item into the enchantment table. Haven't gotten around to making a ticket there.
This plugin causes intense lag, what happened
In reply to Neubulae:
Please provide a timings report.
In reply to Jikoo_K:
well after trying to reproduce the lag I found that if you make an easy automation set up, the lag may occur easily. You place a hopper on the furnace that pumps item into the furnace, for example, I used raw beef because I wanted some beef. Then you place a hopper under the furnace that sucks the processed items out. With Fortune III the hopper could easily be clogged and boom! The server starts to lag. Here's the timings. https://timings.aikar.co/?id=c795710bdc0d46cf80e884dc5a7ba6f3