18 lines
542 B
Java
18 lines
542 B
Java
package net.minecraft.world.item;
|
|
|
|
import net.minecraft.world.entity.projectile.SpectralArrow;
|
|
import net.minecraft.world.entity.projectile.AbstractArrow;
|
|
import net.minecraft.world.entity.LivingEntity;
|
|
import net.minecraft.world.level.Level;
|
|
|
|
public class SpectralArrowItem extends ArrowItem {
|
|
public SpectralArrowItem(final Properties a) {
|
|
super(a);
|
|
}
|
|
|
|
@Override
|
|
public AbstractArrow createArrow(final Level bjt, final ItemStack bek, final LivingEntity akw) {
|
|
return new SpectralArrow(bjt, akw);
|
|
}
|
|
}
|