Package net.minecraft.world.effect
Class MobEffectUtil
java.lang.Object
net.minecraft.world.effect.MobEffectUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic List<ServerPlayer>addEffectToPlayersAround(ServerLevel p_216947_, Entity p_216948_, Vec3 p_216949_, double p_216950_, MobEffectInstance p_216951_, int p_216952_) static ComponentformatDuration(MobEffectInstance p_268116_, float p_268280_, float p_314720_) static intgetDigSpeedAmplification(LivingEntity p_19587_) static booleanhasDigSpeed(LivingEntity p_19585_) static booleanhasWaterBreathing(LivingEntity p_19589_) 
- 
Constructor Details- 
MobEffectUtilpublic MobEffectUtil()
 
- 
- 
Method Details- 
formatDurationpublic static Component formatDuration(MobEffectInstance p_268116_, float p_268280_, float p_314720_) 
- 
hasDigSpeed
- 
getDigSpeedAmplification
- 
hasWaterBreathing
- 
addEffectToPlayersAroundpublic static List<ServerPlayer> addEffectToPlayersAround(ServerLevel p_216947_, @Nullable Entity p_216948_, Vec3 p_216949_, double p_216950_, MobEffectInstance p_216951_, int p_216952_) 
 
-