Class TakeJobSiteTask

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

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

    • TakeJobSiteTask

      public TakeJobSiteTask()
  • Method Details

    • create

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

      private static boolean canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_29260 Lnet/minecraft/class_5327;method_29260(Lnet/minecraft/class_6880;Lnet/minecraft/class_1646;Lnet/minecraft/class_2338;)Z
      official a Lcbk;a(Ljq;Lcpi;Ljh;)Z
    • canReachJobSite

      private static boolean canReachJobSite(PathAwareEntity entity, BlockPos pos, PointOfInterestType poiType)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_29262 Lnet/minecraft/class_5327;method_29262(Lnet/minecraft/class_1314;Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;)Z
      official a Lcbk;a(Lbwn;Ljh;Lchm;)Z