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 bjw, final ItemStack ben, final LivingEntity akz) {
        final Arrow ayp5 = new Arrow(bjw, akz);
        ayp5.setEffectsFromItem(ben);
        return ayp5;
    }
}
