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

65 lines
2.7 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;)V
ARG 0 first
ARG 1 second
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;)V
ARG 0 first
ARG 1 second
METHOD method_19556 walkTowards (Lnet/minecraft/class_1309;Lnet/minecraft/class_4115;I)V
ARG 0 entity
ARG 1 target
ARG 2 completionRange
METHOD method_19949 give (Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_243;)V
ARG 0 entity
ARG 1 stack
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_24556 isAttackTargetClose (Lnet/minecraft/class_1309;D)Z
ARG 0 entity
ARG 1 radius
METHOD method_24557 walkTowards (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
ARG 0 entity
ARG 1 target
ARG 2 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;I)V
ARG 0 entity
ARG 1 target
ARG 2 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_24565 isVisibleInMemory (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
ARG 0 source
ARG 1 target