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, getCurativeItems, getGuiSortColor, getIdFromPotion, getLiquidColor, getName, getPotionById, getPotionDurationString, getPotionFromResourceLocation, getStatusIconIndex, hasStatusIcon, isBadEffect, isBeneficial, isInstant, isReady, performEffect, registerPotionAttributeModifier, registerPotions, renderHUDEffect, renderHUDEffect, renderInventoryEffect, 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