类 OozingMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.OozingMobEffect
- 所有已实现的接口:
FeatureElement
,IMobEffectExtension
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 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_338567_, int p_338409_, ToIntFunction<RandomSource> p_338888_) -
方法概要
修饰符和类型方法说明protected static int
numberOfSlimesToSpawn
(int p_341016_, OozingMobEffect.NearbySlimes p_348591_, int p_341398_) void
onMobRemoved
(ServerLevel p_376380_, LivingEntity p_338339_, int p_338421_, Entity.RemovalReason p_338677_) private void
spawnSlimeOffspring
(Level p_338724_, double p_338555_, double p_338811_, double p_338192_) 从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendInDurationTicks, getBlendOutAdvanceTicks, getBlendOutDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, onMobHurt, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, setBlendDuration, shouldApplyEffectTickThisTick, 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
-
字段详细资料
-
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_338567_, int p_338409_, ToIntFunction<RandomSource> p_338888_)
-
-
方法详细资料
-
numberOfSlimesToSpawn
protected static int numberOfSlimesToSpawn(int p_341016_, OozingMobEffect.NearbySlimes p_348591_, int p_341398_) -
onMobRemoved
public void onMobRemoved(ServerLevel p_376380_, LivingEntity p_338339_, int p_338421_, Entity.RemovalReason p_338677_) - 覆盖:
onMobRemoved
在类中MobEffect
-
spawnSlimeOffspring
private void spawnSlimeOffspring(Level p_338724_, double p_338555_, double p_338811_, double p_338192_)
-