类 OozingMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.OozingMobEffect
- 所有已实现的接口:
FeatureElement
,IForgeMobEffect
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.effect.MobEffect
MobEffect.AttributeTemplate
-
字段概要
字段从类继承的字段 net.minecraft.world.effect.MobEffect
CODEC, STREAM_CODEC
从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
构造器概要
构造器限定符构造器说明protected
OozingMobEffect
(MobEffectCategory p_333140_, int p_332642_, ToIntFunction<RandomSource> p_334869_) -
方法概要
修饰符和类型方法说明protected static int
numberOfSlimesToSpawn
(int p_329727_, OozingMobEffect.NearbySlimes p_343265_, int p_333663_) void
onMobRemoved
(ServerLevel p_362223_, LivingEntity p_329549_, int p_329953_, Entity.RemovalReason p_332875_) private void
spawnSlimeOffspring
(Level p_335546_, double p_331630_, double p_328143_, double p_332724_) 从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, onMobHurt, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, shouldApplyEffectTickThisTick, 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
-
字段详细资料
-
RADIUS_TO_CHECK_SLIMES
private static final int RADIUS_TO_CHECK_SLIMES- 另请参阅:
-
SLIME_SIZE
public static final int SLIME_SIZE- 另请参阅:
-
spawnedCount
-
-
构造器详细资料
-
OozingMobEffect
protected OozingMobEffect(MobEffectCategory p_333140_, int p_332642_, ToIntFunction<RandomSource> p_334869_)
-
-
方法详细资料
-
numberOfSlimesToSpawn
protected static int numberOfSlimesToSpawn(int p_329727_, OozingMobEffect.NearbySlimes p_343265_, int p_333663_) -
onMobRemoved
public void onMobRemoved(ServerLevel p_362223_, LivingEntity p_329549_, int p_329953_, Entity.RemovalReason p_332875_) - 覆盖:
onMobRemoved
在类中MobEffect
-
spawnSlimeOffspring
private void spawnSlimeOffspring(Level p_335546_, double p_331630_, double p_328143_, double p_332724_)
-