Rhizo

Continuation of Rhino 1.16.5, with performance improvement, bugfixes, and, REMAPPER

File Details

3.6.0 fabric: Enum equality & `for..of` for Java Iterables

  • R
  • Feb 16, 2025
  • 1.53 MB
  • 19
  • 1.16.5
  • Fabric

File Name

Rhizo-fabric-3.6.0.jar

Supported Versions

  • 1.16.5

Curse Maven Snippet

Fabric

modImplementation "curse.maven:rhizo-1003287:6198264"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Rhizo 3.5.1 -> 3.6.0

Enum equality & for..of for Java Iterables

  • You can use enum == "EnumNameHere" or enum == 1 (enum index) to compare enum now
    • Note: special equality is NOT added to === and !==, that is, enum === "EnumNameHere" or enum == 1 (enum index) will still always return false
  • you can now iterate through Java Iterables, just like native JS array
    • for (let element of someJavaList) {} for example
  • using RegEx (for example /^somePattern+/) with enableCompiler enabled now works again
  • fix error message when method choice is ambiguous
  • type wrapper is rewritten for less function calling jump and more flexibility
  • fix some arrays (array obtained from java codes) in a strange format when converted to string
  • better type support for MapLike and ArrayLike
  • throw error early when trying to wrap illegal object to an enum
  • performance improvements
  • and some other fixes, mostly for developers