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
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
competesForSameJobsite(GlobalPos p_23732_, PoiType p_23733_, Villager p_23734_)
private boolean
hasJobSite(Villager p_23723_)
private boolean
hasMatchingProfession(PoiType p_23720_, VillagerProfession p_23721_)
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