Uses of Class
net.minecraft.entity.ai.brain.task.Task
Package
Description
-
Uses of Task in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionModifier 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.Modifier and TypeMethodDescriptionvoid
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<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<Integer, ? extends Task<? super E>>> p_233701_2_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>> p_233701_3_, 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<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
Modifier and TypeClassDescriptionclass
class
class
AttackStrafingTask<E extends MobEntity>
class
class
class
class
class
class
ChildFollowNearestAdultTask<E extends AgeableEntity>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
FindNewAttackTargetTask<E extends MobEntity>
class
class
class
class
FirstShuffledTask<E extends LivingEntity>
class
ForgetAttackTargetTask<E extends MobEntity>
class
class
class
GetAngryTask<E extends MobEntity>
class
class
class
class
HuntCelebrationTask<E extends MobEntity>
class
class
InteractWithEntityTask<E extends LivingEntity,
T extends LivingEntity> class
class
class
class
class
class
MultiTask<E extends LivingEntity>
class
class
PickupWantedItemTask<E extends LivingEntity>
class
PiglinIdleActivityTask<E extends MobEntity,
T> class
PredicateTask<E extends LivingEntity>
class
class
RideEntityTask<E extends LivingEntity>
class
class
RunAwayTask<T>
class
RunSometimesTask<E extends LivingEntity>
class
class
ShootTargetTask<E extends MobEntity & ICrossbowUser,
T extends LivingEntity> class
class
class
class
class
StopRidingEntityTask<E extends LivingEntity,
T extends Entity> class
SupplementedTask<E extends LivingEntity>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionRunSometimesTask.wrappedBehavior
SupplementedTask.wrappedBehavior
Modifier 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_) Modifier 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_) ModifierConstructorDescriptionRunSometimesTask
(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_) ModifierConstructorDescriptionFirstShuffledTask
(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
Modifier and TypeClassDescriptionclass
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>