Package net.minecraft.entity.ai
Class TargetPredicate
java.lang.Object
net.minecraft.entity.ai.TargetPredicate
- Mappings:
Namespace Name official bmf
intermediary net/minecraft/class_4051
named net/minecraft/entity/ai/TargetPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private double
static final TargetPredicate
private static final double
private @Nullable Predicate<LivingEntity>
private boolean
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
static TargetPredicate
static TargetPredicate
setBaseMaxDistance
(double baseMaxDistance) setPredicate
(@Nullable Predicate<LivingEntity> predicate) boolean
test
(@Nullable LivingEntity baseEntity, LivingEntity targetEntity)
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official a
Lbmf;a:Lbmf;
intermediary field_18092
Lnet/minecraft/class_4051;field_18092:Lnet/minecraft/class_4051;
named DEFAULT
Lnet/minecraft/entity/ai/TargetPredicate;DEFAULT:Lnet/minecraft/entity/ai/TargetPredicate;
-
MIN_DISTANCE
private static final double MIN_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbmf;b:D
intermediary field_30263
Lnet/minecraft/class_4051;field_30263:D
named MIN_DISTANCE
Lnet/minecraft/entity/ai/TargetPredicate;MIN_DISTANCE:D
-
attackable
private final boolean attackable- Mappings:
Namespace Name Mixin selector official c
Lbmf;c:Z
intermediary field_33720
Lnet/minecraft/class_4051;field_33720:Z
named attackable
Lnet/minecraft/entity/ai/TargetPredicate;attackable:Z
-
baseMaxDistance
private double baseMaxDistance- Mappings:
Namespace Name Mixin selector official d
Lbmf;d:D
intermediary field_18093
Lnet/minecraft/class_4051;field_18093:D
named baseMaxDistance
Lnet/minecraft/entity/ai/TargetPredicate;baseMaxDistance:D
-
respectsVisibility
private boolean respectsVisibility- Mappings:
Namespace Name Mixin selector official e
Lbmf;e:Z
intermediary field_33721
Lnet/minecraft/class_4051;field_33721:Z
named respectsVisibility
Lnet/minecraft/entity/ai/TargetPredicate;respectsVisibility:Z
-
useDistanceScalingFactor
private boolean useDistanceScalingFactor- Mappings:
Namespace Name Mixin selector official f
Lbmf;f:Z
intermediary field_18098
Lnet/minecraft/class_4051;field_18098:Z
named useDistanceScalingFactor
Lnet/minecraft/entity/ai/TargetPredicate;useDistanceScalingFactor:Z
-
predicate
- Mappings:
Namespace Name Mixin selector official g
Lbmf;g:Ljava/util/function/Predicate;
intermediary field_28405
Lnet/minecraft/class_4051;field_28405:Ljava/util/function/Predicate;
named predicate
Lnet/minecraft/entity/ai/TargetPredicate;predicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
TargetPredicate
private TargetPredicate(boolean attackable) - Mappings:
Namespace Name Mixin selector official <init>
Lbmf;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_4051;<init>(Z)V
named <init>
Lnet/minecraft/entity/ai/TargetPredicate;<init>(Z)V
-
-
Method Details
-
createAttackable
- Mappings:
Namespace Name Mixin selector official a
Lbmf;a()Lbmf;
intermediary method_36625
Lnet/minecraft/class_4051;method_36625()Lnet/minecraft/class_4051;
named createAttackable
Lnet/minecraft/entity/ai/TargetPredicate;createAttackable()Lnet/minecraft/entity/ai/TargetPredicate;
-
createNonAttackable
- Mappings:
Namespace Name Mixin selector official b
Lbmf;b()Lbmf;
intermediary method_36626
Lnet/minecraft/class_4051;method_36626()Lnet/minecraft/class_4051;
named createNonAttackable
Lnet/minecraft/entity/ai/TargetPredicate;createNonAttackable()Lnet/minecraft/entity/ai/TargetPredicate;
-
copy
- Mappings:
Namespace Name Mixin selector official c
Lbmf;c()Lbmf;
intermediary method_33335
Lnet/minecraft/class_4051;method_33335()Lnet/minecraft/class_4051;
named copy
Lnet/minecraft/entity/ai/TargetPredicate;copy()Lnet/minecraft/entity/ai/TargetPredicate;
-
setBaseMaxDistance
- Mappings:
Namespace Name Mixin selector official a
Lbmf;a(D)Lbmf;
intermediary method_18418
Lnet/minecraft/class_4051;method_18418(D)Lnet/minecraft/class_4051;
named setBaseMaxDistance
Lnet/minecraft/entity/ai/TargetPredicate;setBaseMaxDistance(D)Lnet/minecraft/entity/ai/TargetPredicate;
-
ignoreVisibility
- Mappings:
Namespace Name Mixin selector official d
Lbmf;d()Lbmf;
intermediary method_36627
Lnet/minecraft/class_4051;method_36627()Lnet/minecraft/class_4051;
named ignoreVisibility
Lnet/minecraft/entity/ai/TargetPredicate;ignoreVisibility()Lnet/minecraft/entity/ai/TargetPredicate;
-
ignoreDistanceScalingFactor
- Mappings:
Namespace Name Mixin selector official e
Lbmf;e()Lbmf;
intermediary method_18424
Lnet/minecraft/class_4051;method_18424()Lnet/minecraft/class_4051;
named ignoreDistanceScalingFactor
Lnet/minecraft/entity/ai/TargetPredicate;ignoreDistanceScalingFactor()Lnet/minecraft/entity/ai/TargetPredicate;
-
setPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbmf;a(Ljava/util/function/Predicate;)Lbmf;
intermediary method_18420
Lnet/minecraft/class_4051;method_18420(Ljava/util/function/Predicate;)Lnet/minecraft/class_4051;
named setPredicate
Lnet/minecraft/entity/ai/TargetPredicate;setPredicate(Ljava/util/function/Predicate;)Lnet/minecraft/entity/ai/TargetPredicate;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbmf;a(Lbcc;Lbcc;)Z
intermediary method_18419
Lnet/minecraft/class_4051;method_18419(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
named test
Lnet/minecraft/entity/ai/TargetPredicate;test(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-