From 44af70a453436efff9970e431e907840d76a90b9 Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Mon, 9 Oct 2023 00:23:38 +0900 Subject: [PATCH] Fix javadoc in BlockPickInteractionAware There is no immediate need to change the param type, as the world can be obtained from `player.getWorld()`. --- .../fabricmc/fabric/api/block/BlockPickInteractionAware.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/block/BlockPickInteractionAware.java b/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/block/BlockPickInteractionAware.java index 6ba0c1fd92..88cec7a672 100644 --- a/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/block/BlockPickInteractionAware.java +++ b/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/block/BlockPickInteractionAware.java @@ -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. * *
The hit result is guaranteed to be a {@link BlockHitResult} that did not miss. */