public class PotionAbsorption extends Potion
absorption, blindness, confusion, damageBoost, digSlowdown, digSpeed, field_180143_D, field_180144_E, field_180145_F, field_180146_G, field_180147_A, field_180148_B, field_180149_C, field_180151_b, field_180153_z, fireResistance, harm, heal, healthBoost, hunger, id, invisibility, jump, moveSlowdown, moveSpeed, nightVision, poison, potionTypes, regeneration, resistance, saturation, waterBreathing, weakness, wither
Modifier | Constructor and Description |
---|---|
protected |
PotionAbsorption(int potionID,
ResourceLocation location,
boolean badEffect,
int potionColor) |
Modifier and Type | Method and Description |
---|---|
void |
applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn,
BaseAttributeMap p_111185_2_,
int amplifier) |
void |
removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn,
BaseAttributeMap p_111187_2_,
int amplifier) |
affectEntity, getAttributeModifierAmount, getAttributeModifierMap, getDurationString, getEffectiveness, getId, getLiquidColor, getName, getPotionFromResourceLocation, getPotionLocations, getStatusIconIndex, hasStatusIcon, isBadEffect, isInstant, isReady, isUsable, performEffect, registerPotionAttributeModifier, renderInventoryEffect, setEffectiveness, setIconIndex, setPotionName, shouldRender, shouldRenderInvText
protected PotionAbsorption(int potionID, ResourceLocation location, boolean badEffect, int potionColor)
public void removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn, BaseAttributeMap p_111187_2_, int amplifier)
removeAttributesModifiersFromEntity
in class Potion
public void applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn, BaseAttributeMap p_111185_2_, int amplifier)
applyAttributesModifiersToEntity
in class Potion