Closed jfmekker closed 3 years ago
One difference with the blockUsage is the ItemUseContext contains a RayTraceHitResult (which includes a Face/Side and direction). If that won't be needed then it will be fine. Maybe that can be a Nullable argument.
Closed with commit 7a9e3221 which merged everything to an onMagicItemUse
function.
The usage functions (chargedUsage, blockUsage, and instantUsage) should be able to all be merged. Create one abstract function to override that takes world, player, itemstack, etc as arguments.