Class TakeJobSiteTask

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

public class TakeJobSiteTask extends Object
Mappings:
Namespace Name
official blc
intermediary net/minecraft/class_5327
named net/minecraft/entity/ai/brain/task/TakeJobSiteTask
  • Constructor Details

    • TakeJobSiteTask

      public TakeJobSiteTask()
  • Method Details

    • create

      public static Task<VillagerEntity> create(float speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lblc;a(F)Lbhs;
      intermediary method_47207 Lnet/minecraft/class_5327;method_47207(F)Lnet/minecraft/class_7893;
      named create Lnet/minecraft/entity/ai/brain/task/TakeJobSiteTask;create(F)Lnet/minecraft/entity/ai/brain/task/Task;
    • canUseJobSite

      private static boolean canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lblc;a(Lhe;Lbyb;Lgu;)Z
      intermediary method_29260 Lnet/minecraft/class_5327;method_29260(Lnet/minecraft/class_6880;Lnet/minecraft/class_1646;Lnet/minecraft/class_2338;)Z
      named canUseJobSite Lnet/minecraft/entity/ai/brain/task/TakeJobSiteTask;canUseJobSite(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/util/math/BlockPos;)Z
    • canReachJobSite

      private static boolean canReachJobSite(PathAwareEntity entity, BlockPos pos, PointOfInterestType poiType)
      Mappings:
      Namespace Name Mixin selector
      official a Lblc;a(Lbgi;Lgu;Lbrc;)Z
      intermediary method_29262 Lnet/minecraft/class_5327;method_29262(Lnet/minecraft/class_1314;Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;)Z
      named canReachJobSite Lnet/minecraft/entity/ai/brain/task/TakeJobSiteTask;canReachJobSite(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;)Z