Tetra axes can't be used to craft sticks
g0urra opened this issue ยท 15 comments
Thanks for the report. We're aware of the issue, but aren't certain if we can do anything about it tbh.
@mickelus, could you add tags to tools to specify their type? forge:tools
+ forge:tools/axe
for example
Item tags are unfortunately not nbt aware, so I can't pass forge:tools/axe
as a tag if the item has an axe head module. I've got item predicates that are easy to use for testing that kind of stuff, is that something you can use in recipes?
I can help you set up workbench actions for turning logs and planks into sticks using an axe, if you'd like that as a workaround
No thanks, seeing as there's no JEI integration I don't think that would be used sadly :/ thanks anyway!
Farmer's Delight's tool ingredient serializer might be able to fix this, it matches any item with a specific tool type.
Instead of
{
"tag": "forge:tools/axe"
}
you'd just use
{
"type": "farmers_delight:tool",
"tool": "axe"
}
This should even work with tools that use energy instead of durability. I'm not quite sure whether items like that would play nice with the recipe type though, looking at #2550.
Maybe we should also have an "uncertain fixability" label as well like astral sorcery github, instead of just wontfix
Did you check for conflicts :p? I believe Farmer's Delight already adds log -> stripped log recipes on the cutting board
The problem seems to be that you're still using a tag ingredient :p
https://github.com/NillerMedDild/Enigmatica6/blob/47b907718aceb2d6fd4c5384c929b0ef9629a944/kubejs/server_scripts/enigmatica/kubejs/base/recipetypes/farmersdelight/cutting.js#L117
https://github.com/NillerMedDild/Enigmatica6/blob/47b907718aceb2d6fd4c5384c929b0ef9629a944/kubejs/server_scripts/enigmatica/kubejs/expert/recipetypes/farmersdelight/cutting.js#L39
The ingredients for the other recipes in those scripts could probably be updated to use tool ingredients as well, apart from knives, since not all knives from all mods have the knife tool type.
That being said, replacing the log stripping recipes still doesn't seem like the greatest idea, since it's the only way to obtain Farmer's Delight's tree bark. (also I like me my easy stripped log recipes :0)
Ah I see, I tried with 'axe' initially, but that failed. Now I know it failed due to a typo in the mod name though :P
Hm, still doesn't work with tool: "axe"
Error:
[21:53:23] [WARN] Error creating recipe farmersdelight:kjs_4imfwzx2h49ki22ph1ty090j4[farmersdelight:cutting]: {"type":"farmersdelight:cutting","ingredients":[{"item":"minecraft:acacia_log","count":1}],"tool":"axe","result":[{"item":"minecraft:stripped_acacia_log","count":1},{"item":"farmersdelight:tree_bark","count":1}]}: com.google.gson.JsonSyntaxException: Expected tool to be a JsonObject, was "axe"
Edit: I misunderstood how to use it ^^'
That does indeed work, thanks again ochotonida! It doesn't use durability on Tetra or Tinkers axes though, but I'll happily take that over not working at all.
It does indeed, for vanilla and Abnormal mods, I forgot to remove them initially ^^'