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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDurationEffectTick(int p_76397_1_, int p_76397_2_) booleanMethods inherited from class net.minecraft.potion.Effect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, byId, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getOrCreateDescriptionId, isBeneficial, removeAttributeModifiersMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isInstantenousin classEffect
-
isDurationEffectTick
public boolean isDurationEffectTick(int p_76397_1_, int p_76397_2_) - Overrides:
isDurationEffectTickin classEffect
-