ClientPickBlockGatherCallback

public interface ClientPickBlockGatherCallback

This event is emitted at the beginning of the block picking process in order to find any applicable ItemStack. The first non-empty ItemStack will be returned, overriding vanilla behaviour.

Functions

pick
Link copied to clipboard
abstract ItemStack pick(PlayerEntity player, HitResult result)

Sources

jvm source
Link copied to clipboard