net.minecraft.world.entity.ai.behavior

public class BehaviorUtils

byb
net.minecraft.world.entity.ai.behavior.BehaviorUtils
net.minecraft.class_4215
net.minecraft.entity.ai.brain.task.TargetUtil
net.minecraft.world.entity.ai.behavior.BehaviorUtil

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static void
a(bwg arg0, bwg arg1, float arg2, int arg3)
lockGazeAndWalkToEachOther(LivingEntity arg0, LivingEntity arg1, float arg2, int arg3)
method_19548(class_1309 arg0, class_1309 arg1, float arg2, int arg3)
lookAtAndWalkTowardsEachOther(LivingEntity first, LivingEntity second, float speed, int walkCompletionRange)
public static boolean
a(bxi<?> arg0, bwg arg1)
entityIsVisible(Brain<?> arg0, LivingEntity arg1)
method_19550(class_4095<?> arg0, class_1309 arg1)
canSee(Brain<?> brain, LivingEntity target)
public static boolean
a(bxi<?> arg0, cfk<? extends bwg> arg1, bvr<?> 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)
private static boolean
a(bxi<?> arg0, cfk<? extends bwg> arg1, Predicate<bwg> 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)
private static void
c(bwg arg0, bwg arg1)
lookAtEachOther(LivingEntity arg0, LivingEntity arg1)
method_19552(class_1309 arg0, class_1309 arg1)
lookAtEachOther(LivingEntity first, LivingEntity second)
public static void
a(bwg arg0, bwg arg1)
lookAtEntity(LivingEntity arg0, LivingEntity arg1)
method_19554(class_1309 arg0, class_1309 arg1)
lookAt(LivingEntity entity, LivingEntity target)
private static void
b(bwg arg0, bwg arg1, float arg2, int arg3)
setWalkAndLookTargetMemoriesToEachOther(LivingEntity arg0, LivingEntity arg1, float arg2, int arg3)
method_19555(class_1309 arg0, class_1309 arg1, float arg2, int arg3)
walkTowardsEachOther(LivingEntity first, LivingEntity second, float speed, int completionRange)
public static void
a(bwg arg0, bvk 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)
public static void
a(bwg arg0, jh 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)
public static void
a(bwg arg0, bzn 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)
walkTowards(LivingEntity entity, LookTarget target, float speed, int completionRange)
public static void
a(bwg arg0, cxp arg1, fby 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)
public static void
a(bwg arg0, cxp arg1, fby arg2, fby 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)
give(LivingEntity entity, ItemStack stack, Vec3d targetLocation, Vec3d velocityFactor, float yOffset)
public static SectionPos
a(ash arg0, kj 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)
public static boolean
a(bwi arg0, bwg arg1, int arg2)
isWithinAttackRange(Mob arg0, LivingEntity arg1, int arg2)
method_25940(class_1308 arg0, class_1309 arg1, int arg2)
isTargetWithinAttackRange(MobEntity mob, LivingEntity target, int rangedWeaponReachReduction)
public static boolean
a(bwg arg0, bwg 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)
public static boolean
b(bwg arg0, bwg arg1)
canSee(LivingEntity arg0, LivingEntity arg1)
method_24565(class_1309 arg0, class_1309 arg1)
isVisibleInMemory(LivingEntity source, LivingEntity target)
public static LivingEntity
a(bwg arg0, Optional<bwg> arg1, bwg 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)
public static LivingEntity
a(bwg arg0, bwg arg1, bwg 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)
public static Optional<LivingEntity>
a(bwg arg0, cfk<UUID> arg1)
getLivingEntityFromUUIDMemory(LivingEntity arg0, MemoryModuleType<UUID> arg1)
method_24560(class_1309 arg0, class_4140<UUID> arg1)
getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule)
public static Vec3
a(bwo arg0, int arg1, int arg2)
getRandomSwimmablePos(PathfinderMob arg0, int arg1, int arg2)
method_33193(class_1314 arg0, int arg1, int arg2)
find(PathAwareEntity entity, int horizontalRange, int verticalRange)
public static boolean
a(bwg arg0)
isBreeding(LivingEntity arg0)
method_41331(class_1309 arg0)
hasBreedTarget(LivingEntity entity)