类 BadOmenMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.BadOmenMobEffect
- 所有已实现的接口:
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_368915_, LivingEntity p_299568_, int p_299125_) boolean
shouldApplyEffectTickThisTick
(int p_297444_, int p_300866_) 从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, 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
-
构造器详细资料
-
BadOmenMobEffect
-
-
方法详细资料
-
shouldApplyEffectTickThisTick
public boolean shouldApplyEffectTickThisTick(int p_297444_, int p_300866_) -
applyEffectTick
- 覆盖:
applyEffectTick
在类中MobEffect
-