net.minecraft.world.entity.ai.behavior

public class YieldJobSite

extends Behavior<Villager>

bby
net.minecraft.world.entity.ai.behavior.YieldJobSite
net.minecraft.class_5327
net.minecraft.entity.ai.brain.task.TakeJobSiteTask
net.minecraft.src.C_660_
net.minecraft.world.entity.ai.behavior.BehaviorLeaveJob

Field summary

Modifier and TypeField
private final float
a
speedModifier
field_25158
speed
f_24833_

Constructor summary

ModifierConstructor
public (float speed)

Method summary

Modifier and TypeMethod
protected boolean
a(adi arg0, bne arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_29264(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_24845_, C_1118_ arg1)
protected void
a(adi arg0, bne arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_29265(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_24848_, C_1118_ p_24849_, long arg2)
private boolean
a(bhd arg0, bne arg1, gh arg2)
nearbyWantsJobsite(PoiType arg0, Villager arg1, BlockPos arg2)
method_29260(class_4158 arg0, class_1646 arg1, class_2338 arg2)
canUseJobSite(PointOfInterestType poiType, VillagerEntity villager, BlockPos pos)
m_24861_(C_792_ p_24863_, C_1118_ p_24864_, C_4675_ arg2)
private void
a(adi arg0, bne arg1, bne arg2, gh arg3, boolean arg4)
yieldJobSite(ServerLevel arg0, Villager arg1, Villager arg2, BlockPos arg3, boolean arg4)
method_29266(class_3218 arg0, class_1646 arg1, class_1646 arg2, class_2338 arg3, boolean arg4)
claimSite(ServerWorld world, VillagerEntity previousOwner, VillagerEntity newOwner, BlockPos pos, boolean jobSitePresent)
m_24850_(C_12_ p_24852_, C_1118_ p_24853_, C_1118_ p_24854_, C_4675_ p_24855_, boolean arg4)
private boolean
a(bne arg0, gh arg1, bhd arg2)
canReachPos(Villager arg0, BlockPos arg1, PoiType arg2)
method_29262(class_1646 arg0, class_2338 arg1, class_4158 arg2)
canReachJobSite(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType)
m_24867_(C_1118_ p_24869_, C_4675_ p_24870_, C_792_ arg2)
private void
a(bne arg0)
eraseMemories(Villager arg0)
method_29261(class_1646 arg0)
forgetJobSiteAndWalkTarget(VillagerEntity villager)
m_24865_(C_1118_ arg0)