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>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDurationEffectTick
(int p_76397_1_, int p_76397_2_) boolean
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 Details
-
InstantEffect
-
-
Method Details
-
isInstantenous
public boolean isInstantenous()- Overrides:
isInstantenous
in classEffect
-
isDurationEffectTick
public boolean isDurationEffectTick(int p_76397_1_, int p_76397_2_) - Overrides:
isDurationEffectTick
in classEffect
-