Rhizo

Continuation of Rhino 1.16.5, with performance improvement, bugfixes, and, REMAPPER
Back to Files

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

File nameRhizo-forge-3.6.0.jar
Uploader
ZZZankZZZank
Uploaded
Feb 16, 2025
Downloads
27
Size
1.7 MB
Mod Loaders
Forge
File ID
6198260
Type
R
Release
Supported game versions
  • 1.16.5

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:rhizo-1003287:6198260")

Learn more about Curse Maven

What's new

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

This mod has no additional files