net.minecraft.entity.ai.brain

public record TaskList<E extends LivingEntity>

net.minecraft.world.entity.ai.ActivityData
net.minecraft.class_1_137
net.minecraft.entity.ai.brain.TaskList

Field summary

Modifier and TypeField
private final Activity
activityType
comp_1_103
activityType
private final com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>>
behaviorPriorityPairs
comp_1_104
behaviorPriorityPairs
private final Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>>
conditions
comp_1_105
conditions
private final Set<MemoryModuleType<?>>
memoriesToEraseWhenStopped
comp_1_106
memoriesToEraseWhenStopped

Constructor summary

ModifierConstructor
public (Activity activityType, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped)

Method summary

Modifier and TypeMethod
public static <E extends LivingEntity> TaskList<E>
create(Activity activity, int priorityOfFirstBehavior, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> behaviorList)
method_1_1170(class_4168 arg0, int arg1, com.google.common.collect.ImmutableList<? extends class_7893<? super E>> arg2)
of(Activity activityType, int basePriority, com.google.common.collect.ImmutableList<? extends Task<? super E>> tasks)
public static <E extends LivingEntity> TaskList<E>
create(Activity activity, int priorityOfFirstBehavior, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> behaviorList, MemoryModuleType<?> memoryThatMustHaveValueAndWillBeErasedAfter)
method_1_1172(class_4168 arg0, int arg1, com.google.common.collect.ImmutableList<? extends class_7893<? super E>> arg2, class_4140<?> arg3)
of(Activity activityType, int basePriority, com.google.common.collect.ImmutableList<? extends Task<? super E>> tasks, MemoryModuleType<?> requiredMemoryModule)
public static <E extends LivingEntity> TaskList<E>
create(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs)
method_1_1173(class_4168 arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends class_7893<? super E>>> arg1)
of(Activity activityType, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> behaviorPriorityPairs)
public static <E extends LivingEntity> TaskList<E>
create(Activity activity, int priorityOfFirstBehavior, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> behaviorList, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions)
method_1_1171(class_4168 arg0, int arg1, com.google.common.collect.ImmutableList<? extends class_7893<? super E>> arg2, Set<com.mojang.datafixers.util.Pair<class_4140<?>, class_4141>> arg3)
of(Activity activityType, int basePriority, com.google.common.collect.ImmutableList<? extends Task<? super E>> tasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> conditions)
public static <E extends LivingEntity> TaskList<E>
create(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions)
method_1_1174(class_4168 arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends class_7893<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<class_4140<?>, class_4141>> arg2)
of(Activity activityType, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> conditions)
public static <E extends LivingEntity> TaskList<E>
create(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped)
method_1_1175(class_4168 arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends class_7893<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<class_4140<?>, class_4141>> arg2, Set<class_4140<?>> arg3)
of(Activity activityType, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped)
public static <E extends LivingEntity> com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>>
createPriorityPairs(int priorityOfFirstBehavior, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> behaviorList)
method_1_1176(int arg0, com.google.common.collect.ImmutableList<? extends class_7893<? super E>> arg1)
createTaskPairs(int basePriority, com.google.common.collect.ImmutableList<? extends Task<? super E>> tasks)
public Activity
activityType()
comp_1_103()
activityType()
public com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>>
behaviorPriorityPairs()
comp_1_104()
behaviorPriorityPairs()
public Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>>
conditions()
comp_1_105()
conditions()
public Set<MemoryModuleType<?>>
memoriesToEraseWhenStopped()
comp_1_106()
memoriesToEraseWhenStopped()