All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
StatusEffect |
addAttributeModifier(EntityAttribute attribute,
String uuid,
double amount,
EntityAttributeModifier.Operation operation) |
double |
adjustModifierAmount(int amplifier,
EntityAttributeModifier modifier) |
void |
applyInstantEffect(Entity source,
Entity attacker,
LivingEntity target,
int amplifier,
double proximity) |
void |
applyUpdateEffect(LivingEntity entity,
int amplifier) |
static StatusEffect |
byRawId(int rawId) |
boolean |
canApplyUpdateEffect(int duration,
int amplifier) |
Map<EntityAttribute,EntityAttributeModifier> |
getAttributeModifiers() |
int |
getColor() |
Text |
getName() |
static int |
getRawId(StatusEffect type) |
String |
getTranslationKey() |
StatusEffectType |
getType() |
boolean |
isBeneficial() |
boolean |
isInstant() |
protected String |
loadTranslationKey() |
void |
onApplied(LivingEntity entity,
AttributeContainer attributes,
int amplifier) |
void |
onRemoved(LivingEntity entity,
AttributeContainer attributes,
int amplifier) |