net.minecraft.world.entity.ai.behavior

public class YieldJobSite

extends Behavior<Villager>

bhb
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(agg arg0, btp 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(agg arg0, btp 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(hc<bmv> arg0, btp arg1, gt arg2)
nearbyWantsJobsite(Holder<PoiType> arg0, Villager arg1, BlockPos arg2)
method_29260(class_6880<class_4158> arg0, class_1646 arg1, class_2338 arg2)
canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos)
m_217510_(C_203228_<C_792_> p_217512_, C_1118_ p_217513_, C_4675_ arg2)
private void
a(agg arg0, btp arg1, btp arg2, gt 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(btp arg0, gt arg1, bmv 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(btp arg0)
eraseMemories(Villager arg0)
method_29261(class_1646 arg0)
forgetJobSiteAndWalkTarget(VillagerEntity villager)
m_24865_(C_1118_ arg0)