yarn/mappings/net/minecraft/entity/ai/NoPenaltyTargeting.mapping

45 lines
2.3 KiB
Plaintext

CLASS net/minecraft/class_5532 net/minecraft/entity/ai/NoPenaltyTargeting
COMMENT Similar to {@link FuzzyTargeting}, but the positions this class' utility methods
COMMENT find never have pathfinding penalties.
METHOD method_31510 find (Lnet/minecraft/class_1314;II)Lnet/minecraft/class_243;
COMMENT Paths to a random reachable position with no penalty.
COMMENT
COMMENT @return the chosen end position or null if no valid positions could be found
ARG 0 entity
COMMENT the entity doing the pathing
ARG 1 horizontalRange
COMMENT the horizontal pathing range (how far the point can be from the entity's starting position on the X or Z range)
ARG 2 verticalRange
COMMENT the vertical pathing range (how far the point can be from the entity's starting position on the Y range)
METHOD method_31511 findFrom (Lnet/minecraft/class_1314;IILnet/minecraft/class_243;)Lnet/minecraft/class_243;
COMMENT Paths to a position leading away from a given starting point.
COMMENT
COMMENT @return the chosen end position or null if no valid positions could be found
ARG 0 entity
COMMENT the entity doing the pathing
ARG 1 horizontalRange
COMMENT the horizontal pathing range (how far the point can be from the entity's starting position on the X or Z range)
ARG 2 verticalRange
COMMENT the vertical pathing range (how far the point can be from the entity's starting position on the Y range)
ARG 3 start
COMMENT the position to path away from
METHOD method_31512 findTo (Lnet/minecraft/class_1314;IILnet/minecraft/class_243;D)Lnet/minecraft/class_243;
COMMENT Paths to a position leading towards a given end-point.
COMMENT
COMMENT @return the chosen end position or null if no valid positions could be found
ARG 0 entity
COMMENT the entity doing the pathing
ARG 1 horizontalRange
COMMENT the horizontal pathing range (how far the point can be from the entity's starting position on the X or Z range)
ARG 2 verticalRange
COMMENT the vertical pathing range (how far the point can be from the entity's starting position on the Y range)
ARG 3 end
COMMENT the position to path towards
ARG 4 angleRange
COMMENT the minimum angle of approach
METHOD method_31516 tryMake (Lnet/minecraft/class_1314;IZLnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
ARG 0 entity
ARG 1 horizontalRange
ARG 2 posTargetInRange
ARG 3 fuzz