Package net.minecraft.potion
Class AttackDamageEffect
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Effect>
net.minecraft.potion.Effect
net.minecraft.potion.AttackDamageEffect
- 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
AttackDamageEffect
(EffectType p_i50394_1_, int p_i50394_2_, double p_i50394_3_) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getAttributeModifierValue
(int p_111183_1_, AttributeModifier p_111183_2_) Methods inherited from class net.minecraft.potion.Effect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, byId, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getId, getOrCreateDescriptionId, isBeneficial, isDurationEffectTick, isInstantenous, removeAttributeModifiers
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
-
Field Details
-
multiplier
protected final double multiplier
-
-
Constructor Details
-
AttackDamageEffect
-
-
Method Details
-
getAttributeModifierValue
- Overrides:
getAttributeModifierValue
in classEffect
-