Package net.minecraft.entity.effect
Class OozingStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.OozingStatusEffect
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/entity/effect/OozingStatusEffectintermediary net/minecraft/class_9456official bro
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final intprivate final ToIntFunction<Random> Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOozingStatusEffect(StatusEffectCategory category, int color, ToIntFunction<Random> slimeCountFunction) -
Method Summary
Modifier and TypeMethodDescriptionprotected static intgetSlimesToSpawn(int maxEntityCramming, int nearbySlimes, int potentialSlimes) voidonEntityRemoval(LivingEntity entity, int amplifier, Entity.RemovalReason reason) private voidspawnSlime(World world, double x, double y, double z) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applySound, applyUpdateEffect, canApplyUpdateEffect, createParticle, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, onApplied, onEntityDamage, onRemoved, playApplySound, requiresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
field_51373
private static final int field_51373- See Also:
- Mappings:
Namespace Name Mixin selector named field_51373Lnet/minecraft/entity/effect/OozingStatusEffect;field_51373:Iintermediary field_51373Lnet/minecraft/class_9456;field_51373:Iofficial bLbro;b:I
-
field_51372
public static final int field_51372- See Also:
- Mappings:
Namespace Name Mixin selector named field_51372Lnet/minecraft/entity/effect/OozingStatusEffect;field_51372:Iintermediary field_51372Lnet/minecraft/class_9456;field_51372:Iofficial aLbro;a:I
-
slimeCountFunction
- Mappings:
Namespace Name Mixin selector named slimeCountFunctionLnet/minecraft/entity/effect/OozingStatusEffect;slimeCountFunction:Ljava/util/function/ToIntFunction;intermediary field_50122Lnet/minecraft/class_9456;field_50122:Ljava/util/function/ToIntFunction;official cLbro;c:Ljava/util/function/ToIntFunction;
-
-
Constructor Details
-
OozingStatusEffect
protected OozingStatusEffect(StatusEffectCategory category, int color, ToIntFunction<Random> slimeCountFunction) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/effect/OozingStatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;ILjava/util/function/ToIntFunction;)Vintermediary <init>Lnet/minecraft/class_9456;<init>(Lnet/minecraft/class_4081;ILjava/util/function/ToIntFunction;)Vofficial <init>Lbro;<init>(Lbrk;ILjava/util/function/ToIntFunction;)V
-
-
Method Details
-
getSlimesToSpawn
protected static int getSlimesToSpawn(int maxEntityCramming, int nearbySlimes, int potentialSlimes) - Mappings:
Namespace Name Mixin selector named getSlimesToSpawnLnet/minecraft/entity/effect/OozingStatusEffect;getSlimesToSpawn(III)Iintermediary method_59652Lnet/minecraft/class_9456;method_59652(III)Iofficial aLbro;a(III)I
-
onEntityRemoval
- Overrides:
onEntityRemovalin classStatusEffect- Mappings:
Namespace Name Mixin selector named onEntityRemovalLnet/minecraft/entity/effect/StatusEffect;onEntityRemoval(Lnet/minecraft/entity/LivingEntity;ILnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_58617Lnet/minecraft/class_1291;method_58617(Lnet/minecraft/class_1309;ILnet/minecraft/class_1297$class_5529;)Vofficial aLbrj;a(Lbsy;ILbsd$c;)V
-
spawnSlime
- Mappings:
Namespace Name Mixin selector named spawnSlimeLnet/minecraft/entity/effect/OozingStatusEffect;spawnSlime(Lnet/minecraft/world/World;DDD)Vintermediary method_58627Lnet/minecraft/class_9456;method_58627(Lnet/minecraft/class_1937;DDD)Vofficial aLbro;a(Ldcd;DDD)V
-