public class PotionAbsorption extends Potion
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
delegate
Modifier | Constructor and Description |
---|---|
protected |
PotionAbsorption(boolean isBadEffectIn,
int liquidColorIn) |
Modifier and Type | Method and Description |
---|---|
void |
applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
void |
removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn,
AbstractAttributeMap attributeMapIn,
int amplifier) |
affectEntity, getAttributeModifierAmount, getAttributeModifierMap, getIdFromPotion, getLiquidColor, getName, getPotionById, getPotionDurationString, getPotionFromResourceLocation, getStatusIconIndex, hasStatusIcon, isBadEffect, isBeneficial, isInstant, isReady, performEffect, registerPotionAttributeModifier, registerPotions, renderHUDEffect, renderInventoryEffect, setBeneficial, setEffectiveness, setIconIndex, setPotionName, shouldRender, shouldRenderHUD, shouldRenderInvText
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
protected PotionAbsorption(boolean isBadEffectIn, int liquidColorIn)
public void removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn, AbstractAttributeMap attributeMapIn, int amplifier)
removeAttributesModifiersFromEntity
in class Potion
public void applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn, AbstractAttributeMap attributeMapIn, int amplifier)
applyAttributesModifiersToEntity
in class Potion