net.minecraft.world.entity.ai.behavior

public class SetWalkTargetAwayFrom<T>

extends Behavior<PathfinderMob>

bbl
net.minecraft.world.entity.ai.behavior.SetWalkTargetAwayFrom
net.minecraft.class_4121
net.minecraft.unmapped.C_htymbopt
net.minecraft.entity.ai.brain.task.GoToRememberedPositionTask
net.minecraft.entity.ai.brain.task.GoToRememberedPositionTask
net.minecraft.src.C_626_
net.minecraft.world.entity.ai.behavior.BehaviorWalkAway

Field summary

Modifier and TypeField
private final MemoryModuleType<T>
a
walkAwayFromMemory
field_18380
f_pemrvdhy
entityMemory
entityMemory
f_23982_
private final float
c
speedModifier
field_18381
f_xtdixixw
speed
speed
f_23983_
private final int
d
desiredDistance
field_22321
f_lcrznzvz
range
range
f_23984_
private final Function<T, Vec3>
e
toPosition
field_22322
f_nqpsuzle
posRetriever
posRetriever
f_23985_

Constructor summary

ModifierConstructor
public (MemoryModuleType<T> memoryType, float speed, int range, boolean requiresWalkTarget, Function<T, Vec3> posRetriever)

Method summary

Modifier and TypeMethod
public static SetWalkTargetAwayFrom<BlockPos>
a(bfy<gj> arg0, float arg1, int arg2, boolean arg3)
pos(MemoryModuleType<BlockPos> arg0, float arg1, int arg2, boolean arg3)
method_24601(class_4140<class_2338> arg0, float arg1, int arg2, boolean arg3)
m_lacjjlmd(C_vbbyoqyw<C_hynzadkk> arg0, float arg1, int arg2, boolean arg3)
toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget)
toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget)
m_24012_(C_753_<C_4675_> p_24013_, float p_24014_, int p_24015_, boolean p_24016_)
public static SetWalkTargetAwayFrom<? extends Entity>
b(bfy<? extends axk> arg0, float arg1, int arg2, boolean arg3)
entity(MemoryModuleType<? extends Entity> arg0, float arg1, int arg2, boolean arg3)
method_24603(class_4140<? extends class_1297> arg0, float arg1, int arg2, boolean arg3)
m_ymnqcwoq(C_vbbyoqyw<? extends C_astfners> arg0, float arg1, int arg2, boolean arg3)
toEntity(MemoryModuleType<? extends Entity> memoryType, float speed, int range, boolean requiresWalkTarget)
toEntity(MemoryModuleType<? extends Entity> memoryType, float speed, int range, boolean requiresWalkTarget)
m_24019_(C_753_<? extends C_507_> p_24020_, float p_24021_, int p_24022_, boolean p_24023_)
protected boolean
a(adw arg0, ayh arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_19002(class_3218 arg0, class_1314 arg1)
m_wgguviue(C_bdwnwhiu arg0, C_hqdayibh arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_24001_, C_533_ arg1)
private Vec3
a(ayh arg0)
getPosToAvoid(PathfinderMob arg0)
method_24600(class_1314 arg0)
m_ktqlxpap(C_hqdayibh arg0)
getPos(PathAwareEntity entity)
getPos(PathAwareEntity entity)
m_24006_(C_533_ arg0)
private boolean
b(ayh arg0)
alreadyWalkingAwayFromPosWithSameSpeed(PathfinderMob arg0)
method_24602(class_1314 arg0)
m_jtxozdeb(C_hqdayibh arg0)
isWalkTargetPresentAndFar(PathAwareEntity entity)
isWalkTargetPresentAndFar(PathAwareEntity entity)
m_24017_(C_533_ arg0)
protected void
a(adw arg0, ayh arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_19003(class_3218 arg0, class_1314 arg1, long arg2)
m_rgpqhfnh(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_24004_, C_533_ p_24005_, long arg2)
private static void
a(ayh arg0, dpo arg1, float arg2)
moveAwayFrom(PathfinderMob arg0, Vec3 arg1, float arg2)
method_19596(class_1314 arg0, class_243 arg1, float arg2)
m_yjgswcrl(C_hqdayibh arg0, C_vgpupfxx arg1, float arg2)
setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)
setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)
m_24008_(C_533_ p_24009_, C_3046_ p_24010_, float p_24011_)