net.minecraft.world.entity.ai.behavior

public class UseBonemeal

extends Behavior<Villager>

aug
net.minecraft.world.entity.ai.behavior.UseBonemeal
net.minecraft.class_4982
net.minecraft.entity.ai.brain.task.BoneMealTask
net.minecraft.entity.ai.brain.task.BoneMealCropsTask
net.minecraft.server.v1_16_R3.BehaviorBonemeal

Field summary

Modifier and TypeField
private long
b
nextWorkCycleTime
field_23222
startTime
field_233990_b_
private long
c
lastBonemealingSession
field_23223
lastEndEntityAge
field_233991_c_
private int
d
timeWorkedSoFar
field_23224
duration
field_233992_d_
private Optional<BlockPos>
e
cropPos
field_23225
pos
field_233993_e_

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)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
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)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
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)
func_233997_b_(ServerWorld arg0, VillagerEntity arg1)
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)
func_233996_a_(BlockPos arg0, ServerWorld arg1)
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)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
private void
a(bfj arg0)
setCurrentCropAsTarget(Villager arg0)
method_26324(class_1646 arg0)
addLookWalkTargets(VillagerEntity villager)
func_233994_a_(VillagerEntity arg0)
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)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
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)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)