net.minecraft.entity.ai.brain.task

public class BoneMealTask

extends Task<VillagerEntity>

aug
net.minecraft.world.entity.ai.behavior.UseBonemeal
net.minecraft.class_4982
net.minecraft.entity.ai.brain.task.BoneMealTask
net.minecraft.unmapped.C_xemvzzla
net.minecraft.entity.ai.brain.task.BoneMealCropsTask
net.minecraft.entity.ai.brain.task.BoneMealCropsTask

Field summary

Modifier and TypeField
private long
b
nextWorkCycleTime
field_23222
startTime
f_revrmggu
field_233990_b_
taskDelay
private long
c
lastBonemealingSession
field_23223
lastEndEntityAge
f_yhpujdbv
field_233991_c_
taskCooldown
private int
d
timeWorkedSoFar
field_23224
duration
f_lisydeoe
field_233992_d_
grownObjects
private Optional<BlockPos>
e
cropPos
field_23225
pos
f_fyijqeak
field_233993_e_
growableTarget

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, bfj arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_26327(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_ykmjwhti(C_bdwnwhiu arg0, C_pdtkdbte arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
shouldExecute(ServerWorld worldIn, VillagerEntity owner)
protected boolean
a(aag arg0, bfj arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_26328(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_ttczagyy(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
shouldContinueExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
private Optional<BlockPos>
b(aag arg0, bfj arg1)
pickNextTarget(ServerLevel arg0, Villager arg1)
method_26329(class_3218 arg0, class_1646 arg1)
findBoneMealPos(ServerWorld world, VillagerEntity entity)
m_qzemzbtc(C_bdwnwhiu arg0, C_pdtkdbte arg1)
func_233997_b_(ServerWorld arg0, VillagerEntity arg1)
findGrowablePosition(ServerWorld world, VillagerEntity villager)
private boolean
a(fx arg0, aag arg1)
validPos(BlockPos arg0, ServerLevel arg1)
method_26326(class_2338 arg0, class_3218 arg1)
canBoneMeal(BlockPos pos, ServerWorld world)
m_wyolsrxs(C_hynzadkk arg0, C_bdwnwhiu arg1)
func_233996_a_(BlockPos arg0, ServerWorld arg1)
isGrowable(BlockPos pos, ServerWorld world)
protected void
b(aag arg0, bfj arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_26330(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_wfqutvxv(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
startExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
private void
a(bfj arg0)
setCurrentCropAsTarget(Villager arg0)
method_26324(class_1646 arg0)
addLookWalkTargets(VillagerEntity villager)
m_utwybmec(C_pdtkdbte arg0)
func_233994_a_(VillagerEntity arg0)
updateMemory(VillagerEntity villager)
protected void
c(aag arg0, bfj arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_26331(class_3218 arg0, class_1646 arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_zcvsdpxp(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
protected void
d(aag arg0, bfj arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_26332(class_3218 arg0, class_1646 arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_bwvalwvr(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)