package slimeknights.tconstruct.library.traits;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.world.World;
import javax.annotation.Nullable;
import slimeknights.tconstruct.library.entity.EntityProjectileBase;
public abstract class AbstractProjectileTrait extends AbstractTrait implements IProjectileTrait {
public AbstractProjectileTrait(String identifier, TextFormatting color) {
super(identifier, color);
}
public AbstractProjectileTrait(String identifier, int color) {
super(identifier, color);
}
@Override
public void onLaunch(EntityProjectileBase projectileBase, World world, @Nullable EntityLivingBase shooter) {
}
@Override
public void onProjectileUpdate(EntityProjectileBase projectile, World world, ItemStack toolStack) {
}
@Override
public void onMovement(EntityProjectileBase projectile, World world, double slowdown) {
}
}