Interface 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.
  • 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)
     
  • Field Details

  • Method Details

    • pick

      net.minecraft.item.ItemStack pick(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.hit.HitResult result)