net.minecraft.world.entity.ai.behavior.declarative

public class BehaviorBuilder<E extends LivingEntity, M>

implements com.mojang.datafixers.kinds.App<BehaviorBuilder$Mu<E>, M>

cbm
net.minecraft.world.entity.ai.behavior.declarative.BehaviorBuilder
net.minecraft.class_7898
net.minecraft.entity.ai.brain.task.TaskTriggerer
net.minecraft.world.entity.ai.behavior.declarative.BehaviorBuilder

Field summary

Modifier and TypeField
private final BehaviorBuilder$TriggerWithResult<E, M>
a
trigger
field_40998
function

Constructor summary

ModifierConstructor
(BehaviorBuilder$TriggerWithResult<E, M> function)

Method summary

Modifier and TypeMethod
public static <E extends LivingEntity, M> BehaviorBuilder<E, M>
a(com.mojang.datafixers.kinds.App<cbm$c<E>, M> arg0)
unbox(com.mojang.datafixers.kinds.App<BehaviorBuilder$Mu<E>, M> arg0)
method_47220(com.mojang.datafixers.kinds.App<class_7898$class_7902<E>, M> arg0)
cast(com.mojang.datafixers.kinds.App<TaskTriggerer$K1<E>, M> app)
public static <E extends LivingEntity> BehaviorBuilder$Instance<E>
a()
instance()
method_47215()
newContext()
public static <E extends LivingEntity> OneShot<E>
a(Function<cbm$b<E>, ? extends com.mojang.datafixers.kinds.App<cbm$c<E>, cbp<E>>> arg0)
create(Function<BehaviorBuilder$Instance<E>, ? extends com.mojang.datafixers.kinds.App<BehaviorBuilder$Mu<E>, Trigger<E>>> arg0)
method_47224(Function<class_7898$class_7900<E>, ? extends com.mojang.datafixers.kinds.App<class_7898$class_7902<E>, class_7911<E>>> arg0)
task(Function<TaskTriggerer$TaskContext<E>, ? extends com.mojang.datafixers.kinds.App<TaskTriggerer$K1<E>, TaskRunnable<E>>> creator)
public static <E extends LivingEntity> OneShot<E>
a(cbp<? super E> arg0, cbp<? super E> arg1)
sequence(Trigger<? super E> arg0, Trigger<? super E> arg1)
method_47217(class_7911<? super E> arg0, class_7911<? super E> arg1)
runIf(TaskRunnable<? super E> predicate, TaskRunnable<? super E> task)
public static <E extends LivingEntity> OneShot<E>
a(Predicate<E> arg0, bzk<? super E> arg1)
triggerIf(Predicate<E> arg0, OneShot<? super E> arg1)
method_47227(Predicate<E> arg0, class_7894<? super E> arg1)
runIf(Predicate<E> predicate, SingleTickTask<? super E> task)
public static <E extends LivingEntity> OneShot<E>
a(Predicate<E> arg0)
triggerIf(Predicate<E> arg0)
method_47225(Predicate<E> arg0)
predicate(Predicate<E> predicate)
public static <E extends LivingEntity> OneShot<E>
a(BiPredicate<ash, E> arg0)
triggerIf(BiPredicate<ServerLevel, E> arg0)
method_47221(BiPredicate<class_3218, E> arg0)
predicate(BiPredicate<ServerWorld, E> predicate)
static <E extends LivingEntity, M> BehaviorBuilder$TriggerWithResult<E, M>
b(com.mojang.datafixers.kinds.App<cbm$c<E>, M> arg0)
get(com.mojang.datafixers.kinds.App<BehaviorBuilder$Mu<E>, M> arg0)
method_47229(com.mojang.datafixers.kinds.App<class_7898$class_7902<E>, M> arg0)
getFunction(com.mojang.datafixers.kinds.App<TaskTriggerer$K1<E>, M> app)
static <E extends LivingEntity, M> BehaviorBuilder<E, M>
a(cbm$e<E, M> arg0)
create(BehaviorBuilder$TriggerWithResult<E, M> arg0)
method_47216(class_7898$class_7904<E, M> arg0)
of(TaskTriggerer$TaskFunction<E, M> function)