Package net.minecraft.entity.effect
Class BadOmenStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.BadOmenStatusEffect
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/entity/effect/BadOmenStatusEffectintermediary net/minecraft/class_8631official brx
-
Field Summary
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBadOmenStatusEffect(StatusEffectCategory category, int color) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyUpdateEffect(LivingEntity entity, int amplifier) booleancanApplyUpdateEffect(int duration, int amplifier) private booleantryStartRaid(ServerPlayerEntity player, ServerWorld world) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applySound, createParticle, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, 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
-
BadOmenStatusEffect
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;I)Vintermediary <init>Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)Vofficial <init>Lbsc;<init>(Lbsd;I)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 aLbsc;a(II)Z
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector named applyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/entity/LivingEntity;I)Zintermediary method_5572Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_1309;I)Zofficial aLbsc;a(Lbtr;I)Z
-
tryStartRaid
- Mappings:
Namespace Name Mixin selector named tryStartRaidLnet/minecraft/entity/effect/BadOmenStatusEffect;tryStartRaid(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_58613Lnet/minecraft/class_8631;method_58613(Lnet/minecraft/class_3222;Lnet/minecraft/class_3218;)Zofficial aLbrx;a(Larg;Larf;)Z
-