类 HungerMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.HungerMobEffect
- 所有已实现的接口:
FeatureElement
,IMobEffectExtension
-
嵌套类概要
从类继承的嵌套类/接口 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_376386_, LivingEntity p_296407_, int p_296356_) boolean
shouldApplyEffectTickThisTick
(int p_295391_, int p_294280_) 从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendInDurationTicks, getBlendOutAdvanceTicks, getBlendOutDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, setBlendDuration, withSoundOnAdded
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.neoforged.neoforge.common.extensions.IMobEffectExtension
getSortOrder
-
构造器详细资料
-
HungerMobEffect
-
-
方法详细资料
-
applyEffectTick
- 覆盖:
applyEffectTick
在类中MobEffect
-
shouldApplyEffectTickThisTick
public boolean shouldApplyEffectTickThisTick(int p_295391_, int p_294280_)
-