Package net.minecraft.potion
Class InstantEffect
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Effect>
-
- net.minecraft.potion.Effect
-
- net.minecraft.potion.InstantEffect
-
- All Implemented Interfaces:
IForgeEffect
,IForgeRegistryEntry<Effect>
public class InstantEffect extends 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
Constructors Constructor Description InstantEffect(EffectType p_i50392_1_, int p_i50392_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDurationEffectTick(int p_76397_1_, int p_76397_2_)
boolean
isInstantenous()
-
Methods inherited from class net.minecraft.potion.Effect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, byId, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getOrCreateDescriptionId, isBeneficial, 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
-
-
-
-
Constructor Detail
-
InstantEffect
public InstantEffect(EffectType p_i50392_1_, int p_i50392_2_)
-
-
Method Detail
-
isInstantenous
public boolean isInstantenous()
- Overrides:
isInstantenous
in classEffect
-
isDurationEffectTick
public boolean isDurationEffectTick(int p_76397_1_, int p_76397_2_)
- Overrides:
isDurationEffectTick
in classEffect
-
-