Class BehaviorBuilder.Instance<E extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.behavior.declarative.BehaviorBuilder.Instance<E>
- All Implemented Interfaces:
com.mojang.datafixers.kinds.App<BehaviorBuilder.Instance.Mu<E>,
,BehaviorBuilder.Mu<E>> com.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E>,
,BehaviorBuilder.Instance.Mu<E>> com.mojang.datafixers.kinds.Functor<BehaviorBuilder.Mu<E>,
,BehaviorBuilder.Instance.Mu<E>> com.mojang.datafixers.kinds.Kind1<BehaviorBuilder.Mu<E>,
BehaviorBuilder.Instance.Mu<E>>
- Enclosing class:
BehaviorBuilder<E extends LivingEntity,
M>
public static final class BehaviorBuilder.Instance<E extends LivingEntity>
extends Object
implements com.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E>,BehaviorBuilder.Instance.Mu<E>>
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final class
BehaviorBuilder.Instance.Mu<E extends LivingEntity>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<Value> BehaviorBuilder
<E, MemoryAccessor<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>, Value>> absent
(MemoryModuleType<Value> p_260198_) <A,
B, R> BehaviorBuilder <E, R> ap2
(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, BiFunction<A, B, R>> p_259535_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, A> p_259162_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, B> p_259733_) <T1,
T2, T3, R>
BehaviorBuilder<E, R> ap3
(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, com.mojang.datafixers.util.Function3<T1, T2, T3, R>> p_260239_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T1> p_259239_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T2> p_259638_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T3> p_259969_) <T1,
T2, T3, T4, R>
BehaviorBuilder<E, R> ap4
(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, R>> p_259519_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T1> p_259829_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T2> p_259314_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T3> p_260089_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T4> p_259136_) <Value> Value
get
(MemoryAccessor<com.mojang.datafixers.kinds.IdF.Mu, Value> p_259206_) BehaviorBuilder
<E, com.mojang.datafixers.util.Unit> ifTriggered
(Trigger<? super E> p_260247_) <A,
R> Function <com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, A>, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, R>> lift1
(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, Function<A, R>> p_259294_) <T,
R> BehaviorBuilder <E, R> map
(Function<? super T, ? extends R> p_259963_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T> p_260355_) <A> BehaviorBuilder
<E, A> point
(A p_259634_) <A> BehaviorBuilder
<E, A> <Value> BehaviorBuilder
<E, MemoryAccessor<com.mojang.datafixers.kinds.IdF.Mu, Value>> present
(MemoryModuleType<Value> p_259673_) <Value> BehaviorBuilder
<E, MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Value>> registered
(MemoryModuleType<Value> p_259477_) <Value> Optional
<Value> tryGet
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Value> p_259352_) 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
-
Instance
public Instance()
-
-
Method Details
-
tryGet
public <Value> Optional<Value> tryGet(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Value> p_259352_) -
get
-
registered
public <Value> BehaviorBuilder<E,MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, registeredValue>> (MemoryModuleType<Value> p_259477_) -
present
public <Value> BehaviorBuilder<E,MemoryAccessor<com.mojang.datafixers.kinds.IdF.Mu, presentValue>> (MemoryModuleType<Value> p_259673_) -
absent
public <Value> BehaviorBuilder<E,MemoryAccessor<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>, absentValue>> (MemoryModuleType<Value> p_260198_) -
ifTriggered
-
point
- Specified by:
point
in interfacecom.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E extends LivingEntity>,
BehaviorBuilder.Instance.Mu<E extends LivingEntity>>
-
point
-
lift1
public <A,R> Function<com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>,A>, lift1com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, R>> (com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, Function<A, R>> p_259294_) - Specified by:
lift1
in interfacecom.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E extends LivingEntity>,
BehaviorBuilder.Instance.Mu<E extends LivingEntity>>
-
map
public <T,R> BehaviorBuilder<E,R> map(Function<? super T, ? extends R> p_259963_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T> p_260355_) - Specified by:
map
in interfacecom.mojang.datafixers.kinds.Functor<BehaviorBuilder.Mu<E extends LivingEntity>,
BehaviorBuilder.Instance.Mu<E extends LivingEntity>>
-
ap2
public <A,B, BehaviorBuilder<E,R> R> ap2(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, BiFunction<A, B, R>> p_259535_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, A> p_259162_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, B> p_259733_) - Specified by:
ap2
in interfacecom.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E extends LivingEntity>,
BehaviorBuilder.Instance.Mu<E extends LivingEntity>>
-
ap3
public <T1,T2, BehaviorBuilder<E,T3, R> R> ap3(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, com.mojang.datafixers.util.Function3<T1, T2, T3, R>> p_260239_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T1> p_259239_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T2> p_259638_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T3> p_259969_) - Specified by:
ap3
in interfacecom.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E extends LivingEntity>,
BehaviorBuilder.Instance.Mu<E extends LivingEntity>>
-
ap4
public <T1,T2, BehaviorBuilder<E,T3, T4, R> R> ap4(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, R>> p_259519_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T1> p_259829_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T2> p_259314_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T3> p_260089_, com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, T4> p_259136_) - Specified by:
ap4
in interfacecom.mojang.datafixers.kinds.Applicative<BehaviorBuilder.Mu<E extends LivingEntity>,
BehaviorBuilder.Instance.Mu<E extends LivingEntity>>
-