Call PlayerInteractEvent.RightClickBlock when using tools
Insane96 opened this issue ยท 2 comments
Is your idea related to a problem? Please describe.
The mod Dirt to Path works only on the block right-clicked when using the excavator tools (since even a shovel can have the Expanded modifier).
Describe the solution you'd like
Call PlayerInteractEvent.RightClickBlock
on the blocks in the whole area
Describe alternatives you've considered
None
Versions:
- Minecraft: 1.16.5
- Forge: 36.1.4
- Mantle: 1.6.92
- Tinkers Construct: 3.0.2.96
Confirm below that this enhancement is not covered on the roadmap or "Whats New?"
Confirm
The mod Dirt to Path is doing things wrongly. They should be using the forge logic for shovel path blocks, not implementing it themselves in a right click block hook. Report this to them.
For reference, BlockState::getToolModifiedState
and BlockToolInteractEvent