Class RaidOmenMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.RaidOmenMobEffect
- All Implemented Interfaces:
FeatureElement, IMobEffectExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class MobEffect
MobEffect.AttributeTemplate -
Field Summary
Fields inherited from class MobEffect
CODEC, STREAM_CODECFields inherited from interface FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRaidOmenMobEffect(MobEffectCategory category, int color, ParticleOptions particleOptions) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyEffectTick(ServerLevel level, LivingEntity mob, int amplification) booleanshouldApplyEffectTickThisTick(int remainingDuration, int amplification) Methods inherited from class MobEffect
addAttributeModifier, addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendInDurationTicks, getBlendOutAdvanceTicks, getBlendOutDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, setBlendDuration, withSoundOnAddedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FeatureElement
isEnabledMethods inherited from interface IMobEffectExtension
getSortOrder
-
Constructor Details
-
RaidOmenMobEffect
-
-
Method Details
-
shouldApplyEffectTickThisTick
public boolean shouldApplyEffectTickThisTick(int remainingDuration, int amplification) - Overrides:
shouldApplyEffectTickThisTickin classMobEffect
-
applyEffectTick
- Overrides:
applyEffectTickin classMobEffect
-