net.minecraft.world.entity.ai.behavior

public class GoToWantedItem<E extends LivingEntity>

extends Behavior<E>

asi
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.PickupWantedItemTask
net.minecraft.server.v1_16_R2.BehaviorFindAdmirableItem

Field summary

Modifier and TypeField
private final Predicate<E>
b
predicate
field_22305
f_qvknpqoo
startCondition
field_233906_b_
private final int
c
maxDistToWalk
field_22306
f_qyimiufq
radius
field_233907_c_
private final float
d
speedModifier
field_23131
f_xetpdilf
field_23131
field_233908_d_

Constructor summary

ModifierConstructor
public (float arg0, boolean arg1, int arg2)
public (Predicate<E> startCondition, float arg1, boolean requiresWalkTarget, int arg3)

Method summary

Modifier and TypeMethod
protected boolean
a(aag 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)
func_212832_a_(ServerWorld arg0, E arg1)
protected void
a(aag 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)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)
private ItemEntity
a(E arg0)
getClosestLovedItem(E arg0)
method_24580(E arg0)
m_unzvcdhx(E arg0)
getNearestVisibleWantedItem(E entity)
func_233909_a_(E arg0)