net.minecraft.world.entity.ai.behavior

public class GoToWantedItem<E extends LivingEntity>

extends Behavior<E>

bac
net.minecraft.world.entity.ai.behavior.GoToWantedItem
net.minecraft.class_4815
net.minecraft.unmapped.C_rmejpnsf
net.minecraft.entity.ai.brain.task.WalkToNearestVisibleWantedItemTask
net.minecraft.entity.ai.brain.task.WalkToNearestVisibleWantedItemTask
net.minecraft.src.C_594_
net.minecraft.world.entity.ai.behavior.BehaviorFindAdmirableItem

Field summary

Modifier and TypeField
private final Predicate<E>
a
predicate
field_22305
f_qvknpqoo
startCondition
startCondition
f_23136_
private final int
c
maxDistToWalk
field_22306
f_qyimiufq
radius
radius
f_23137_
private final float
d
speedModifier
field_23131
f_xetpdilf
speed
speed
f_23138_

Constructor summary

ModifierConstructor
public (float speed, boolean requiresWalkTarget, int radius)
public (Predicate<E> startCondition, float speed, boolean requiresWalkTarget, int radius)

Method summary

Modifier and TypeMethod
protected boolean
a(adw arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
m_pwowjghk(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_23150_, E arg1)
protected void
a(adw arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_23153_, E p_23154_, long arg2)
private ItemEntity
a(E arg0)
getClosestLovedItem(E arg0)
method_24580(E arg0)
m_unzvcdhx(E arg0)
getNearestVisibleWantedItem(E entity)
getNearestVisibleWantedItem(E entity)
m_23155_(E arg0)