Skip to content

Commit

Permalink
Fix javadoc in BlockPickInteractionAware
Browse files Browse the repository at this point in the history
There is no immediate need to change the param type, as the
world can be obtained from `player.getWorld()`.
  • Loading branch information
apple502j committed Oct 8, 2023
1 parent 673bf0c commit 44af70a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
import net.minecraft.util.hit.HitResult;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.BlockView;
import net.minecraft.world.WorldView;

/**
* Convenience interface for blocks that want more stack picking context than what
* {@link Block#getPickStack(BlockView, BlockPos, BlockState)} provides.
* {@link Block#getPickStack(WorldView, BlockPos, BlockState)} provides.
*
* <p>The hit result is guaranteed to be a {@link BlockHitResult} that did not miss.
*/
Expand Down

0 comments on commit 44af70a

Please sign in to comment.