Скачать Rhizo — Minecraft Моды — ModStock

Установок

0

Последнее обновление

11 месяцев назад
Клиент
Библиотеки

Rhizo

An updated fork of Rhino, with new features and bugfixes implemented for originally EOL Rhino for 1.16.5.

Summary

  • Remapper support!
    • This allows accessing Java methods and fields using their recognizable MCP name instead of SRG name like func_12345_ab_
    • E.g.in KubeJS script, accessing getOpPermissionLevel() method from MinecraftServer class will require calling func_110455_j() instead, but with Rhizo, you can call getOpPermissionLevel() directly.
    • ProbeJS Legacy provides special support for remapped name in ProbeJS Legacy 3.2.0, so remapped name can be dumped to provide typing support.
    • Note that the original SRG name is intentionally hiddened for exposing remapped MCP name, so you might need to edit your script if you used SRG name(like func_12345_ab_) in your script.
  • Rhizo now supports Object.entries(some_obj) and Object.values(some_obj).
  • Rhizo will retain its param name when compiling, so that you can see more than just type of parameters when working with Rhizo related types, if you have doc dumped by ProbeJS Legacy.
  • Fixed JSON generating for Iterable, so that when using JSON.stringfy() on an array or other iterable objects, all elements can be stringfied (instead of only the first one when using Rhino).

Rhizo is licensed under MPL-2.0.

Участники проекта
ZZZank

ZZZank