net.minecraft.world.entity.ai.behavior

public class UseBonemeal

extends Behavior<Villager>

All mapped superinterfaces:

BehaviorControl

cmk
net.minecraft.world.entity.ai.behavior.UseBonemeal
net.minecraft.class_4982
net.minecraft.entity.ai.brain.task.BoneMealTask
net.minecraft.src.C_645_
net.minecraft.world.entity.ai.behavior.BehaviorBonemeal

字段概要

修饰符与类型字段
private static final int
c
BONEMEALING_DURATION
field_30184
MAX_DURATION
f_148035_
private long
d
nextWorkCycleTime
field_23222
startTime
f_24461_
private long
e
lastBonemealingSession
field_23223
lastEndEntityAge
f_24462_
private int
f
timeWorkedSoFar
field_23224
duration
f_24463_
private Optional<BlockPos>
g
cropPos
field_23225
pos
f_24464_

构造函数概要

修饰符构造函数
public ()

方法概要

修饰符与类型方法
protected boolean
a(axf arg0, dcx arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_26327(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_458848_, C_433019_ arg1)
protected boolean
a(axf arg0, dcx 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_6737_(C_12_ p_455041_, C_433019_ p_24479_, long arg2)
private Optional<BlockPos>
b(axf arg0, dcx arg1)
pickNextTarget(ServerLevel arg0, Villager arg1)
method_26329(class_3218 arg0, class_1646 arg1)
findBoneMealPos(ServerWorld world, VillagerEntity entity)
m_24492_(C_12_ p_451835_, C_433019_ arg1)
private boolean
a(is arg0, axf arg1)
validPos(BlockPos arg0, ServerLevel arg1)
method_26326(class_2338 arg0, class_3218 arg1)
canBoneMeal(BlockPos pos, ServerWorld world)
m_24485_(C_4675_ p_24487_, C_12_ arg1)
protected void
b(axf arg0, dcx 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_6735_(C_12_ p_459025_, C_433019_ p_24498_, long arg2)
private void
a(dcx arg0)
setCurrentCropAsTarget(Villager arg0)
method_26324(class_1646 arg0)
addLookWalkTargets(VillagerEntity villager)
m_24480_(C_433019_ arg0)
protected void
c(axf arg0, dcx 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_6732_(C_12_ p_457344_, C_433019_ p_24506_, long arg2)
protected void
d(axf arg0, dcx 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_6725_(C_12_ p_457932_, C_433019_ p_24514_, long arg2)