Class VillagerTaskListProvider

java.lang.Object
net.minecraft.entity.ai.brain.task.VillagerTaskListProvider

public class VillagerTaskListProvider extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/VillagerTaskListProvider
intermediary net/minecraft/class_4129
official cah
  • Field Details Link icon

    • JOB_WALKING_SPEED Link icon

      private static final float JOB_WALKING_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named JOB_WALKING_SPEED Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;JOB_WALKING_SPEED:F
      intermediary field_30189 Lnet/minecraft/class_4129;field_30189:F
      official d Lcah;d:F
    • field_48329 Link icon

      public static final int field_48329
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48329 Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;field_48329:I
      intermediary field_48329 Lnet/minecraft/class_4129;field_48329:I
      official a Lcah;a:I
    • field_48330 Link icon

      public static final int field_48330
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48330 Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;field_48330:I
      intermediary field_48330 Lnet/minecraft/class_4129;field_48330:I
      official b Lcah;b:I
    • field_48331 Link icon

      public static final float field_48331
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48331 Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;field_48331:F
      intermediary field_48331 Lnet/minecraft/class_4129;field_48331:F
      official c Lcah;c:F
  • Constructor Details Link icon

    • VillagerTaskListProvider Link icon

      public VillagerTaskListProvider()
  • Method Details Link icon

    • createCoreTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createCoreTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createCoreTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createCoreTasks(Lnet/minecraft/village/VillagerProfession;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;
      official a Lcah;a(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • isUnoccupiedBedAt Link icon

      private static boolean isUnoccupiedBedAt(ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isUnoccupiedBedAt Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;isUnoccupiedBedAt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_65947 Lnet/minecraft/class_4129;method_65947(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
      official a Lcah;a(Lard;Lji;)Z
    • createWorkTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createWorkTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createWorkTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createWorkTasks(Lnet/minecraft/village/VillagerProfession;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;
      official b Lcah;b(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createPlayTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPlayTasks(float speed)
      Mappings:
      Namespace Name Mixin selector
      named createPlayTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPlayTasks(F)Lcom/google/common/collect/ImmutableList;
      intermediary method_19990 Lnet/minecraft/class_4129;method_19990(F)Lcom/google/common/collect/ImmutableList;
      official a Lcah;a(F)Lcom/google/common/collect/ImmutableList;
    • createRestTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRestTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createRestTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createRestTasks(Lnet/minecraft/village/VillagerProfession;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;
      official c Lcah;c(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createMeetTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createMeetTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createMeetTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createMeetTasks(Lnet/minecraft/village/VillagerProfession;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;
      official d Lcah;d(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createIdleTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createIdleTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createIdleTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createIdleTasks(Lnet/minecraft/village/VillagerProfession;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;
      official e Lcah;e(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createPanicTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPanicTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createPanicTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPanicTasks(Lnet/minecraft/village/VillagerProfession;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;
      official f Lcah;f(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createPreRaidTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPreRaidTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createPreRaidTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createPreRaidTasks(Lnet/minecraft/village/VillagerProfession;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;
      official g Lcah;g(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createRaidTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRaidTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createRaidTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createRaidTasks(Lnet/minecraft/village/VillagerProfession;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;
      official h Lcah;h(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createHideTasks Link icon

      public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createHideTasks(VillagerProfession profession, float speed)
      Mappings:
      Namespace Name Mixin selector
      named createHideTasks Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createHideTasks(Lnet/minecraft/village/VillagerProfession;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;
      official i Lcah;i(Lcom;F)Lcom/google/common/collect/ImmutableList;
    • createFreeFollowTask Link icon

      private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> createFreeFollowTask()
      Mappings:
      Namespace Name Mixin selector
      named createFreeFollowTask Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createFreeFollowTask()Lcom/mojang/datafixers/util/Pair;
      intermediary method_20241 Lnet/minecraft/class_4129;method_20241()Lcom/mojang/datafixers/util/Pair;
      official a Lcah;a()Lcom/mojang/datafixers/util/Pair;
    • createBusyFollowTask Link icon

      private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>> createBusyFollowTask()
      Mappings:
      Namespace Name Mixin selector
      named createBusyFollowTask Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;createBusyFollowTask()Lcom/mojang/datafixers/util/Pair;
      intermediary method_20242 Lnet/minecraft/class_4129;method_20242()Lcom/mojang/datafixers/util/Pair;
      official b Lcah;b()Lcom/mojang/datafixers/util/Pair;
    • hasActiveRaid Link icon

      private static boolean hasActiveRaid(ServerWorld world, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named hasActiveRaid Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;hasActiveRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_47202 Lnet/minecraft/class_4129;method_47202(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
      official a Lcah;a(Lard;Lbvi;)Z
    • wonRaid Link icon

      private static boolean wonRaid(ServerWorld world, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named wonRaid Lnet/minecraft/entity/ai/brain/task/VillagerTaskListProvider;wonRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_47203 Lnet/minecraft/class_4129;method_47203(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
      official b Lcah;b(Lard;Lbvi;)Z