yarn/mappings/net/minecraft/entity/ai/brain/task/LookTargetUtil.mapping

70 lines
2.8 KiB
Plaintext

CLASS net/minecraft/class_4215 net/minecraft/entity/ai/brain/task/LookTargetUtil
METHOD method_19548 lookAtAndWalkTowardsEachOther (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;F)V
ARG 0 first
ARG 1 second
ARG 2 speed
METHOD method_19550 canSee (Lnet/minecraft/class_4095;Lnet/minecraft/class_1309;)Z
ARG 0 brain
ARG 1 target
METHOD method_19551 canSee (Lnet/minecraft/class_4095;Lnet/minecraft/class_4140;Lnet/minecraft/class_1299;)Z
ARG 0 brain
ARG 1 memoryModuleType
ARG 2 entityType
METHOD method_19552 lookAtEachOther (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)V
ARG 0 first
ARG 1 second
METHOD method_19554 lookAt (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)V
ARG 0 entity
ARG 1 target
METHOD method_19555 walkTowardsEachOther (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;F)V
ARG 0 first
ARG 1 second
ARG 2 speed
METHOD method_19949 give (Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_243;)V
ARG 0 entity
ARG 1 stack
ARG 2 targetLocation
METHOD method_20419 getPosClosestToOccupiedPointOfInterest (Lnet/minecraft/class_3218;Lnet/minecraft/class_4076;I)Lnet/minecraft/class_4076;
ARG 0 world
ARG 1 center
ARG 2 radius
METHOD method_24557 walkTowards (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;FI)V
ARG 0 entity
ARG 1 target
ARG 2 speed
ARG 3 completionRange
METHOD method_24558 isNewTargetTooFar (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;D)Z
COMMENT Checks if an entity can be a new attack target for the source entity.
ARG 0 source
COMMENT the source entity
ARG 1 target
COMMENT the attack target candidate
ARG 2 extraDistance
COMMENT the max distance this new target can be farther compared to the existing target
METHOD method_24559 getCloserEntity (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
ARG 0 source
ARG 1 first
ARG 2 second
METHOD method_24560 getEntity (Lnet/minecraft/class_1309;Lnet/minecraft/class_4140;)Ljava/util/Optional;
ARG 0 entity
ARG 1 uuidMemoryModule
METHOD method_24561 walkTowards (Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;FI)V
ARG 0 entity
ARG 1 target
ARG 2 speed
ARG 3 completionRange
METHOD method_24562 getCloserEntity (Lnet/minecraft/class_1309;Ljava/util/Optional;Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
ARG 0 source
ARG 1 first
ARG 2 second
METHOD method_24564 canSee (Lnet/minecraft/class_4095;Lnet/minecraft/class_4140;Ljava/util/function/Predicate;)Z
ARG 0 brain
ARG 1 memoryType
ARG 2 filter
METHOD method_24565 isVisibleInMemory (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
ARG 0 source
ARG 1 target
METHOD method_29248 streamSeenVillagers (Lnet/minecraft/class_1646;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
ARG 0 villager
ARG 1 filter