package net.minecraft.world.item;

import net.minecraft.world.entity.projectile.Arrow;
import net.minecraft.world.entity.projectile.AbstractArrow;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.level.Level;

public class ArrowItem extends Item {
    public ArrowItem(final Properties a) {
        super(a);
    }
    
    public AbstractArrow createArrow(final Level bqb, final ItemStack bki, final LivingEntity aoy) {
        final Arrow bei5 = new Arrow(bqb, aoy);
        bei5.setEffectsFromItem(bki);
        return bei5;
    }
}
