net.minecraft.world.entity.ai.behavior

public class BehaviorUtils

boe
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.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(bml arg0, bml 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)
lookAtAndWalkTowardsEachOther(LivingEntity first, LivingEntity second, float speed)
m_22602_(C_524_ p_22603_, C_524_ p_22604_, float p_22605_)
public static boolean
a(bnl<?> arg0, bml 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)
canSee(Brain<?> brain, LivingEntity target)
m_22636_(C_548_<?> p_22637_, C_524_ p_22638_)
public static boolean
a(bnl<?> arg0, bvn<? extends bml> arg1, blz<?> 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)
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(bnl<?> arg0, bvn<? extends bml> arg1, Predicate<bml> 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)
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(bml arg0, bml 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)
lookAtEachOther(LivingEntity first, LivingEntity second)
m_22670_(C_524_ p_22671_, C_524_ p_22672_)
public static void
a(bml arg0, bml 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)
lookAt(LivingEntity entity, LivingEntity target)
m_22595_(C_524_ p_22596_, C_524_ p_22597_)
private static void
b(bml arg0, bml 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)
walkTowardsEachOther(LivingEntity first, LivingEntity second, float speed)
m_22660_(C_524_ p_22661_, C_524_ p_22662_, float p_22663_)
public static void
a(bml arg0, blv 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)
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(bml arg0, hx 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)
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(bml arg0, bpq arg1, float arg2, int arg3)
setWalkAndLookTargetMemories(LivingEntity arg0, PositionTracker arg1, float arg2, int arg3)
method_42647(class_1309 arg0, class_4115 arg1, float arg2, int arg3)
m_qonzbkul(C_usxaxydn arg0, C_upikatuq arg1, float arg2, int arg3)
walkTowards(LivingEntity entity, LookTarget target, float speed, int completionRange)
walkTowards(LivingEntity entity, LookTarget target, float speed, int completionTarget)
m_217128_(C_524_ p_217129_, C_612_ p_217130_, float p_217131_, int p_217132_)
public static void
a(bml arg0, cmy arg1, elt arg2)
throwItem(LivingEntity arg0, ItemStack arg1, Vec3 arg2)
method_19949(class_1309 arg0, class_1799 arg1, class_243 arg2)
m_xafgkpcc(C_usxaxydn arg0, C_sddaxwyk arg1, C_vgpupfxx arg2)
give(LivingEntity entity, ItemStack stack, Vec3d targetLocation)
throwStack(LivingEntity thrower, ItemStack stack, Vec3d throwVec)
m_22613_(C_524_ p_22614_, C_1391_ p_22615_, C_3046_ p_22616_)
public static void
a(bml arg0, cmy arg1, elt arg2, elt arg3, float arg4)
throwItem(LivingEntity arg0, ItemStack arg1, Vec3 arg2, Vec3 arg3, float arg4)
method_43392(class_1309 arg0, class_1799 arg1, class_243 arg2, class_243 arg3, float arg4)
m_twcvmjrq(C_usxaxydn arg0, C_sddaxwyk arg1, C_vgpupfxx arg2, C_vgpupfxx arg3, float arg4)
give(LivingEntity entity, ItemStack stack, Vec3d targetLocation, Vec3d velocityFactor, float yOffset)
throwStack(LivingEntity thrower, ItemStack stack, Vec3d throwVec, Vec3d throwStrength, float arg4)
m_217133_(C_524_ p_217134_, C_1391_ p_217135_, C_3046_ p_217136_, C_3046_ p_217137_, float p_217138_)
public static SectionPos
a(and arg0, iz 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)
getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius)
m_22581_(C_12_ p_22582_, C_4710_ p_22583_, int p_22584_)
public static boolean
a(bmn arg0, bml 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)
isTargetWithinAttackRange(MobEntity source, LivingEntity target, int rangedWeaponReachReduction)
m_22632_(C_526_ p_22633_, C_524_ p_22634_, int p_22635_)
public static boolean
a(bml arg0, bml 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)
isNewTargetTooFar(LivingEntity source, LivingEntity target, double extraDistance)
m_22598_(C_524_ p_22599_, C_524_ p_22600_, double p_22601_)
public static boolean
b(bml arg0, bml 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)
isVisibleInMemory(LivingEntity source, LivingEntity target)
m_22667_(C_524_ p_22668_, C_524_ p_22669_)
public static LivingEntity
a(bml arg0, Optional<bml> arg1, bml 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)
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(bml arg0, bml arg1, bml 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)
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(bml arg0, bvn<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)
getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule)
m_22610_(C_524_ p_22611_, C_753_<UUID> p_22612_)
public static Vec3
a(bmu 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)
find(PathAwareEntity entity, int horizontalRange, int verticalRange)
m_147444_(C_533_ p_147445_, int p_147446_, int p_147447_)
public static boolean
a(bml arg0)
isBreeding(LivingEntity arg0)
method_41331(class_1309 arg0)
m_erntwxtk(C_usxaxydn arg0)
hasBreedTarget(LivingEntity entity)
isValidBreedingTarget(LivingEntity entity)
m_217126_(C_524_ p_217127_)