Expose reachRange argument in findPath for PathFinder#13026
Conversation
|
Not sure about the accuracy name, I know that's the name from Parchment but it's assigned to a vanilla field reachRange. |
yeah i has the same question what name use the field or the other... |
|
I like If I wrote a pathfinder I'd probably name this parameter something like |
|
I would call the parameter
|
|
Agree with both above, accuracy is a pretty unfun name for this given it is inverted. |
|
Another name I suggested in discord was |
3e947fd to
2c62d3a
Compare
|
Rebased and change the argument to reachRange based in the last changes in NMS (and the comment of lynx) |
Warriorrrr
left a comment
There was a problem hiding this comment.
Range annotations should be added to the new params to indicate that they must not be negative, it would also be nice if the javadocs could explain what the param actually does
the positive annotation not? for the javadocs... not sure if you have a suggestion for that.. (my way to explaint things its not the best...) |
|
Positive works too as long as IDEs support it, I am just more familiar with jetbrains'. I don't have any suggestions for the javadocs, just needs to be sufficient enough so that plugin devs can know what it does without needing to ask in paper-dev |
okay i use the NonNegative (like components) annotation because and for docs... im try something i hope basic explain what this does.... |
|
docs modified with a little of help... i include a mention to a external site for what the algorithms used by internals. |
This PR just expose the accuracy for generate paths