Uses of Class
net.minecraft.entity.ai.brain.task.Task
-
Packages that use Task Package Description net.minecraft.entity.ai.brain net.minecraft.entity.ai.brain.task net.minecraft.entity.monster.piglin -
-
Uses of Task in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type Task Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.Map<Activity,java.util.Set<Task<? super E>>>>
Brain. availableBehaviorsByPriority
Methods in net.minecraft.entity.ai.brain that return types with arguments of type Task Modifier and Type Method Description (package private) com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>>
Brain. createPriorityPairs(int p_233692_1_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233692_2_)
java.util.List<Task<? super E>>
Brain. getRunningBehaviors()
Deprecated.Method parameters in net.minecraft.entity.ai.brain with type arguments of type Task Modifier and Type Method Description void
Brain. addActivity(Activity p_233698_1_, int p_233698_2_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233698_3_)
void
Brain. addActivity(Activity p_218208_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>> p_218208_2_)
private void
Brain. addActivityAndRemoveMemoriesWhenStopped(Activity p_233701_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>> p_233701_2_, java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>> p_233701_3_, java.util.Set<MemoryModuleType<?>> p_233701_4_)
void
Brain. addActivityAndRemoveMemoryWhenStopped(Activity p_233699_1_, int p_233699_2_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233699_3_, MemoryModuleType<?> p_233699_4_)
void
Brain. addActivityWithConditions(Activity p_233700_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>> p_233700_2_, java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>> p_233700_3_)
(package private) com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>>
Brain. createPriorityPairs(int p_233692_1_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233692_2_)
-
Uses of Task in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as Task Modifier and Type Field Description private Task<? super E>
RunSometimesTask. wrappedBehavior
private Task<? super E>
SupplementedTask. wrappedBehavior
Fields in net.minecraft.entity.ai.brain.task with type parameters of type Task Modifier and Type Field Description private WeightedList<Task<? super E>>
MultiTask. behaviors
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Task Modifier and Type Method Description static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getCorePackage(VillagerProfession p_220638_0_, float p_220638_1_)
private static com.mojang.datafixers.util.Pair<java.lang.Integer,Task<LivingEntity>>
VillagerTasks. getFullLookBehavior()
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getHidePackage(VillagerProfession p_220644_0_, float p_220644_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getIdlePackage(VillagerProfession p_220641_0_, float p_220641_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getMeetPackage(VillagerProfession p_220637_0_, float p_220637_1_)
private static com.mojang.datafixers.util.Pair<java.lang.Integer,Task<LivingEntity>>
VillagerTasks. getMinimalLookBehavior()
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getPanicPackage(VillagerProfession p_220636_0_, float p_220636_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getPlayPackage(float p_220645_0_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getPreRaidPackage(VillagerProfession p_220642_0_, float p_220642_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getRaidPackage(VillagerProfession p_220640_0_, float p_220640_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getRestPackage(VillagerProfession p_220635_0_, float p_220635_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getWorkPackage(VillagerProfession p_220639_0_, float p_220639_1_)
Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Task Modifier and Type Method Description abstract <E extends LivingEntity>
voidMultiTask.RunType. apply(WeightedList<Task<? super E>> p_220630_1_, ServerWorld p_220630_2_, E p_220630_3_, long p_220630_4_)
Constructors in net.minecraft.entity.ai.brain.task with parameters of type Task Constructor Description RunSometimesTask(Task<? super E> p_i231531_1_, boolean p_i231531_2_, RangedInteger p_i231531_3_)
RunSometimesTask(Task<? super E> p_i231530_1_, RangedInteger p_i231530_2_)
SupplementedTask(java.util.function.Predicate<E> p_i231529_1_, Task<? super E> p_i231529_2_)
SupplementedTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i231528_1_, java.util.function.Predicate<E> p_i231528_2_, Task<? super E> p_i231528_3_, boolean p_i231528_4_)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type Task Constructor Description FirstShuffledTask(java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i50354_1_)
FirstShuffledTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i51502_1_, java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i51502_2_)
MultiTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i51503_1_, java.util.Set<MemoryModuleType<?>> p_i51503_2_, MultiTask.Ordering p_i51503_3_, MultiTask.RunType p_i51503_4_, java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i51503_5_)
-
Uses of Task in net.minecraft.entity.monster.piglin
Subclasses of Task in net.minecraft.entity.monster.piglin Modifier and Type Class Description class
AdmireItemTask<E extends PiglinEntity>
class
FinishedHuntTask<E extends PiglinEntity>
class
ForgetAdmiredItemTask<E extends PiglinEntity>
class
StartAdmiringItemTask<E extends PiglinEntity>
class
StartHuntTask<E extends PiglinEntity>
class
StopReachingItemTask<E extends PiglinEntity>
-