Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many important changes for 2.4 #62

Merged
merged 46 commits into from
Mar 10, 2024
Merged

Many important changes for 2.4 #62

merged 46 commits into from
Mar 10, 2024

Conversation

GodCipher
Copy link
Member

@GodCipher GodCipher commented Mar 10, 2024

Adding heuristic weights + fine tuned heuristic,
improved performance for over 50%,
some small bugfixes,
Path is now an Iterable, improved javadocs,
now using workstealing threads for async tasks + added shutdown process,
fixed getBlockState for lower version and implemented support for 1.18.2
added two new strategies for survival scenarios

GodCipher and others added 30 commits February 20, 2024 10:13
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](apache/maven-shade-plugin@maven-shade-plugin-3.5.1...maven-shade-plugin-3.5.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…che.maven.plugins-maven-shade-plugin-3.5.2

Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.2
Bumps org.apache.logging.log4j:log4j-core from 2.22.1 to 2.23.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
In the WatchdogUtil class, the handling of ClassNotFoundException and NoSuchMethodException was updated. Instead of using the default printStackTrace method, a custom error logging method (logFatalError) from the ErrorLogger class is now being used to better track and handle these exceptions.
The "JumpablePathfinderStrategy" class has been revised to include downward jumps in its calculations. A new private method "isJumpingDown" is introduced, which is used to calculate the height difference whether the entity is jumping upwards or downwards. Consequently, this increases the accuracy of the entity jumping mechanism in the game.
…che.logging.log4j-log4j-core-2.23.0

Bump org.apache.logging.log4j:log4j-core from 2.22.1 to 2.23.0
The weights for the MANHATTAN_WEIGHT, OCTILE_WEIGHT, and PERPENDICULAR_WEIGHT constants in the Node class have been adjusted. Additionally, a new HEIGHT_WEIGHT constant has been added to consider changes in elevation. Consequently, this not only modifies the calculation for distances but also accounts for differences in vertical position, improving pathing accuracy in scenarios involving varying heights.
@GodCipher GodCipher self-assigned this Mar 10, 2024
@GodCipher GodCipher added enhancement New feature or request build-pr-jar Buils a PR Jar for this PR api internal labels Mar 10, 2024
@olijeffers0n
Copy link
Member

Untested, but looks good

@GodCipher GodCipher merged commit c63d140 into production Mar 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api build-pr-jar Buils a PR Jar for this PR enhancement New feature or request internal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants