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/OozingStatusEffect
intermediary net/minecraft/class_9456
official bsg
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final int
private final ToIntFunction
<Random> Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
ModifierConstructorDescriptionprotected
OozingStatusEffect
(StatusEffectCategory category, int color, ToIntFunction<Random> slimeCountFunction) -
Method Summary
Modifier and TypeMethodDescriptionprotected static int
getSlimesToSpawn
(int maxEntityCramming, int nearbySlimes, int potentialSlimes) void
onEntityRemoval
(LivingEntity entity, int amplifier, Entity.RemovalReason reason) private void
spawnSlime
(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, requires
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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_51373
Lnet/minecraft/entity/effect/OozingStatusEffect;field_51373:I
intermediary field_51373
Lnet/minecraft/class_9456;field_51373:I
official b
Lbsg;b:I
-
field_51372
public static final int field_51372- See Also:
- Mappings:
Namespace Name Mixin selector named field_51372
Lnet/minecraft/entity/effect/OozingStatusEffect;field_51372:I
intermediary field_51372
Lnet/minecraft/class_9456;field_51372:I
official a
Lbsg;a:I
-
slimeCountFunction
- Mappings:
Namespace Name Mixin selector named slimeCountFunction
Lnet/minecraft/entity/effect/OozingStatusEffect;slimeCountFunction:Ljava/util/function/ToIntFunction;
intermediary field_50122
Lnet/minecraft/class_9456;field_50122:Ljava/util/function/ToIntFunction;
official c
Lbsg;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;)V
intermediary <init>
Lnet/minecraft/class_9456;<init>(Lnet/minecraft/class_4081;ILjava/util/function/ToIntFunction;)V
official <init>
Lbsg;<init>(Lbsc;ILjava/util/function/ToIntFunction;)V
-
-
Method Details
-
getSlimesToSpawn
protected static int getSlimesToSpawn(int maxEntityCramming, int nearbySlimes, int potentialSlimes) - Mappings:
Namespace Name Mixin selector named getSlimesToSpawn
Lnet/minecraft/entity/effect/OozingStatusEffect;getSlimesToSpawn(III)I
intermediary method_59652
Lnet/minecraft/class_9456;method_59652(III)I
official a
Lbsg;a(III)I
-
onEntityRemoval
- Overrides:
onEntityRemoval
in classStatusEffect
- Mappings:
Namespace Name Mixin selector named onEntityRemoval
Lnet/minecraft/entity/effect/StatusEffect;onEntityRemoval(Lnet/minecraft/entity/LivingEntity;ILnet/minecraft/entity/Entity$RemovalReason;)V
intermediary method_58617
Lnet/minecraft/class_1291;method_58617(Lnet/minecraft/class_1309;ILnet/minecraft/class_1297$class_5529;)V
official a
Lbsb;a(Lbtq;ILbsv$c;)V
-
spawnSlime
- Mappings:
Namespace Name Mixin selector named spawnSlime
Lnet/minecraft/entity/effect/OozingStatusEffect;spawnSlime(Lnet/minecraft/world/World;DDD)V
intermediary method_58627
Lnet/minecraft/class_9456;method_58627(Lnet/minecraft/class_1937;DDD)V
official a
Lbsg;a(Ldbz;DDD)V
-