Class TakeJobSiteTask
java.lang.Object
net.minecraft.entity.ai.brain.task.TakeJobSiteTask
- Mappings:
Namespace Name official blaintermediary net/minecraft/class_5327named net/minecraft/entity/ai/brain/task/TakeJobSiteTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancanReachJobSite(PathAwareEntity entity, BlockPos pos, PointOfInterestType poiType) private static booleancanUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) static Task<VillagerEntity>create(float speed)
-
Constructor Details
-
TakeJobSiteTask
public TakeJobSiteTask()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official aLbla;a(F)Lbhq;intermediary method_47207Lnet/minecraft/class_5327;method_47207(F)Lnet/minecraft/class_7893;named createLnet/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 aLbla;a(Lhe;Lbxz;Lgu;)Zintermediary method_29260Lnet/minecraft/class_5327;method_29260(Lnet/minecraft/class_6880;Lnet/minecraft/class_1646;Lnet/minecraft/class_2338;)Znamed canUseJobSiteLnet/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 aLbla;a(Lbgg;Lgu;Lbra;)Zintermediary method_29262Lnet/minecraft/class_5327;method_29262(Lnet/minecraft/class_1314;Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;)Znamed canReachJobSiteLnet/minecraft/entity/ai/brain/task/TakeJobSiteTask;canReachJobSite(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;)Z
-