Package net.minecraft.entity.effect
Class StatusEffectUtil
java.lang.Object
net.minecraft.entity.effect.StatusEffectUtil
public final class StatusEffectUtil extends Object
- Mappings:
Namespace Name official aqq
intermediary net/minecraft/class_1292
named net/minecraft/entity/effect/StatusEffectUtil
-
Constructor Summary
Constructors Constructor Description StatusEffectUtil()
-
Method Summary
Modifier and Type Method Description static String
durationToString(StatusEffectInstance effect, float multiplier)
static int
getHasteAmplifier(LivingEntity entity)
static boolean
hasHaste(LivingEntity entity)
static boolean
hasWaterBreathing(LivingEntity entity)
-
Constructor Details
-
StatusEffectUtil
public StatusEffectUtil()
-
-
Method Details
-
durationToString
@Environment(CLIENT) public static String durationToString(StatusEffectInstance effect, float multiplier)- Mappings:
Namespace Name Mixin selector official a
Laqq;a(Laqp;F)Ljava/lang/String;
intermediary method_5577
Lnet/minecraft/class_1292;method_5577(Lnet/minecraft/class_1293;F)Ljava/lang/String;
named durationToString
Lnet/minecraft/entity/effect/StatusEffectUtil;durationToString(Lnet/minecraft/entity/effect/StatusEffectInstance;F)Ljava/lang/String;
-
hasHaste
- Mappings:
Namespace Name Mixin selector official a
Laqq;a(Lari;)Z
intermediary method_5576
Lnet/minecraft/class_1292;method_5576(Lnet/minecraft/class_1309;)Z
named hasHaste
Lnet/minecraft/entity/effect/StatusEffectUtil;hasHaste(Lnet/minecraft/entity/LivingEntity;)Z
-
getHasteAmplifier
- Mappings:
Namespace Name Mixin selector official b
Laqq;b(Lari;)I
intermediary method_5575
Lnet/minecraft/class_1292;method_5575(Lnet/minecraft/class_1309;)I
named getHasteAmplifier
Lnet/minecraft/entity/effect/StatusEffectUtil;getHasteAmplifier(Lnet/minecraft/entity/LivingEntity;)I
-
hasWaterBreathing
- Mappings:
Namespace Name Mixin selector official c
Laqq;c(Lari;)Z
intermediary method_5574
Lnet/minecraft/class_1292;method_5574(Lnet/minecraft/class_1309;)Z
named hasWaterBreathing
Lnet/minecraft/entity/effect/StatusEffectUtil;hasWaterBreathing(Lnet/minecraft/entity/LivingEntity;)Z
-