JCM (v2.0.0-beta.11) for (MTR 4.0.0-beta.16) has been released!
Added:
- Scripting
-
- Added Networking to enable networking functionalities in scripts
-
- Added Files for basic data saving functionalities in scripts
-
- Implement
MinecraftClient.worldIsRainingAt
functionality
- Implement
-
- Add
java.util.*
package to whitelist
- Add
-
- Add
Timing.currentTimeMillis()
andTiming.nanoTime()
, these are equivalent methods tojava.lang.System.currentTimeMillis()
andjava.lang.System.nanoTime()
. It is advisable to use this over java.lang.System as it may no longer be available soon.
- Add
Fix:
- Fix JSON PIDS (RV/LCD) destination text potentially overlapping if platform is hidden
- Fix PIDS 1A custom destination text overflowing beyond the PIDS if too long
- Fix circular route not displayed in JCM PIDS
- Fix miscalculation of PIDS arrival time, now they should more accurate.
- Fix Scrollbar in GUI screens shifting away when dragged with mouse
Download:
You can download this release on Modrinth or GitHub
JCM (v2.0.0-beta.9) for (MTR 4.0.0-beta.16) has been released!
Changes:
- Scripting
-
- As it is expected that most if not all scripts needed to be ported, some dummy/compatibility functions has been removed:
-
-
Resources.getNTEProtoVersion()
-
-
-
Resources.getNTEVersionInt()
-
-
-
Resources.getNTEVersion()
-
-
-
Resources.getMTRVersion()
-
-
-
Resources.readNbtString()
-
-
-
-
- Replacement:
Resources.getAddonVersion("mtr")
- Replacement:
-
-
-
- To prevent misuse of scripts, script may now only access java class from the following packages:
-
-
com.lx862.jcm.mod.scripting.*
-
-
-
org.mtr.*
-
-
-
java.awt.*
-
-
-
java.lang.*
-
-
-
sun.java2d.*
-
Fixes:
- Compatibility with MTR 4 beta-16
- JSON PIDS Preset
-
- Fix text potentially overlapping when platform number is hidden
- Scripted PIDS Preset
- Fix the last parameter in
create()
function potentially being called with null
Download:
You can download this release on Modrinth or GitHub