@Override
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int face, float xOffset, float yOffset, float zOffset) {
if (stack.itemID == MaterialData.flint.getRawId()) {
int damage = stack.getItemDamage();
if (damage >= 1024) {
CustomBlock block = MaterialData.getCustomBlock(damage);
// Item with no block component, return success
if (block == null) {
return true;
}
if (onItemUse(stack, block, player, world, x, y, z, face, xOffset, yOffset, zOffset)) {