Interface ClientPickBlockApplyCallback
public interface ClientPickBlockApplyCallback
This event is emitted during the block-picking process. It can be used to
modify the returned ItemStack, as well as nullify it - returning an empty
ItemStack will cause the event to leave, and no block to be picked.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.item.ItemStack
pick
(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.hit.HitResult result, net.minecraft.item.ItemStack stack)
-
Field Details
-
EVENT
-
-
Method Details
-
pick
net.minecraft.item.ItemStack pick(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.hit.HitResult result, net.minecraft.item.ItemStack stack)
-