public final class StatusEffectUtil extends Object
Constructor and Description |
---|
StatusEffectUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
durationToString(StatusEffectInstance effect,
float multiplier) |
static int |
getHasteAmplifier(LivingEntity entity) |
static boolean |
hasHaste(LivingEntity entity) |
static boolean |
hasWaterBreathing(LivingEntity entity) |
@Environment(value=CLIENT) public static String durationToString(StatusEffectInstance effect, float multiplier)
public static boolean hasHaste(LivingEntity entity)
public static int getHasteAmplifier(LivingEntity entity)
public static boolean hasWaterBreathing(LivingEntity entity)