Skip to content

v0.2.0

Choose a tag to compare

@mega12345mega mega12345mega released this 22 Aug 07:07
· 5 commits to main since this release
da4a23b
  • Changed $(~METHOD_PATH~)/<path> into $(~<path>), with additional $(method~<name><descriptor>[/<path>]) and $(class~package/Class$Nested~<name><descriptor>[/path]) path generators to accommodate path hashing
  • Added path hashing, which greatly shortens function names (use -expandedPaths for full file paths or @MCJExpandPath for a specific class)
  • Made @MCJImplFor apply to all references, even outside the class
  • The API now generates into the mcj namespace rather than your namespace
  • Added @MCJEntrypoint, which allows more entrypoints than just namespace:main
  • Added an EventManager along with a tick event
  • Added detection for when maxCommandChainLength is hit, which terminates Minecraft JVM
  • Made the terminate function display what entrypoint was called
  • When the Minecraft JVM is forcefully terminated (including maxCommandChainLimit), all entrypoints (including the tick event) will not run unless they call mcj:setup to prevent a corrupted state causing problems
  • Other misc additions to the API
  • Refactored code into PathProviders
  • Example code