Package net.minecraft.potion
Class AbsorptionEffect
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Effect>
net.minecraft.potion.Effect
net.minecraft.potion.AbsorptionEffect
- All Implemented Interfaces:
IForgeEffect
,IForgeRegistryEntry<Effect>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbsorptionEffect
(EffectType p_i50395_1_, int p_i50395_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeModifiers
(LivingEntity p_111185_1_, AttributeModifierManager p_111185_2_, int p_111185_3_) void
removeAttributeModifiers
(LivingEntity p_111187_1_, AttributeModifierManager p_111187_2_, int p_111187_3_) Methods inherited from class net.minecraft.potion.Effect
addAttributeModifier, applyEffectTick, applyInstantenousEffect, byId, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getOrCreateDescriptionId, isBeneficial, isDurationEffectTick, isInstantenous
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEffect
getCurativeItems, getEffect, getGuiSortColor, renderHUDEffect, renderInventoryEffect, shouldRender, shouldRenderHUD, shouldRenderInvText
-
Constructor Details
-
AbsorptionEffect
-
-
Method Details
-
removeAttributeModifiers
public void removeAttributeModifiers(LivingEntity p_111187_1_, AttributeModifierManager p_111187_2_, int p_111187_3_) - Overrides:
removeAttributeModifiers
in classEffect
-
addAttributeModifiers
public void addAttributeModifiers(LivingEntity p_111185_1_, AttributeModifierManager p_111185_2_, int p_111185_3_) - Overrides:
addAttributeModifiers
in classEffect
-