Class PoiCompetitorScan
java.lang.Object
net.minecraft.world.entity.ai.behavior.PoiCompetitorScan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancompetesForSameJobsite(GlobalPos pos, Holder<PoiType> poiType, Villager nearbyVillager) static BehaviorControl<Villager> create()private static booleanhasMatchingProfession(Holder<PoiType> poiType, Holder<VillagerProfession> profession) private static VillagerselectWinner(Villager first, Villager second)
-
Constructor Details
-
PoiCompetitorScan
public PoiCompetitorScan()
-
-
Method Details
-
create
-
selectWinner
-
competesForSameJobsite
-
hasMatchingProfession
private static boolean hasMatchingProfession(Holder<PoiType> poiType, Holder<VillagerProfession> profession)
-