Comments (6)
Super, so some registered furnace recipes don't have an input? Stack trace points here, which means I can't even check it, I actually have to catch the exception. I shouldn't be surprised by a lack of sanity in Minecraft, but somehow I never see it coming.
If you'd be willing to run a build with some debug messages that'd be helpful.
from enchantableblocks.
If you would please, try EnchantableBlocks 2.0.2-SNAPSHOT.
The debug will probably be quite spammy, but I'm interested in finding out if this is a default Minecraft recipe that's screwed up or if a plugin isn't playing nice.
from enchantableblocks.
Spam in console :
20.01 13:16:28 [Server] INFO Recipe with null InputChoice: minecraft:coralstay_fire_coral_wall_fan outputting ItemStack{AIR x 0}
20.01 13:16:28 [Server] INFO Recipe with null InputChoice: minecraft:coralstay_tube_coral_wall_fan outputting ItemStack{AIR x 0}
20.01 13:16:28 [Server] INFO Recipe with null InputChoice: minecraft:coralstay_bubble_coral_wall_fan
Huuum, CoralStay... I use this plugin in my server : https://www.spigotmc.org/resources/coralstay.60731/
The enchantments normally works.
But I don't always get the XP, for example with iron it's ok but not with stone (I didn't test others).
from enchantableblocks.
I don't mess with experience currently, that's just due to the fact that a single smelt of iron yields .7 to .1 from stone. Fortune doesn't affect the experience gain in 1.13 due to changes in how experience is handled, though I suppose I could revert that behavior to match 1.12 and lower. That said, furnaces storing exp would make fortune even more incredibly broken. Not sure how I feel about it in terms of balance, what do you think?
Yeah, CoralStay appears to be the issue. I guess I'll leave the exception catching, but the author should really consider revisiting their recipe creation.
There are currently no checks made to ensure the materials exist, and the NamespacedKey being created should be using the namespace coralstay
, instead of minecraft
and prefixing every recipe with coralstay_
.
This is more of a Spigot issue, the server shouldn't be accepting problematic recipes. From what I can tell, the invalid input is "fine" when added to the crafting manager. Then, when the actual choice list is rebuilt converting back from NMS to Bukkit, the invalid input is not added, yielding an empty input list, which results in a null RecipeChoice.
from enchantableblocks.
Okay, I've also opened SPIGOT-4587 for the CB end.
For now, here's a build without the debug message: EnchantableBlocks.zip
I'm not going to do a full release because I believe this should be addressed by CB and individual plugins adding odd recipes.
from enchantableblocks.
With this version everything is ok so awesome :D
from enchantableblocks.
Related Issues (20)
- Enchantment Table dont Work HOT 1
- Items are no longer collected when an enchanted furnace is broken HOT 8
- Furnace duplication HOT 3
- Add option to keep furnaces cached in memory HOT 1
- Added to ci.codemc.io HOT 1
- McMMO and fortune enchant HOT 1
- Unit Testing
- Reorganize Config
- Enchanted Furnaces won't combine HOT 10
- Enchantments no longer work (Paper) HOT 4
- Bug with Silk Touch and Efficiency (1.17.1) HOT 6
- Enchantment displayed in the enchanting table HOT 2
- Efficiency speed-up only applies if there are no other items to smelt. HOT 1
- Raw ores does not work with fortune HOT 2
- Infinite experience - grindstone HOT 2
- Raw ores does not work with fortune HOT 1
- Problem with anvil costs HOT 5
- Options to enable / disable use of furnace / blasting furnace / smoker. HOT 2
- Furnaces drop duplicate unenchanted copy with EcoEnchants HOT 3
- Anvil Enchanting in GeyserMC HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enchantableblocks.