Class PoiCompetitorScan
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.PoiCompetitorScan
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
competesForSameJobsite
(GlobalPos p_217330_, Holder<PoiType> p_217331_, Villager p_217332_) private boolean
hasJobSite
(Villager p_23723_) private boolean
hasMatchingProfession
(Holder<PoiType> p_217334_, VillagerProfession p_217335_) private static Villager
selectWinner
(Villager p_23725_, Villager p_23726_) protected void
start
(ServerLevel p_23716_, Villager p_23717_, long p_23718_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart