类 AbsorptionMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.AbsorptionMobEffect
- 所有已实现的接口:
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_364113_, LivingEntity p_298017_, int p_299434_) void
onEffectStarted
(LivingEntity p_298184_, int p_297925_) boolean
shouldApplyEffectTickThisTick
(int p_299365_, int p_298390_) 从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectAdded, 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
-
构造器详细资料
-
AbsorptionMobEffect
-
-
方法详细资料
-
applyEffectTick
- 覆盖:
applyEffectTick
在类中MobEffect
-
shouldApplyEffectTickThisTick
public boolean shouldApplyEffectTickThisTick(int p_299365_, int p_298390_) -
onEffectStarted
- 覆盖:
onEffectStarted
在类中MobEffect
-