
Fake log stripping ignores forge tool action system
eerussianguy opened this issue ยท 2 comments
Describe the Bug
The log stripping recipes use AxeItem#getAxeStrippingState
when they should use BlockState#getToolModifiedState(ToolActions.AXE_STRIP)
to properly include modded axes/logs.
Reproduction Steps
- Install a mod that adds logs
- Open up a manual application recipe for axes
- Observe
...
Expected Result
All axe -> stripped log actions captured properly
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.0g
Minecraft Version
1.19.2
Forge Version
36.2.0
Other Mods
No response
Additional Context
No response
How would this be fixed? LogStrippingFakeRecipes
only generates recipes for JEI, so the only way to provide a UseOnContext
(which requires a Level
and BlockHitResult
) is to use fake objects, but this does not seem reliable.