your current location:首页 > news>MOD DING Scalability Minecraft

MOD DING Scalability Minecraft

2024-12-15 02:21:44|Myriagame |source:minecraft skins

introduce

Modding Scalability is a lightweight library module.It mainly provides the following functions for developers who use the old version of SCALA language (before the flat reform) Forge module:

Use committee.nova.scalability.patch.gameregistry#adDRecipe and other functions to register formulas. There is no need to convert scala.char to java.lang.charat;

Transplant VEC3I, Blockpos, etc. to the previous versions before 1.8, and provide corresponding functions for World, Entity, etc.

Provide Java compatibility for some Scala function interfaces (such as "T => Boolean" can be converted to "Predicate [T]");

Support the portion of the portion in the 2 through the Apply function of the transplantation class;

Provide IITEMTICKABLE interface to simulate the function of Item#Inventorytick in the high version

(Urgently need to be added) ...

Take this module as Gradle dependencies (take 1.7.10-0.2.0 as an example):

 repositories {... maven {url 'https://jitpack.io'}} Dependencies {iMplementation 'com.github.mikha ILTAPIO: ModdingScalability: 1.7.10-0.2.0 '} 

Remark

When using language outside Scala, some functions of this library cannot work normally or lose meaning;

You can add this module to the integrated package.