Class VillagerTaskListProvider
java.lang.Object
net.minecraft.entity.ai.brain.task.VillagerTaskListProvider
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/VillagerTaskListProviderintermediary net/minecraft/class_4129official byn
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final floatprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier 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_SPEED
private static final float JOB_WALKING_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector named JOB_WALKING_SPEEDLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;JOB_WALKING_SPEED:Fintermediary field_30189Lnet/minecraft/class_4129;field_30189:Fofficial dLbyn;d:F
-
field_48329
public static final int field_48329- See Also:
- Mappings:
Namespace Name Mixin selector named field_48329Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;field_48329:Iintermediary field_48329Lnet/minecraft/class_4129;field_48329:Iofficial aLbyn;a:I
-
field_48330
public static final int field_48330- See Also:
- Mappings:
Namespace Name Mixin selector named field_48330Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;field_48330:Iintermediary field_48330Lnet/minecraft/class_4129;field_48330:Iofficial bLbyn;b:I
-
field_48331
public static final float field_48331- See Also:
- Mappings:
Namespace Name Mixin selector named field_48331Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;field_48331:Fintermediary field_48331Lnet/minecraft/class_4129;field_48331:Fofficial cLbyn;c:F
-
-
Constructor Details
-
VillagerTaskListProvider
public VillagerTaskListProvider()
-
-
Method Details
-
createCoreTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createCoreTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createCoreTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createCoreTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19020Lnet/minecraft/class_4129;method_19020(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official aLbyn;a(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createWorkTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createWorkTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createWorkTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createWorkTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19021Lnet/minecraft/class_4129;method_19021(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official bLbyn;b(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createPlayTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPlayTasks(float speed) - Mappings:
Namespace Name Mixin selector named createPlayTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPlayTasks(F)Lcom/google/common/collect/ImmutableList;intermediary method_19990Lnet/minecraft/class_4129;method_19990(F)Lcom/google/common/collect/ImmutableList;official aLbyn;a(F)Lcom/google/common/collect/ImmutableList;
-
createRestTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRestTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createRestTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createRestTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19022Lnet/minecraft/class_4129;method_19022(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official cLbyn;c(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createMeetTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createMeetTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createMeetTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createMeetTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19023Lnet/minecraft/class_4129;method_19023(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official dLbyn;d(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createIdleTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createIdleTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createIdleTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createIdleTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19024Lnet/minecraft/class_4129;method_19024(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official eLbyn;e(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createPanicTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPanicTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createPanicTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPanicTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19025Lnet/minecraft/class_4129;method_19025(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official fLbyn;f(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createPreRaidTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPreRaidTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createPreRaidTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPreRaidTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19991Lnet/minecraft/class_4129;method_19991(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official gLbyn;g(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createRaidTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRaidTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createRaidTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createRaidTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19992Lnet/minecraft/class_4129;method_19992(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official hLbyn;h(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createHideTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createHideTasks(VillagerProfession profession, float speed) - Mappings:
Namespace Name Mixin selector named createHideTasksLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createHideTasks(Lnet/minecraft/village/VillagerProfession;F)Lcom/google/common/collect/ImmutableList;intermediary method_19993Lnet/minecraft/class_4129;method_19993(Lnet/minecraft/class_3852;F)Lcom/google/common/collect/ImmutableList;official iLbyn;i(Lcmn;F)Lcom/google/common/collect/ImmutableList;
-
createFreeFollowTask
- Mappings:
Namespace Name Mixin selector named createFreeFollowTaskLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createFreeFollowTask()Lcom/mojang/datafixers/util/Pair;intermediary method_20241Lnet/minecraft/class_4129;method_20241()Lcom/mojang/datafixers/util/Pair;official aLbyn;a()Lcom/mojang/datafixers/util/Pair;
-
createBusyFollowTask
- Mappings:
Namespace Name Mixin selector named createBusyFollowTaskLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createBusyFollowTask()Lcom/mojang/datafixers/util/Pair;intermediary method_20242Lnet/minecraft/class_4129;method_20242()Lcom/mojang/datafixers/util/Pair;official bLbyn;b()Lcom/mojang/datafixers/util/Pair;
-
hasActiveRaid
- Mappings:
Namespace Name Mixin selector named hasActiveRaidLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;hasActiveRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Zintermediary method_47202Lnet/minecraft/class_4129;method_47202(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Zofficial aLbyn;a(Laqu;Lbtn;)Z
-
wonRaid
- Mappings:
Namespace Name Mixin selector named wonRaidLnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;wonRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Zintermediary method_47203Lnet/minecraft/class_4129;method_47203(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Zofficial bLbyn;b(Laqu;Lbtn;)Z
-