Package net.minecraft.entity.effect
Class RaidOmenStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.RaidOmenStatusEffect
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/entity/effect/RaidOmenStatusEffectintermediary net/minecraft/class_9457official buj
-
Field Summary
Fields inherited from class net.minecraft.entity.effect.StatusEffect
ENTRY_CODEC, ENTRY_PACKET_CODECFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRaidOmenStatusEffect(StatusEffectCategory category, int color, ParticleEffect particleEffect) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyUpdateEffect(ServerWorld world, LivingEntity entity, int amplifier) booleancanApplyUpdateEffect(int duration, int amplifier) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applySound, createParticle, forEachAttributeModifier, getCategory, getColor, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, method_66222, method_66223, method_66224, method_66225, method_66226, onApplied, onApplied, onEntityDamage, onEntityRemoval, onRemoved, playApplySound, requiresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
RaidOmenStatusEffect
protected RaidOmenStatusEffect(StatusEffectCategory category, int color, ParticleEffect particleEffect) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;ILnet/minecraft/particle/ParticleEffect;)Vintermediary <init>Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;ILnet/minecraft/class_2394;)Vofficial <init>Lbuc;<init>(Lbud;ILlr;)V
-
-
Method Details
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector named canApplyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Zintermediary method_5552Lnet/minecraft/class_1291;method_5552(II)Zofficial aLbuc;a(II)Z
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector named applyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;I)Zintermediary method_5572Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;I)Zofficial aLbuc;a(Lard;Lbvy;I)Z
-