
Missing "Can be composted" in Attribute Filter for some Farmer's delight food
Closed this issue ยท 2 comments
What happened?
The attribute "can be composted" is missing in Attribute Filters for Farmer's delight items, such as Cabbage seeds. (See example below).

I'm using Smart Chutes on top of composters using this attribute. And it's not working despite those items being actually compostable.
I don't know if this integration is meant to be provided by Slice & Dice, or expected from Farmer's Delight itself, or event Create.
Loader
neoforge
Mod Version
4.0.1
Minecraft Version
1.21
Relevant log output
From what I could see, I believe Create is checking :
public class AllItemAttributeTypes {
...
COMPOSTABLE = singleton("compostable", s -> ComposterBlock.COMPOSTABLES.containsKey(s.getItem())),
Changing this to :
COMPOSTABLE = singleton("compostable", s -> ComposterBlock.getValue(s) > 0),
seems to fix the problem.
So bug in Create itself ? Your opinion ?
I've posted just the issue there as well. (If they confirm it's a problem on their side, we can close the issue here).