net.minecraft.world.entity.ai.behavior

public class BehaviorUtils

arw
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.BrainUtil
net.minecraft.server.v1_16_R3.BehaviorUtil

Method summary

Modifier and TypeMethod
public static void
a(aqm arg0, aqm 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)
func_220618_a(LivingEntity arg0, LivingEntity arg1, float arg2)
public static boolean
a(arf<?> arg0, aqm 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)
func_220619_a(Brain<?> arg0, LivingEntity arg1)
public static boolean
a(arf<?> arg0, ayd<? extends aqm> arg1, aqe<?> 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)
func_220623_a(Brain<?> arg0, MemoryModuleType<? extends LivingEntity> arg1, EntityType<?> arg2)
private static boolean
a(arf<?> arg0, ayd<? extends aqm> arg1, Predicate<aqm> 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)
func_233870_a_(Brain<?> arg0, MemoryModuleType<? extends LivingEntity> arg1, Predicate<LivingEntity> arg2)
private static void
d(aqm arg0, aqm 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)
func_220616_b(LivingEntity arg0, LivingEntity arg1)
public static void
a(aqm arg0, aqm 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)
func_220625_c(LivingEntity arg0, LivingEntity arg1)
private static void
b(aqm arg0, aqm 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)
func_220626_d(LivingEntity arg0, LivingEntity arg1, float arg2)
public static void
a(aqm arg0, aqa 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)
func_233860_a_(LivingEntity arg0, Entity arg1, float arg2, int arg3)
public static void
a(aqm arg0, fx 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)
func_233866_a_(LivingEntity arg0, BlockPos arg1, float arg2, int arg3)
public static void
a(aqm arg0, bmb arg1, dcn 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)
func_233865_a_(LivingEntity arg0, ItemStack arg1, Vector3d arg2)
public static SectionPos
a(aag arg0, gp 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)
func_220617_a(ServerWorld arg0, SectionPos arg1, int arg2)
public static boolean
a(aqn arg0, aqm 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)
method_25940(MobEntity arg0, LivingEntity arg1, int arg2)
func_233869_a_(MobEntity arg0, LivingEntity arg1, int arg2)
public static boolean
b(aqm arg0, aqm arg1)
isWithinMeleeAttackRange(LivingEntity arg0, LivingEntity arg1)
method_25941(class_1309 arg0, class_1309 arg1)
m_kckwhxqu(C_usxaxydn arg0, C_usxaxydn arg1)
method_25941(LivingEntity arg0, LivingEntity arg1)
func_233874_b_(LivingEntity arg0, LivingEntity arg1)
public static boolean
a(aqm arg0, aqm 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)
func_233861_a_(LivingEntity arg0, LivingEntity arg1, double arg2)
public static boolean
c(aqm arg0, aqm 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)
func_233876_c_(LivingEntity arg0, LivingEntity arg1)
public static LivingEntity
a(aqm arg0, Optional<aqm> arg1, aqm 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)
func_233867_a_(LivingEntity arg0, Optional<LivingEntity> arg1, LivingEntity arg2)
public static LivingEntity
a(aqm arg0, aqm arg1, aqm 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)
func_233863_a_(LivingEntity arg0, LivingEntity arg1, LivingEntity arg2)
public static Optional<LivingEntity>
a(aqm arg0, ayd<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)
func_233864_a_(LivingEntity arg0, MemoryModuleType<UUID> arg1)
public static Stream<Villager>
a(bfj arg0, Predicate<bfj> 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)
func_233872_a_(VillagerEntity arg0, Predicate<VillagerEntity> arg1)