net.minecraft.world.entity.ai.behavior

public class BehaviorUtils

bhr
net.minecraft.world.entity.ai.behavior.BehaviorUtils
net.minecraft.class_4215
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(bfx arg0, bfx 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)
m_22602_(C_524_ p_22603_, C_524_ p_22604_, float p_22605_)
public static boolean
a(bgy<?> arg0, bfx arg1)
entityIsVisible(Brain<?> arg0, LivingEntity arg1)
method_19550(class_4095<?> arg0, class_1309 arg1)
canSee(Brain<?> brain, LivingEntity target)
m_22636_(C_548_<?> p_22637_, C_524_ p_22638_)
public static boolean
a(bgy<?> arg0, boz<? extends bfx> arg1, bfl<?> 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)
m_22639_(C_548_<?> p_22640_, C_753_<? extends C_524_> p_22641_, C_513_<?> p_22642_)
private static boolean
a(bgy<?> arg0, boz<? extends bfx> arg1, Predicate<bfx> 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)
m_22643_(C_548_<?> p_22644_, C_753_<? extends C_524_> p_22645_, Predicate<C_524_> p_22646_)
private static void
c(bfx arg0, bfx arg1)
lookAtEachOther(LivingEntity arg0, LivingEntity arg1)
method_19552(class_1309 arg0, class_1309 arg1)
lookAtEachOther(LivingEntity first, LivingEntity second)
m_22670_(C_524_ p_22671_, C_524_ p_22672_)
public static void
a(bfx arg0, bfx arg1)
lookAtEntity(LivingEntity arg0, LivingEntity arg1)
method_19554(class_1309 arg0, class_1309 arg1)
lookAt(LivingEntity entity, LivingEntity target)
m_22595_(C_524_ p_22596_, C_524_ p_22597_)
private static void
b(bfx arg0, bfx 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)
m_22660_(C_524_ p_22661_, C_524_ p_22662_, float p_22663_)
public static void
a(bfx arg0, bfh 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)
m_22590_(C_524_ p_22591_, C_507_ p_22592_, float p_22593_, int p_22594_)
public static void
a(bfx arg0, gt 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)
m_22617_(C_524_ p_22618_, C_4675_ p_22619_, float p_22620_, int p_22621_)
public static void
a(bfx arg0, bjc 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)
m_217128_(C_524_ p_217129_, C_612_ p_217130_, float p_217131_, int p_217132_)
public static void
a(bfx arg0, cfv arg1, ede 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)
m_22613_(C_524_ p_22614_, C_1391_ p_22615_, C_3046_ p_22616_)
public static void
a(bfx arg0, cfv arg1, ede arg2, ede 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)
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(aip arg0, hw 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)
m_22581_(C_12_ p_22582_, C_4710_ p_22583_, int p_22584_)
public static boolean
a(bfz arg0, bfx 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)
m_22632_(C_526_ p_22633_, C_524_ p_22634_, int p_22635_)
public static boolean
a(bfx arg0, bfx 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)
m_22598_(C_524_ p_22599_, C_524_ p_22600_, double p_22601_)
public static boolean
b(bfx arg0, bfx arg1)
canSee(LivingEntity arg0, LivingEntity arg1)
method_24565(class_1309 arg0, class_1309 arg1)
isVisibleInMemory(LivingEntity source, LivingEntity target)
m_22667_(C_524_ p_22668_, C_524_ p_22669_)
public static LivingEntity
a(bfx arg0, Optional<bfx> arg1, bfx 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)
m_22625_(C_524_ p_22626_, Optional<C_524_> p_22627_, C_524_ p_22628_)
public static LivingEntity
a(bfx arg0, bfx arg1, bfx 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)
m_22606_(C_524_ p_22607_, C_524_ p_22608_, C_524_ p_22609_)
public static Optional<LivingEntity>
a(bfx arg0, boz<UUID> arg1)
getLivingEntityFromUUIDMemory(LivingEntity arg0, MemoryModuleType<UUID> arg1)
method_24560(class_1309 arg0, class_4140<UUID> arg1)
getEntity(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule)
m_22610_(C_524_ p_22611_, C_753_<UUID> p_22612_)
public static Vec3
a(bgg 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)
m_147444_(C_533_ p_147445_, int p_147446_, int p_147447_)
public static boolean
a(bfx arg0)
isBreeding(LivingEntity arg0)
method_41331(class_1309 arg0)
hasBreedTarget(LivingEntity entity)
m_217126_(C_524_ p_217127_)