Skip to content

1.18.2 (API v1.4.1)

Additions

API

  • Added ActionableResult#isEmpty (equivalent to !actionableResult.isPresent())
  • Added ModLoadingErrorAddEvent (replacement for ModLoadingErrors#hook)

Changes

API

  • Deprecated ActionableResult#nullableValue,value
    • ActionableResult#get will return nullable value in 2.0.0
  • Deprecated ModLoadingErrors#hook
  • Default VisualConfig is now available on the server
  • BlueberryBucketItem#getName is now annotated with @NotNull
  • ModInfo became a record so modId and version field is now inaccessible
  • These classes are now a record and legacy getter methods are now deprecated:
    • ModFileEntry
    • ModInfo
    • RegisteredListener
    • SimpleModInfo

Core

  • Messages like "Mod description for mod is missing" are no longer logged when loading mods

Code Quality

  • Clean-up code
  • AnnotationTest will now ignore the array of primitive type