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, getIdFromPotion, getLiquidColor, getName, getPotionById, getPotionDurationString, getPotionFromResourceLocation, getStatusIconIndex, hasStatusIcon, isBadEffect, isBeneficial, isInstant, isReady, performEffect, registerPotionAttributeModifier, registerPotions, renderHUDEffect, renderInventoryEffect, setBeneficial, setEffectiveness, setIconIndex, setPotionName, shouldRender, shouldRenderHUD, shouldRenderInvTextgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameprotected PotionAbsorption(boolean isBadEffectIn,
int liquidColorIn)
public void removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn, AbstractAttributeMap attributeMapIn, int amplifier)
removeAttributesModifiersFromEntity in class Potionpublic void applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn, AbstractAttributeMap attributeMapIn, int amplifier)
applyAttributesModifiersToEntity in class Potion