Class TaskTriggerer.TaskContext<E extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext<E>
- All Implemented Interfaces:
com.mojang.datafixers.kinds.App<TaskTriggerer.TaskContext.Mu<E>,
,TaskTriggerer.K1<E>> com.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E>,
,TaskTriggerer.TaskContext.Mu<E>> com.mojang.datafixers.kinds.Functor<TaskTriggerer.K1<E>,
,TaskTriggerer.TaskContext.Mu<E>> com.mojang.datafixers.kinds.Kind1<TaskTriggerer.K1<E>,
TaskTriggerer.TaskContext.Mu<E>>
- Enclosing class:
TaskTriggerer<E extends LivingEntity,
M>
public static final class TaskTriggerer.TaskContext<E extends LivingEntity>
extends Object
implements com.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E>,TaskTriggerer.TaskContext.Mu<E>>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext
intermediary net/minecraft/class_7898$class_7900
official byw$b
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<A,
B, R> TaskTriggerer <E, R> ap2
(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, BiFunction<A, B, R>> app, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, A> app2, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, B> app3) <T1,
T2, T3, R>
TaskTriggerer<E, R> ap3
(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, com.mojang.datafixers.util.Function3<T1, T2, T3, R>> app, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T1> app2, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T2> app3, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T3> app4) <T1,
T2, T3, T4, R>
TaskTriggerer<E, R> ap4
(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, R>> app, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T1> app2, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T2> app3, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T3> app4, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T4> app5) <Value> Optional
<Value> getOptionalValue
(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Value> result) <Value> Value
getValue
(MemoryQueryResult<com.mojang.datafixers.kinds.IdF.Mu, Value> result) <A,
R> Function <com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, A>, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, R>> lift1
(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, Function<A, R>> app) <T,
R> TaskTriggerer <E, R> map
(Function<? super T, ? extends R> function, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T> app) <A> TaskTriggerer
<E, A> point
(A a) <Value> TaskTriggerer
<E, MemoryQueryResult<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>, Value>> queryMemoryAbsent
(MemoryModuleType<Value> type) <Value> TaskTriggerer
<E, MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Value>> queryMemoryOptional
(MemoryModuleType<Value> type) <Value> TaskTriggerer
<E, MemoryQueryResult<com.mojang.datafixers.kinds.IdF.Mu, Value>> queryMemoryValue
(MemoryModuleType<Value> type) <A> TaskTriggerer
<E, A> TaskTriggerer
<E, com.mojang.datafixers.util.Unit> trigger
(TaskRunnable<? super E> runnable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.datafixers.kinds.Applicative
ap, ap, ap10, ap11, ap12, ap13, ap14, ap15, ap16, ap5, ap6, ap7, ap8, ap9, apply2, apply3, apply4, apply5, apply6, apply7, apply8, apply9, lift2, lift3, lift4, lift5, lift6, lift7, lift8, lift9
Methods inherited from interface com.mojang.datafixers.kinds.Kind1
group, group, group, group, group, group, group, group, group, group, group, group, group, group, group, group
-
Constructor Details
-
TaskContext
public TaskContext()
-
-
Method Details
-
getOptionalValue
public <Value> Optional<Value> getOptionalValue(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Value> result) - Mappings:
Namespace Name Mixin selector named getOptionalValue
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;getOptionalValue(Lnet/minecraft/entity/ai/brain/MemoryQueryResult;)Ljava/util/Optional;
intermediary method_47233
Lnet/minecraft/class_7898$class_7900;method_47233(Lnet/minecraft/class_7906;)Ljava/util/Optional;
official a
Lbyw$b;a(Lbyx;)Ljava/util/Optional;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;getValue(Lnet/minecraft/entity/ai/brain/MemoryQueryResult;)Ljava/lang/Object;
intermediary method_47243
Lnet/minecraft/class_7898$class_7900;method_47243(Lnet/minecraft/class_7906;)Ljava/lang/Object;
official b
Lbyw$b;b(Lbyx;)Ljava/lang/Object;
-
queryMemoryOptional
public <Value> TaskTriggerer<E,MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, queryMemoryOptionalValue>> (MemoryModuleType<Value> type) - Mappings:
Namespace Name Mixin selector named queryMemoryOptional
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;queryMemoryOptional(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47235
Lnet/minecraft/class_7898$class_7900;method_47235(Lnet/minecraft/class_4140;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Lccu;)Lbyw;
-
queryMemoryValue
public <Value> TaskTriggerer<E,MemoryQueryResult<com.mojang.datafixers.kinds.IdF.Mu, queryMemoryValueValue>> (MemoryModuleType<Value> type) - Mappings:
Namespace Name Mixin selector named queryMemoryValue
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;queryMemoryValue(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47244
Lnet/minecraft/class_7898$class_7900;method_47244(Lnet/minecraft/class_4140;)Lnet/minecraft/class_7898;
official b
Lbyw$b;b(Lccu;)Lbyw;
-
queryMemoryAbsent
public <Value> TaskTriggerer<E,MemoryQueryResult<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>, queryMemoryAbsentValue>> (MemoryModuleType<Value> type) - Mappings:
Namespace Name Mixin selector named queryMemoryAbsent
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;queryMemoryAbsent(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47245
Lnet/minecraft/class_7898$class_7900;method_47245(Lnet/minecraft/class_4140;)Lnet/minecraft/class_7898;
official c
Lbyw$b;c(Lccu;)Lbyw;
-
trigger
- Mappings:
Namespace Name Mixin selector named trigger
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;trigger(Lnet/minecraft/entity/ai/brain/task/TaskRunnable;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47234
Lnet/minecraft/class_7898$class_7900;method_47234(Lnet/minecraft/class_7911;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Lbyz;)Lbyw;
-
point
- Specified by:
point
in interfacecom.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E extends LivingEntity>,
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>> - Mappings:
Namespace Name Mixin selector named point
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;point(Ljava/lang/Object;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47240
Lnet/minecraft/class_7898$class_7900;method_47240(Ljava/lang/Object;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Ljava/lang/Object;)Lbyw;
-
supply
- Mappings:
Namespace Name Mixin selector named supply
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;supply(Ljava/util/function/Supplier;Ljava/lang/Object;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47242
Lnet/minecraft/class_7898$class_7900;method_47242(Ljava/util/function/Supplier;Ljava/lang/Object;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Ljava/util/function/Supplier;Ljava/lang/Object;)Lbyw;
-
lift1
public <A,R> Function<com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>,A>, lift1com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, R>> (com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, Function<A, R>> app) - Specified by:
lift1
in interfacecom.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E extends LivingEntity>,
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>> - Mappings:
Namespace Name Mixin selector named lift1
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;lift1(Lcom/mojang/datafixers/kinds/App;)Ljava/util/function/Function;
intermediary lift1
Lnet/minecraft/class_7898$class_7900;lift1(Lcom/mojang/datafixers/kinds/App;)Ljava/util/function/Function;
official lift1
Lbyw$b;lift1(Lcom/mojang/datafixers/kinds/App;)Ljava/util/function/Function;
-
map
public <T,R> TaskTriggerer<E,R> map(Function<? super T, ? extends R> function, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T> app) - Specified by:
map
in interfacecom.mojang.datafixers.kinds.Functor<TaskTriggerer.K1<E extends LivingEntity>,
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>> - Mappings:
Namespace Name Mixin selector named map
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;map(Ljava/util/function/Function;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47241
Lnet/minecraft/class_7898$class_7900;method_47241(Ljava/util/function/Function;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Ljava/util/function/Function;Lcom/mojang/datafixers/kinds/App;)Lbyw;
-
ap2
public <A,B, TaskTriggerer<E,R> R> ap2(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, BiFunction<A, B, R>> app, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, A> app2, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, B> app3) - Specified by:
ap2
in interfacecom.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E extends LivingEntity>,
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>> - Mappings:
Namespace Name Mixin selector named ap2
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;ap2(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47237
Lnet/minecraft/class_7898$class_7900;method_47237(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lbyw;
-
ap3
public <T1,T2, TaskTriggerer<E,T3, R> R> ap3(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, com.mojang.datafixers.util.Function3<T1, T2, T3, R>> app, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T1> app2, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T2> app3, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T3> app4) - Specified by:
ap3
in interfacecom.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E extends LivingEntity>,
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>> - Mappings:
Namespace Name Mixin selector named ap3
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;ap3(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47238
Lnet/minecraft/class_7898$class_7900;method_47238(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lbyw;
-
ap4
public <T1,T2, TaskTriggerer<E,T3, T4, R> R> ap4(com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, R>> app, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T1> app2, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T2> app3, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T3> app4, com.mojang.datafixers.kinds.App<TaskTriggerer.K1<E>, T4> app5) - Specified by:
ap4
in interfacecom.mojang.datafixers.kinds.Applicative<TaskTriggerer.K1<E extends LivingEntity>,
TaskTriggerer.TaskContext.Mu<E extends LivingEntity>> - Mappings:
Namespace Name Mixin selector named ap4
Lnet/minecraft/entity/ai/brain/task/TaskTriggerer$TaskContext;ap4(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/entity/ai/brain/task/TaskTriggerer;
intermediary method_47239
Lnet/minecraft/class_7898$class_7900;method_47239(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lnet/minecraft/class_7898;
official a
Lbyw$b;a(Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;Lcom/mojang/datafixers/kinds/App;)Lbyw;
-