net.minecraft.world.entity.ai.behavior

public class BehaviorUtils

aqi
net.minecraft.world.entity.ai.behavior.BehaviorUtils
net.minecraft.class_4215
net.minecraft.entity.ai.brain.task.LookTargetUtil
net.minecraft.entity.ai.brain.BrainUtil
net.minecraft.server.v1_16_R1.BehaviorUtil

Method summary

Modifier and TypeMethod
public static void
a(aoy arg0, aoy arg1, float arg2)
lockGazeAndWalkToEachOther(LivingEntity arg0, LivingEntity arg1, float arg2)
method_19548(class_1309 arg0, class_1309 arg1, float arg2)
lookAtAndWalkTowardsEachOther(LivingEntity first, LivingEntity second, float speed)
func_220618_a(LivingEntity arg0, LivingEntity arg1, float arg2)
public static boolean
a(apr<?> arg0, aoy arg1)
entityIsVisible(Brain<?> arg0, LivingEntity arg1)
method_19550(class_4095<?> arg0, class_1309 arg1)
canSee(Brain<?> brain, LivingEntity target)
func_220619_a(Brain<?> arg0, LivingEntity arg1)
public static boolean
a(apr<?> arg0, awp<? extends aoy> arg1, aoq<?> arg2)
targetIsValid(Brain<?> arg0, MemoryModuleType<? extends LivingEntity> arg1, EntityType<?> arg2)
method_19551(class_4095<?> arg0, class_4140<? extends class_1309> arg1, class_1299<?> 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(apr<?> arg0, awp<? extends aoy> arg1, Predicate<aoy> 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)
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(aoy arg0, aoy arg1)
lookAtEachOther(LivingEntity arg0, LivingEntity arg1)
method_19552(class_1309 arg0, class_1309 arg1)
lookAtEachOther(LivingEntity first, LivingEntity second)
func_220616_b(LivingEntity arg0, LivingEntity arg1)
public static void
a(aoy arg0, aoy arg1)
lookAtEntity(LivingEntity arg0, LivingEntity arg1)
method_19554(class_1309 arg0, class_1309 arg1)
lookAt(LivingEntity entity, LivingEntity target)
func_220625_c(LivingEntity arg0, LivingEntity arg1)
private static void
b(aoy arg0, aoy arg1, float arg2)
setWalkAndLookTargetMemoriesToEachOther(LivingEntity arg0, LivingEntity arg1, float arg2)
method_19555(class_1309 arg0, class_1309 arg1, float arg2)
walkTowardsEachOther(LivingEntity first, LivingEntity second, float speed)
func_220626_d(LivingEntity arg0, LivingEntity arg1, float arg2)
public static void
a(aoy arg0, aom 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)
walkTowards(LivingEntity entity, Entity target, float speed, int completionRange)
func_233860_a_(LivingEntity arg0, Entity arg1, float arg2, int arg3)
public static void
a(aoy arg0, fu 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)
walkTowards(LivingEntity entity, BlockPos target, float speed, int completionRange)
func_233866_a_(LivingEntity arg0, BlockPos arg1, float arg2, int arg3)
public static void
a(aoy arg0, bki arg1, dem arg2)
throwItem(LivingEntity arg0, ItemStack arg1, Vec3 arg2)
method_19949(class_1309 arg0, class_1799 arg1, class_243 arg2)
give(LivingEntity entity, ItemStack stack, Vec3d targetLocation)
func_233865_a_(LivingEntity arg0, ItemStack arg1, Vector3d arg2)
public static SectionPos
a(zd arg0, go arg1, int arg2)
findSectionClosestToVillage(ServerLevel arg0, SectionPos arg1, int arg2)
method_20419(class_3218 arg0, class_4076 arg1, int arg2)
getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius)
func_220617_a(ServerWorld arg0, SectionPos arg1, int arg2)
public static boolean
a(aoz arg0, aoy arg1, int arg2)
isWithinAttackRange(Mob arg0, LivingEntity arg1, int arg2)
method_25940(class_1308 arg0, class_1309 arg1, int arg2)
method_25940(MobEntity arg0, LivingEntity arg1, int arg2)
func_233869_a_(MobEntity arg0, LivingEntity arg1, int arg2)
public static boolean
b(aoy arg0, aoy arg1)
isWithinMeleeAttackRange(LivingEntity arg0, LivingEntity arg1)
method_25941(class_1309 arg0, class_1309 arg1)
method_25941(LivingEntity arg0, LivingEntity arg1)
func_233874_b_(LivingEntity arg0, LivingEntity arg1)
public static boolean
a(aoy arg0, aoy arg1, double arg2)
isOtherTargetMuchFurtherAwayThanCurrentAttackTarget(LivingEntity arg0, LivingEntity arg1, double arg2)
method_24558(class_1309 arg0, class_1309 arg1, double arg2)
isNewTargetTooFar(LivingEntity source, LivingEntity target, double extraDistance)
func_233861_a_(LivingEntity arg0, LivingEntity arg1, double arg2)
public static boolean
c(aoy arg0, aoy arg1)
canSee(LivingEntity arg0, LivingEntity arg1)
method_24565(class_1309 arg0, class_1309 arg1)
isVisibleInMemory(LivingEntity source, LivingEntity target)
func_233876_c_(LivingEntity arg0, LivingEntity arg1)
public static LivingEntity
a(aoy arg0, Optional<aoy> arg1, aoy arg2)
getNearestTarget(LivingEntity arg0, Optional<LivingEntity> arg1, LivingEntity arg2)
method_24562(class_1309 arg0, Optional<class_1309> arg1, class_1309 arg2)
getCloserEntity(LivingEntity source, Optional<LivingEntity> first, LivingEntity second)
func_233867_a_(LivingEntity arg0, Optional<LivingEntity> arg1, LivingEntity arg2)
public static LivingEntity
a(aoy arg0, aoy arg1, aoy arg2)
getTargetNearestMe(LivingEntity arg0, LivingEntity arg1, LivingEntity arg2)
method_24559(class_1309 arg0, class_1309 arg1, class_1309 arg2)
getCloserEntity(LivingEntity source, LivingEntity first, LivingEntity second)
func_233863_a_(LivingEntity arg0, LivingEntity arg1, LivingEntity arg2)
public static Optional<LivingEntity>
a(aoy arg0, awp<UUID> arg1)
getLivingEntityFromUUIDMemory(LivingEntity arg0, MemoryModuleType<UUID> arg1)
method_24560(class_1309 arg0, class_4140<UUID> arg1)
getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule)
func_233864_a_(LivingEntity arg0, MemoryModuleType<UUID> arg1)
public static Stream<Villager>
a(bdp arg0, Predicate<bdp> arg1)
getNearbyVillagersWithCondition(Villager arg0, Predicate<Villager> arg1)
method_29248(class_1646 arg0, Predicate<class_1646> arg1)
streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter)
func_233872_a_(VillagerEntity arg0, Predicate<VillagerEntity> arg1)