Uses of Class
net.minecraft.entity.ai.brain.task.Task
Packages that use Task
Package
Description
- 
Uses of Task in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type TaskModifier and TypeFieldDescriptionMethods in net.minecraft.entity.ai.brain that return types with arguments of type TaskModifier and TypeMethodDescription(package private) com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,? extends Task<? super E>>> Brain.createPriorityPairs(int p_233692_1_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233692_2_) Brain.getRunningBehaviors()Deprecated.Method parameters in net.minecraft.entity.ai.brain with type arguments of type TaskModifier and TypeMethodDescriptionvoidBrain.addActivity(Activity p_233698_1_, int p_233698_2_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233698_3_) voidBrain.addActivity(Activity p_218208_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> p_218208_2_) private voidBrain.addActivityAndRemoveMemoriesWhenStopped(Activity p_233701_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> p_233701_2_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>> p_233701_3_, Set<MemoryModuleType<?>> p_233701_4_) voidBrain.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_) voidBrain.addActivityWithConditions(Activity p_233700_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> p_233700_2_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>> p_233700_3_) (package private) com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<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
Subclasses of Task in net.minecraft.entity.ai.brain.taskModifier and TypeClassDescriptionclassclassclassAttackStrafingTask<E extends MobEntity>classclassclassclassclassclassChildFollowNearestAdultTask<E extends AgeableEntity>classclassclassclassclassclassclassclassclassclassclassclassclassclassFindNewAttackTargetTask<E extends MobEntity>classclassclassclassFirstShuffledTask<E extends LivingEntity>classForgetAttackTargetTask<E extends MobEntity>classclassclassGetAngryTask<E extends MobEntity>classclassclassclassHuntCelebrationTask<E extends MobEntity>classclassInteractWithEntityTask<E extends LivingEntity,T extends LivingEntity> classclassclassclassclassclassMultiTask<E extends LivingEntity>classclassPickupWantedItemTask<E extends LivingEntity>classPiglinIdleActivityTask<E extends MobEntity,T> classPredicateTask<E extends LivingEntity>classclassRideEntityTask<E extends LivingEntity>classclassRunAwayTask<T>classRunSometimesTask<E extends LivingEntity>classclassShootTargetTask<E extends MobEntity & ICrossbowUser,T extends LivingEntity> classclassclassclassclassStopRidingEntityTask<E extends LivingEntity,T extends Entity> classSupplementedTask<E extends LivingEntity>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.entity.ai.brain.task declared as TaskModifier and TypeFieldDescriptionRunSometimesTask.wrappedBehaviorSupplementedTask.wrappedBehaviorFields in net.minecraft.entity.ai.brain.task with type parameters of type TaskMethods in net.minecraft.entity.ai.brain.task that return types with arguments of type TaskModifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> VillagerTasks.getCorePackage(VillagerProfession p_220638_0_, float p_220638_1_) private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> VillagerTasks.getFullLookBehavior()static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<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<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<Integer,? extends Task<? super VillagerEntity>>> VillagerTasks.getMeetPackage(VillagerProfession p_220637_0_, float p_220637_1_) private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> VillagerTasks.getMinimalLookBehavior()static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<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<Integer,? extends Task<? super VillagerEntity>>> VillagerTasks.getPlayPackage(float p_220645_0_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<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<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<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<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 TaskModifier and TypeMethodDescriptionabstract <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 TaskModifierConstructorDescriptionRunSometimesTask(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(Predicate<E> p_i231529_1_, Task<? super E> p_i231529_2_) SupplementedTask(Map<MemoryModuleType<?>, MemoryModuleStatus> p_i231528_1_, 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 TaskModifierConstructorDescriptionFirstShuffledTask(List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> p_i50354_1_) FirstShuffledTask(Map<MemoryModuleType<?>, MemoryModuleStatus> p_i51502_1_, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> p_i51502_2_) MultiTask(Map<MemoryModuleType<?>, MemoryModuleStatus> p_i51503_1_, Set<MemoryModuleType<?>> p_i51503_2_, MultiTask.Ordering p_i51503_3_, MultiTask.RunType p_i51503_4_, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> p_i51503_5_)  - 
Uses of Task in net.minecraft.entity.monster.piglin
Subclasses of Task in net.minecraft.entity.monster.piglinModifier and TypeClassDescriptionclassAdmireItemTask<E extends PiglinEntity>classFinishedHuntTask<E extends PiglinEntity>classForgetAdmiredItemTask<E extends PiglinEntity>classStartAdmiringItemTask<E extends PiglinEntity>classStartHuntTask<E extends PiglinEntity>classStopReachingItemTask<E extends PiglinEntity>