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

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.item.ItemStack
    pick​(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.hit.HitResult result, net.minecraft.item.ItemStack stack)
     
  • Field Details

  • 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)