Class VillagerTaskListProvider
java.lang.Object
net.minecraft.entity.ai.brain.task.VillagerTaskListProvider
- Mappings:
- Namespace - Name - official - bkw- intermediary - net/minecraft/class_4129- named - net/minecraft/entity/ai/brain/task/VillagerTaskListProvider
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createCoreTasks(VillagerProfession profession, float speed) private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createHideTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createIdleTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createMeetTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPanicTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPlayTasks(float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPreRaidTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRaidTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRestTasks(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createWorkTasks(VillagerProfession profession, float speed) private static booleanhasActiveRaid(ServerWorld world, LivingEntity entity) private static booleanwonRaid(ServerWorld world, LivingEntity entity) 
- 
Field Details- 
JOB_WALKING_SPEEDprivate static final float JOB_WALKING_SPEED- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbkw;a:F- intermediary - field_30189- Lnet/minecraft/class_4129;field_30189:F- named - JOB_WALKING_SPEED- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;JOB_WALKING_SPEED:F
 
 
- 
- 
Constructor Details- 
VillagerTaskListProviderpublic VillagerTaskListProvider()
 
- 
- 
Method Details- 
createCoreTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createCoreTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbkw;a(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19020- Lnet/minecraft/class_4129;method_19020(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createCoreTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createCoreTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createWorkTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createWorkTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lbkw;b(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19021- Lnet/minecraft/class_4129;method_19021(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createWorkTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createWorkTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createPlayTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPlayTasks(float speed) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbkw;a(F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19990- Lnet/minecraft/class_4129;method_19990(F)Lcom/google/common/collect/ImmutableList;- named - createPlayTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPlayTasks(F)Lcom/google/common/collect/ImmutableList;
 
- 
createRestTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRestTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - c- Lbkw;c(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19022- Lnet/minecraft/class_4129;method_19022(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createRestTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createRestTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createMeetTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createMeetTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - d- Lbkw;d(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19023- Lnet/minecraft/class_4129;method_19023(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createMeetTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createMeetTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createIdleTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createIdleTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - e- Lbkw;e(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19024- Lnet/minecraft/class_4129;method_19024(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createIdleTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createIdleTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createPanicTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPanicTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - f- Lbkw;f(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19025- Lnet/minecraft/class_4129;method_19025(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createPanicTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPanicTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createPreRaidTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPreRaidTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - g- Lbkw;g(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19991- Lnet/minecraft/class_4129;method_19991(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createPreRaidTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPreRaidTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createRaidTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRaidTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - h- Lbkw;h(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19992- Lnet/minecraft/class_4129;method_19992(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createRaidTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createRaidTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createHideTaskspublic static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createHideTasks(VillagerProfession profession, float speed) - Mappings:
- Namespace - Name - Mixin selector - official - i- Lbkw;i(Lbye;F)Lcom/google/common/collect/ImmutableList;- intermediary - method_19993- Lnet/minecraft/class_4129;method_19993(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;- named - createHideTasks- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createHideTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;
 
- 
createFreeFollowTask- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbkw;a()Lcom/mojang/datafixers/util/Pair;- intermediary - method_20241- Lnet/minecraft/class_4129;method_20241()Lcom/mojang/datafixers/util/Pair;- named - createFreeFollowTask- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createFreeFollowTask()Lcom/mojang/datafixers/util/Pair;
 
- 
createBusyFollowTask- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbkw;b()Lcom/mojang/datafixers/util/Pair;- intermediary - method_20242- Lnet/minecraft/class_4129;method_20242()Lcom/mojang/datafixers/util/Pair;- named - createBusyFollowTask- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createBusyFollowTask()Lcom/mojang/datafixers/util/Pair;
 
- 
hasActiveRaid- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbkw;a(Laif;Lbfz;)Z- intermediary - method_47202- Lnet/minecraft/class_4129;method_47202(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z- named - hasActiveRaid- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;hasActiveRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
 
- 
wonRaid- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbkw;b(Laif;Lbfz;)Z- intermediary - method_47203- Lnet/minecraft/class_4129;method_47203(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z- named - wonRaid- Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;wonRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
 
 
-