Package de.cech12.colorblindness
Class ColorEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
de.cech12.colorblindness.ColorEffect
- All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement,net.minecraftforge.common.extensions.IForgeMobEffect
public class ColorEffect
extends net.minecraft.world.effect.MobEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorEffectstatic final ColorEffectstatic final ColorEffectstatic final ColorEffectstatic final ColorEffectstatic final ColorEffectstatic final ColorEffectstatic final ColorEffectFields inherited from class net.minecraft.world.effect.MobEffect
CODEC, STREAM_CODECFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldApplyEffectTickThisTick(int duration, int amplifier) Methods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendInDurationTicks, getBlendOutAdvanceTicks, getBlendOutDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, setBlendDuration, withSoundOnAddedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface net.minecraftforge.common.extensions.IForgeMobEffect
getCurativeItems, getSortOrder
-
Field Details
-
ACHROMATOMALY
-
ACHROMATOPSIA
-
DEUTERANOMALY
-
DEUTERANOPIA
-
PROTANOMALY
-
PROTANOPIA
-
TRITANOMALY
-
TRITANOPIA
-
-
Constructor Details
-
ColorEffect
protected ColorEffect(int red, int green, int blue)
-
-
Method Details
-
shouldApplyEffectTickThisTick
public boolean shouldApplyEffectTickThisTick(int duration, int amplifier) - Overrides:
shouldApplyEffectTickThisTickin classnet.minecraft.world.effect.MobEffect
-