类 AbsorptionStatusEffect
- java.lang.Object
-
- net.minecraft.entity.effect.StatusEffect
-
- net.minecraft.entity.effect.AbsorptionStatusEffect
-
public class AbsorptionStatusEffect extends StatusEffect
- Mappings:
Namespace Name official arzintermediary net/minecraft/class_1288named net/minecraft/entity/effect/AbsorptionStatusEffect
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbsorptionStatusEffect(StatusEffectType type, int color)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidonApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)voidonRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier)-
从类继承的方法 net.minecraft.entity.effect.StatusEffect
addAttributeModifier, adjustModifierAmount, applyInstantEffect, applyUpdateEffect, byRawId, canApplyUpdateEffect, getAttributeModifiers, getColor, getName, getRawId, getTranslationKey, getType, isBeneficial, isInstant, loadTranslationKey
-
-
-
-
构造器详细资料
-
AbsorptionStatusEffect
protected AbsorptionStatusEffect(StatusEffectType type, int color)
- Mappings:
Namespace Name Mixin selector official <init>Lasd;<init>(Lase;I)Vintermediary <init>Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)Vnamed <init>Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectType;I)V
-
-
方法详细资料
-
onRemoved
public void onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier)
- 覆盖:
onRemoved在类中StatusEffect- Mappings:
Namespace Name Mixin selector official aLasd;a(Lasy;Latv;I)Vintermediary method_5562Lnet/minecraft/class_1291;method_5562(Lnet/minecraft/class_1309;Lnet/minecraft/class_5131;I)Vnamed onRemovedLnet/minecraft/entity/effect/StatusEffect;onRemoved(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/attribute/AttributeContainer;I)V
-
onApplied
public void onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)
- 覆盖:
onApplied在类中StatusEffect- Mappings:
Namespace Name Mixin selector official bLasd;b(Lasy;Latv;I)Vintermediary method_5555Lnet/minecraft/class_1291;method_5555(Lnet/minecraft/class_1309;Lnet/minecraft/class_5131;I)Vnamed onAppliedLnet/minecraft/entity/effect/StatusEffect;onApplied(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/attribute/AttributeContainer;I)V
-
-