类 HealOrHarmMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.InstantenousMobEffect
net.minecraft.world.effect.HealOrHarmMobEffect
- 所有已实现的接口:
FeatureElement
,IForgeMobEffect
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.effect.MobEffect
MobEffect.AttributeTemplate
-
字段概要
字段从类继承的字段 net.minecraft.world.effect.MobEffect
CODEC, STREAM_CODEC
从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
applyEffectTick
(ServerLevel p_364873_, LivingEntity p_300845_, int p_301393_) void
applyInstantenousEffect
(ServerLevel p_365989_, Entity p_298495_, Entity p_298887_, LivingEntity p_298479_, int p_298172_, double p_298163_) 从类继承的方法 net.minecraft.world.effect.InstantenousMobEffect
isInstantenous, shouldApplyEffectTickThisTick
从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, withSoundOnAdded
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.minecraftforge.common.extensions.IForgeMobEffect
getCurativeItems, getSortOrder
-
字段详细资料
-
isHarm
private final boolean isHarm
-
-
构造器详细资料
-
HealOrHarmMobEffect
-
-
方法详细资料
-
applyEffectTick
- 覆盖:
applyEffectTick
在类中MobEffect
-
applyInstantenousEffect
public void applyInstantenousEffect(ServerLevel p_365989_, @Nullable Entity p_298495_, @Nullable Entity p_298887_, LivingEntity p_298479_, int p_298172_, double p_298163_) - 覆盖:
applyInstantenousEffect
在类中MobEffect
-