Package net.minecraft.entity.effect
Class StatusEffectUtil
java.lang.Object
net.minecraft.entity.effect.StatusEffectUtil
- Mappings:
Namespace Name named net/minecraft/entity/effect/StatusEffectUtil
intermediary net/minecraft/class_1292
official bsf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<ServerPlayerEntity> addEffectToPlayersWithinDistance
(ServerWorld world, @Nullable Entity entity, Vec3d origin, double range, StatusEffectInstance statusEffectInstance, int duration) static Text
getDurationText
(StatusEffectInstance effect, float multiplier, float tickRate) static int
getHasteAmplifier
(LivingEntity entity) static boolean
hasHaste
(LivingEntity entity) static boolean
hasWaterBreathing
(LivingEntity entity)
-
Constructor Details
-
StatusEffectUtil
public StatusEffectUtil()
-
-
Method Details
-
getDurationText
- Mappings:
Namespace Name Mixin selector named getDurationText
Lnet/minecraft/entity/effect/StatusEffectUtil;getDurationText(Lnet/minecraft/entity/effect/StatusEffectInstance;FF)Lnet/minecraft/text/Text;
intermediary method_5577
Lnet/minecraft/class_1292;method_5577(Lnet/minecraft/class_1293;FF)Lnet/minecraft/class_2561;
official a
Lbsf;a(Lbse;FF)Lxp;
-
hasHaste
- Mappings:
Namespace Name Mixin selector named hasHaste
Lnet/minecraft/entity/effect/StatusEffectUtil;hasHaste(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_5576
Lnet/minecraft/class_1292;method_5576(Lnet/minecraft/class_1309;)Z
official a
Lbsf;a(Lbtr;)Z
-
getHasteAmplifier
- Mappings:
Namespace Name Mixin selector named getHasteAmplifier
Lnet/minecraft/entity/effect/StatusEffectUtil;getHasteAmplifier(Lnet/minecraft/entity/LivingEntity;)I
intermediary method_5575
Lnet/minecraft/class_1292;method_5575(Lnet/minecraft/class_1309;)I
official b
Lbsf;b(Lbtr;)I
-
hasWaterBreathing
- Mappings:
Namespace Name Mixin selector named hasWaterBreathing
Lnet/minecraft/entity/effect/StatusEffectUtil;hasWaterBreathing(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_5574
Lnet/minecraft/class_1292;method_5574(Lnet/minecraft/class_1309;)Z
official c
Lbsf;c(Lbtr;)Z
-
addEffectToPlayersWithinDistance
public static List<ServerPlayerEntity> addEffectToPlayersWithinDistance(ServerWorld world, @Nullable @Nullable Entity entity, Vec3d origin, double range, StatusEffectInstance statusEffectInstance, int duration) - Mappings:
Namespace Name Mixin selector named addEffectToPlayersWithinDistance
Lnet/minecraft/entity/effect/StatusEffectUtil;addEffectToPlayersWithinDistance(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;DLnet/minecraft/entity/effect/StatusEffectInstance;I)Ljava/util/List;
intermediary method_42143
Lnet/minecraft/class_1292;method_42143(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;DLnet/minecraft/class_1293;I)Ljava/util/List;
official a
Lbsf;a(Larf;Lbsw;Levt;DLbse;I)Ljava/util/List;
-