summaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/morbing/MorbArrowItem.java
blob: 1840320949bbd487b252905685c9b2c58ddb9476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package moe.nea.morbing;

import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.projectile.PersistentProjectileEntity;
import net.minecraft.item.ArrowItem;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public class MorbArrowItem extends ArrowItem {
    public MorbArrowItem(Item.Settings settings) {
        super(settings);
    }

    @Override
    public PersistentProjectileEntity createArrow(World world, ItemStack stack, LivingEntity shooter) {
        return new MorbArrowEntity(shooter, world);
    }
}