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

public class BehaviorBuilder<E extends LivingEntity, M>

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

brp
net.minecraft.world.entity.ai.behavior.declarative.BehaviorBuilder
net.minecraft.class_7898
net.minecraft.entity.ai.brain.task.TaskTriggerer
net.minecraft.src.C_256697_
net.minecraft.world.entity.ai.behavior.declarative.BehaviorBuilder

Field summary

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

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<brp$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)
m_257695_(com.mojang.datafixers.kinds.App<C_256697_$C_256694_<E>, M> p_259593_)
public static <E extends LivingEntity> BehaviorBuilder$Instance<E>
a()
instance()
method_47215()
newContext()
m_257958_()
public static <E extends LivingEntity> OneShot<E>
a(Function<brp$b<E>, ? extends com.mojang.datafixers.kinds.App<brp$c<E>, brs<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)
m_258034_(Function<C_256697_$C_256696_<E>, ? extends com.mojang.datafixers.kinds.App<C_256697_$C_256694_<E>, C_256674_<E>>> p_259386_)
public static <E extends LivingEntity> OneShot<E>
a(brs<? super E> arg0, brs<? 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)
m_258047_(C_256674_<? super E> p_260174_, C_256674_<? super E> p_259134_)
public static <E extends LivingEntity> OneShot<E>
a(Predicate<E> arg0, bpn<? 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)
m_257845_(Predicate<E> p_260059_, C_256700_<? super E> p_259640_)
public static <E extends LivingEntity> OneShot<E>
a(Predicate<E> arg0)
triggerIf(Predicate<E> arg0)
method_47225(Predicate<E> arg0)
predicate(Predicate<E> predicate)
m_257590_(Predicate<E> p_260112_)
public static <E extends LivingEntity> OneShot<E>
a(BiPredicate<and, E> arg0)
triggerIf(BiPredicate<ServerLevel, E> arg0)
method_47221(BiPredicate<class_3218, E> arg0)
predicate(BiPredicate<ServerWorld, E> predicate)
m_257433_(BiPredicate<C_12_, E> p_259227_)
static <E extends LivingEntity, M> BehaviorBuilder$TriggerWithResult<E, M>
b(com.mojang.datafixers.kinds.App<brp$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)
m_257451_(com.mojang.datafixers.kinds.App<C_256697_$C_256694_<E>, M> p_259615_)
static <E extends LivingEntity, M> BehaviorBuilder<E, M>
a(brp$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)
m_257924_(C_256697_$C_256684_<E, M> p_259575_)