Class
net.minecraft.entity.ai.brain.task.LookTargetUtil
This description should be content pulled from the first comments of a lua file.
Static Methods
LookTargetUtil.canSee(brain, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.canSee(brain, memoryModuleType, entityType) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.find(entity, horizontalRange, verticalRange) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.getCloserEntity(source, first, second) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.getCloserEntity(source, first, second) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.getEntity(entity, uuidMemoryModule) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.getPosClosestToOccupiedPointOfInterest(world, center, radius) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.give(entity, stack, targetLocation) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.isNewTargetTooFar(source, target, extraDistance) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.isTargetWithinAttackRange(mob, target, rangedWeaponReachReduction) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.isTargetWithinMeleeRange(source, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.isVisibleInMemory(source, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.lookAt(entity, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.lookAtAndWalkTowardsEachOther(first, second, speed) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.streamSeenVillagers(villager, filter) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.walkTowards(entity, target, speed, completionRange) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
LookTargetUtil.walkTowards(entity, target, speed, completionRange) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
instance:equals(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getClass() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hashCode() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notify() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notifyAll() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:toString() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0, arg1) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
- LookTargetUtil.canSee(brain, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- brain userdata, Brain This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.canSee(brain, memoryModuleType, entityType)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- brain userdata, Brain This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- memoryModuleType userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- entityType userdata, EntityType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.find(entity, horizontalRange, verticalRange)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, PathAwareEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- horizontalRange int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- verticalRange int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.getCloserEntity(source, first, second)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- source userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- first userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- second userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.getCloserEntity(source, first, second)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- source userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- first userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- second userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.getEntity(entity, uuidMemoryModule)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- uuidMemoryModule userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.getPosClosestToOccupiedPointOfInterest(world, center, radius)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- world userdata, ServerWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- center userdata, ChunkSectionPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- radius int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, ChunkSectionPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.give(entity, stack, targetLocation)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- targetLocation userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- LookTargetUtil.isNewTargetTooFar(source, target, extraDistance)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- source userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- extraDistance number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.isTargetWithinAttackRange(mob, target, rangedWeaponReachReduction)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- mob userdata, MobEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- rangedWeaponReachReduction int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.isTargetWithinMeleeRange(source, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- source userdata, MobEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.isVisibleInMemory(source, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- source userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.lookAt(entity, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- LookTargetUtil.lookAtAndWalkTowardsEachOther(first, second, speed)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- first userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- second userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- speed number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- LookTargetUtil.streamSeenVillagers(villager, filter)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- villager userdata, VillagerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- filter userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- LookTargetUtil.walkTowards(entity, target, speed, completionRange)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- speed number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- completionRange int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- LookTargetUtil.walkTowards(entity, target, speed, completionRange)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- speed number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- completionRange int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Instance Methods
- instance:equals(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getClass()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hashCode()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:notify()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:notifyAll()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:toString()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:wait()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:wait(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:wait(arg0, arg1)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"