Package net.minecraft.entity.effect
Class InstantHealthOrDamageStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.InstantStatusEffect
net.minecraft.entity.effect.InstantHealthOrDamageStatusEffect
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/entity/effect/InstantHealthOrDamageStatusEffectintermediary net/minecraft/class_8632official bwc
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionInstantHealthOrDamageStatusEffect(StatusEffectCategory category, int color, boolean damage) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyInstantEffect(ServerWorld world, @Nullable Entity effectEntity, @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity) booleanapplyUpdateEffect(ServerWorld world, LivingEntity entity, int amplifier) Methods inherited from class net.minecraft.entity.effect.InstantStatusEffect
canApplyUpdateEffect, isInstantMethods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applySound, createParticle, fadeTicks, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeInTicks, getFadeOutThresholdTicks, getFadeOutTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, 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
-
Field Details
-
damage
private final boolean damage- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/effect/InstantHealthOrDamageStatusEffect;damage:Zintermediary field_45103Lnet/minecraft/class_8632;field_45103:Zofficial cLbwc;c:Z
-
-
Constructor Details
-
InstantHealthOrDamageStatusEffect
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/effect/InstantHealthOrDamageStatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;IZ)Vintermediary <init>Lnet/minecraft/class_8632;<init>(Lnet/minecraft/class_4081;IZ)Vofficial <init>Lbwc;<init>(Lbwh;IZ)V
-
-
Method Details
-
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 aLbwg;a(Lasb;Lbyf;I)Z
-
applyInstantEffect
public void applyInstantEffect(ServerWorld world, @Nullable @Nullable Entity effectEntity, @Nullable @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity) - Overrides:
applyInstantEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector named applyInstantEffectLnet/minecraft/entity/effect/StatusEffect;applyInstantEffect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/LivingEntity;ID)Vintermediary method_5564Lnet/minecraft/class_1291;method_5564(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_1309;ID)Vofficial aLbwg;a(Lasb;Lbxe;Lbxe;Lbyf;ID)V
-