net.minecraft.world.entity.ai.behavior

public class PoiCompetitorScan

extends Behavior<Villager>

bac
net.minecraft.world.entity.ai.behavior.PoiCompetitorScan
net.minecraft.class_5326
net.minecraft.entity.ai.brain.task.WorkStationCompetitionTask
net.minecraft.src.C_611_
net.minecraft.world.entity.ai.behavior.BehaviorBetterJob

Field summary

Modifier and TypeField
final VillagerProfession
a
profession
field_25156
profession
f_23708_

Constructor summary

ModifierConstructor
public (VillagerProfession profession)

Method summary

Modifier and TypeMethod
protected void
a(adi arg0, bne arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_29258(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_23717_, C_1118_ p_23718_, long arg2)
private static Villager
a(bne arg0, bne arg1)
selectWinner(Villager arg0, Villager arg1)
method_29255(class_1646 arg0, class_1646 arg1)
keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second)
m_23724_(C_1118_ p_23725_, C_1118_ p_23726_)
private boolean
a(gp arg0, bhd arg1, bne arg2)
competesForSameJobsite(GlobalPos arg0, PoiType arg1, Villager arg2)
method_29257(class_4208 arg0, class_4158 arg1, class_1646 arg2)
isUsingWorkStationAt(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager)
m_23731_(C_4697_ p_23733_, C_792_ p_23734_, C_1118_ arg2)
private boolean
a(bhd arg0, bnh arg1)
hasMatchingProfession(PoiType arg0, VillagerProfession arg1)
method_29253(class_4158 arg0, class_3852 arg1)
isCompletedWorkStation(PointOfInterestType poiType, VillagerProfession profession)
m_23719_(C_792_ p_23721_, C_1121_ arg1)
private boolean
a(bne arg0)
hasJobSite(Villager arg0)
method_29254(class_1646 arg0)
hasJobSite(VillagerEntity villager)
m_23722_(C_1118_ arg0)