public class AvoidanceEffect
extends net.minecraft.potion.Effect
Constructor and Description |
---|
AvoidanceEffect() |
Modifier and Type | Method and Description |
---|---|
void |
applyEffectTick(net.minecraft.entity.LivingEntity entity,
int amplifier) |
boolean |
isDurationEffectTick(int duration,
int amplifier) |
boolean |
isInstantenous() |
addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, byId, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getOrCreateDescriptionId, isBeneficial, removeAttributeModifiers
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public void applyEffectTick(net.minecraft.entity.LivingEntity entity, int amplifier)
applyEffectTick
in class net.minecraft.potion.Effect
public boolean isDurationEffectTick(int duration, int amplifier)
isDurationEffectTick
in class net.minecraft.potion.Effect
public boolean isInstantenous()
isInstantenous
in class net.minecraft.potion.Effect