net.minecraft.world.entity.ai.behavior

public class BehaviorUtils

ayu
net.minecraft.world.entity.ai.behavior.BehaviorUtils
net.minecraft.class_4215
net.minecraft.unmapped.C_glrklsny
net.minecraft.entity.ai.brain.task.LookTargetUtil
net.minecraft.src.C_571_
net.minecraft.world.entity.ai.behavior.BehaviorUtil

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static void
a(axh arg0, axh arg1, float arg2)
lockGazeAndWalkToEachOther(LivingEntity arg0, LivingEntity arg1, float arg2)
method_19548(class_1309 arg0, class_1309 arg1, float arg2)
m_kuyqvzrm(C_usxaxydn arg0, C_usxaxydn arg1, float arg2)
lookAtAndWalkTowardsEachOther(LivingEntity first, LivingEntity second, float speed)
m_22602_(C_524_ p_22603_, C_524_ p_22604_, float p_22605_)
public static boolean
a(ayc<?> arg0, axh arg1)
entityIsVisible(Brain<?> arg0, LivingEntity arg1)
method_19550(class_4095<?> arg0, class_1309 arg1)
m_rxoftlkg(C_rjqjaxef<?> arg0, C_usxaxydn arg1)
canSee(Brain<?> brain, LivingEntity target)
m_22636_(C_548_<?> p_22637_, C_524_ p_22638_)
public static boolean
a(ayc<?> arg0, bfg<? extends axh> arg1, awx<?> arg2)
targetIsValid(Brain<?> arg0, MemoryModuleType<? extends LivingEntity> arg1, EntityType<?> arg2)
method_19551(class_4095<?> arg0, class_4140<? extends class_1309> arg1, class_1299<?> arg2)
m_fdeslver(C_rjqjaxef<?> arg0, C_vbbyoqyw<? extends C_usxaxydn> arg1, C_ogavsvbr<?> arg2)
canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryModuleType, EntityType<?> entityType)
m_22639_(C_548_<?> p_22640_, C_753_<? extends C_524_> p_22641_, C_513_<?> p_22642_)
private static boolean
a(ayc<?> arg0, bfg<? extends axh> arg1, Predicate<axh> arg2)
targetIsValid(Brain<?> arg0, MemoryModuleType<? extends LivingEntity> arg1, Predicate<LivingEntity> arg2)
method_24564(class_4095<?> arg0, class_4140<? extends class_1309> arg1, Predicate<class_1309> arg2)
m_phbmgvxr(C_rjqjaxef<?> arg0, C_vbbyoqyw<? extends C_usxaxydn> arg1, Predicate<C_usxaxydn> arg2)
canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryType, Predicate<LivingEntity> filter)
m_22643_(C_548_<?> p_22644_, C_753_<? extends C_524_> p_22645_, Predicate<C_524_> p_22646_)
private static void
c(axh arg0, axh arg1)
lookAtEachOther(LivingEntity arg0, LivingEntity arg1)
method_19552(class_1309 arg0, class_1309 arg1)
m_ctbmsqii(C_usxaxydn arg0, C_usxaxydn arg1)
lookAtEachOther(LivingEntity first, LivingEntity second)
m_22670_(C_524_ p_22671_, C_524_ p_22672_)
public static void
a(axh arg0, axh arg1)
lookAtEntity(LivingEntity arg0, LivingEntity arg1)
method_19554(class_1309 arg0, class_1309 arg1)
m_sbvwjqzq(C_usxaxydn arg0, C_usxaxydn arg1)
lookAt(LivingEntity entity, LivingEntity target)
m_22595_(C_524_ p_22596_, C_524_ p_22597_)
private static void
b(axh arg0, axh arg1, float arg2)
setWalkAndLookTargetMemoriesToEachOther(LivingEntity arg0, LivingEntity arg1, float arg2)
method_19555(class_1309 arg0, class_1309 arg1, float arg2)
m_ickeymbg(C_usxaxydn arg0, C_usxaxydn arg1, float arg2)
walkTowardsEachOther(LivingEntity first, LivingEntity second, float speed)
m_22660_(C_524_ p_22661_, C_524_ p_22662_, float p_22663_)
public static void
a(axh arg0, awt arg1, float arg2, int arg3)
setWalkAndLookTargetMemories(LivingEntity arg0, Entity arg1, float arg2, int arg3)
method_24557(class_1309 arg0, class_1297 arg1, float arg2, int arg3)
m_suwuvdix(C_usxaxydn arg0, C_astfners arg1, float arg2, int arg3)
walkTowards(LivingEntity entity, Entity target, float speed, int completionRange)
m_22590_(C_524_ p_22591_, C_507_ p_22592_, float p_22593_, int p_22594_)
public static void
a(axh arg0, gh arg1, float arg2, int arg3)
setWalkAndLookTargetMemories(LivingEntity arg0, BlockPos arg1, float arg2, int arg3)
method_24561(class_1309 arg0, class_2338 arg1, float arg2, int arg3)
m_iapcotew(C_usxaxydn arg0, C_hynzadkk arg1, float arg2, int arg3)
walkTowards(LivingEntity entity, BlockPos target, float speed, int completionRange)
m_22617_(C_524_ p_22618_, C_4675_ p_22619_, float p_22620_, int p_22621_)
public static void
a(axh arg0, bue arg1, dom arg2)
throwItem(LivingEntity arg0, ItemStack arg1, Vec3 arg2)
method_19949(class_1309 arg0, class_1799 arg1, class_243 arg2)
m_brpvowqo(C_usxaxydn arg0, C_sddaxwyk arg1, C_vgpupfxx arg2)
give(LivingEntity entity, ItemStack stack, Vec3d targetLocation)
m_22613_(C_524_ p_22614_, C_1391_ p_22615_, C_3046_ p_22616_)
public static SectionPos
a(adi arg0, ha arg1, int arg2)
findSectionClosestToVillage(ServerLevel arg0, SectionPos arg1, int arg2)
method_20419(class_3218 arg0, class_4076 arg1, int arg2)
m_vdaxycco(C_bdwnwhiu arg0, C_zubvmeye arg1, int arg2)
getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius)
m_22581_(C_12_ p_22582_, C_4710_ p_22583_, int p_22584_)
public static boolean
a(axj arg0, axh arg1, int arg2)
isWithinAttackRange(Mob arg0, LivingEntity arg1, int arg2)
method_25940(class_1308 arg0, class_1309 arg1, int arg2)
m_jqczfoso(C_dxkfswlz arg0, C_usxaxydn arg1, int arg2)
isTargetWithinAttackRange(MobEntity mob, LivingEntity target, int rangedWeaponReachReduction)
m_22632_(C_526_ p_22633_, C_524_ p_22634_, int p_22635_)
public static boolean
a(axj arg0, axh arg1)
isWithinMeleeAttackRange(Mob arg0, LivingEntity arg1)
method_25941(class_1308 arg0, class_1309 arg1)
m_kckwhxqu(C_dxkfswlz arg0, C_usxaxydn arg1)
isTargetWithinMeleeRange(MobEntity source, LivingEntity target)
m_147441_(C_526_ p_147442_, C_524_ p_147443_)
public static boolean
a(axh arg0, axh arg1, double arg2)
isOtherTargetMuchFurtherAwayThanCurrentAttackTarget(LivingEntity arg0, LivingEntity arg1, double arg2)
method_24558(class_1309 arg0, class_1309 arg1, double arg2)
m_wwkgdngi(C_usxaxydn arg0, C_usxaxydn arg1, double arg2)
isNewTargetTooFar(LivingEntity source, LivingEntity target, double extraDistance)
m_22598_(C_524_ p_22599_, C_524_ p_22600_, double p_22601_)
public static boolean
b(axh arg0, axh arg1)
canSee(LivingEntity arg0, LivingEntity arg1)
method_24565(class_1309 arg0, class_1309 arg1)
m_hmyszgwx(C_usxaxydn arg0, C_usxaxydn arg1)
isVisibleInMemory(LivingEntity source, LivingEntity target)
m_22667_(C_524_ p_22668_, C_524_ p_22669_)
public static LivingEntity
a(axh arg0, Optional<axh> arg1, axh arg2)
getNearestTarget(LivingEntity arg0, Optional<LivingEntity> arg1, LivingEntity arg2)
method_24562(class_1309 arg0, Optional<class_1309> arg1, class_1309 arg2)
m_jopprbze(C_usxaxydn arg0, Optional<C_usxaxydn> arg1, C_usxaxydn arg2)
getCloserEntity(LivingEntity source, Optional<LivingEntity> first, LivingEntity second)
m_22625_(C_524_ p_22626_, Optional<C_524_> p_22627_, C_524_ p_22628_)
public static LivingEntity
a(axh arg0, axh arg1, axh arg2)
getTargetNearestMe(LivingEntity arg0, LivingEntity arg1, LivingEntity arg2)
method_24559(class_1309 arg0, class_1309 arg1, class_1309 arg2)
m_oewccwdc(C_usxaxydn arg0, C_usxaxydn arg1, C_usxaxydn arg2)
getCloserEntity(LivingEntity source, LivingEntity first, LivingEntity second)
m_22606_(C_524_ p_22607_, C_524_ p_22608_, C_524_ p_22609_)
public static Optional<LivingEntity>
a(axh arg0, bfg<UUID> arg1)
getLivingEntityFromUUIDMemory(LivingEntity arg0, MemoryModuleType<UUID> arg1)
method_24560(class_1309 arg0, class_4140<UUID> arg1)
m_awvvypat(C_usxaxydn arg0, C_vbbyoqyw<UUID> arg1)
getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule)
m_22610_(C_524_ p_22611_, C_753_<UUID> p_22612_)
public static Stream<Villager>
a(bne arg0, Predicate<bne> arg1)
getNearbyVillagersWithCondition(Villager arg0, Predicate<Villager> arg1)
method_29248(class_1646 arg0, Predicate<class_1646> arg1)
m_hbtlpkfc(C_pdtkdbte arg0, Predicate<C_pdtkdbte> arg1)
streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter)
m_22650_(C_1118_ p_22651_, Predicate<C_1118_> p_22652_)
public static Vec3
a(axq arg0, int arg1, int arg2)
getRandomSwimmablePos(PathfinderMob arg0, int arg1, int arg2)
method_33193(class_1314 arg0, int arg1, int arg2)
m_rimkcqny(C_hqdayibh arg0, int arg1, int arg2)
find(PathAwareEntity entity, int horizontalRange, int verticalRange)
m_147444_(C_533_ p_147445_, int p_147446_, int p_147447_)