Package net.minecraft.entity.ai.brain
Class LivingTargetCache
java.lang.Object
net.minecraft.entity.ai.brain.LivingTargetCache
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/LivingTargetCache
intermediary net/minecraft/class_6670
official ccw
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final LivingTargetCache
private final List
<LivingEntity> private final Predicate
<LivingEntity> -
Constructor Summary
ModifierConstructorDescriptionprivate
LivingTargetCache
(LivingEntity owner, List<LivingEntity> entities) -
Method Summary
Modifier and TypeMethodDescriptionboolean
anyMatch
(Predicate<LivingEntity> predicate) boolean
contains
(LivingEntity entity) static LivingTargetCache
empty()
findFirst
(Predicate<LivingEntity> predicate) iterate
(Predicate<LivingEntity> predicate) stream
(Predicate<LivingEntity> predicate)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/entity/ai/brain/LivingTargetCache;EMPTY:Lnet/minecraft/entity/ai/brain/LivingTargetCache;
intermediary field_35104
Lnet/minecraft/class_6670;field_35104:Lnet/minecraft/class_6670;
official a
Lccw;a:Lccw;
-
entities
- Mappings:
Namespace Name Mixin selector named entities
Lnet/minecraft/entity/ai/brain/LivingTargetCache;entities:Ljava/util/List;
intermediary field_35105
Lnet/minecraft/class_6670;field_35105:Ljava/util/List;
official b
Lccw;b:Ljava/util/List;
-
targetPredicate
- Mappings:
Namespace Name Mixin selector named targetPredicate
Lnet/minecraft/entity/ai/brain/LivingTargetCache;targetPredicate:Ljava/util/function/Predicate;
intermediary field_35106
Lnet/minecraft/class_6670;field_35106:Ljava/util/function/Predicate;
official c
Lccw;c:Ljava/util/function/Predicate;
-
-
Constructor Details
-
LivingTargetCache
private LivingTargetCache() -
LivingTargetCache
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/LivingTargetCache;<init>(Lnet/minecraft/entity/LivingEntity;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_6670;<init>(Lnet/minecraft/class_1309;Ljava/util/List;)V
official <init>
Lccw;<init>(Lbtq;Ljava/util/List;)V
-
-
Method Details
-
empty
- Mappings:
Namespace Name Mixin selector named empty
Lnet/minecraft/entity/ai/brain/LivingTargetCache;empty()Lnet/minecraft/entity/ai/brain/LivingTargetCache;
intermediary method_38971
Lnet/minecraft/class_6670;method_38971()Lnet/minecraft/class_6670;
official a
Lccw;a()Lccw;
-
findFirst
- Mappings:
Namespace Name Mixin selector named findFirst
Lnet/minecraft/entity/ai/brain/LivingTargetCache;findFirst(Ljava/util/function/Predicate;)Ljava/util/Optional;
intermediary method_38975
Lnet/minecraft/class_6670;method_38975(Ljava/util/function/Predicate;)Ljava/util/Optional;
official a
Lccw;a(Ljava/util/function/Predicate;)Ljava/util/Optional;
-
iterate
- Mappings:
Namespace Name Mixin selector named iterate
Lnet/minecraft/entity/ai/brain/LivingTargetCache;iterate(Ljava/util/function/Predicate;)Ljava/lang/Iterable;
intermediary method_38978
Lnet/minecraft/class_6670;method_38978(Ljava/util/function/Predicate;)Ljava/lang/Iterable;
official b
Lccw;b(Ljava/util/function/Predicate;)Ljava/lang/Iterable;
-
stream
- Mappings:
Namespace Name Mixin selector named stream
Lnet/minecraft/entity/ai/brain/LivingTargetCache;stream(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
intermediary method_38980
Lnet/minecraft/class_6670;method_38980(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
official c
Lccw;c(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
-
contains
- Mappings:
Namespace Name Mixin selector named contains
Lnet/minecraft/entity/ai/brain/LivingTargetCache;contains(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_38972
Lnet/minecraft/class_6670;method_38972(Lnet/minecraft/class_1309;)Z
official a
Lccw;a(Lbtq;)Z
-
anyMatch
- Mappings:
Namespace Name Mixin selector named anyMatch
Lnet/minecraft/entity/ai/brain/LivingTargetCache;anyMatch(Ljava/util/function/Predicate;)Z
intermediary method_38981
Lnet/minecraft/class_6670;method_38981(Ljava/util/function/Predicate;)Z
official d
Lccw;d(Ljava/util/function/Predicate;)Z
-