Skip to content

1.18 (API v0.0.18)

Additions

Core

  • Now accepts sourceDir and includeDir by ClientMain
    • This feature is for debugging/testing mod from IDE (used by runClient task of BlueberryFarm)
  • ClientMain will now try to detect assertsDir automatically (when assetsDir is not provided in arguments)

API

  • Add BlueberryMod#addURLToClassLoader
    • You can now add URL to class loader without hacking using reflection.
  • Add softDepends to mod.yml

Changes

API

  • Convert some classes to record
    • Following methods are now deprecated:
      • RefClass#getClazz()
      • RefField#getField()
      • RefInstanceAwareField#getField()
      • RefInstanceAwareField#getInstance()
  • Remove RefMethod#getMember() and RefConstructor#getMember() because it is inherited from RefExecutable, thus it was unneeded
  • These methods are now final (cannot be overridden)
    • RefMethod#getMethod()
    • RefConstructor#getConstructor()
    • RefExecutable#getExecutable()
    • RefExecutable#getDeclaringClass()
    • RefExecutable#getName()
    • RefExecutable#getModifiers()
    • RefExecutable#getMember()
  • EarlyLoadingScreen is now disabled by default
    • There are several issues in EarlyLoadingScreen, so it is now disabled by default. You can enable again by using JVM argument -Dnet.blueberrymc.client.disableEarlyLoadingScreen=false