package ttftcuts.physis.common.artifact.effect; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import ttftcuts.physis.api.internal.IArtifactHandler.CooldownCategory; import ttftcuts.physis.common.artifact.PhysisArtifacts; public class EffectForce extends AbstractEffect { public double force; public EffectForce(String name, double force) { super(name); this.force = force; } @Override public void doEffectChecked(NBTTagCompound tag, ItemStack stack, EntityLivingBase target, EntityLivingBase source, int id, CooldownCategory cooldowntype) { PhysisArtifacts.puntEntity(target, force, 0); } }