mod-tools

English 中文

ShowUIList

Tester

Alias Object/Expression Description
IntFunc $ -
$p Packages -
$.J, $.I, … long.class, int.class Encoding of Primitive Type
$.long
$.int
long.class, int.class -
$.duo, $.copper Blocks.duo, Items.copper Get a content by name
$.items, $.liquids, … Items, Liquids, … -
$.item(name/id), $.unit(name/id), … Content which has the name/id Get a content by name/id
$.forEach(list, func) for (let v of list) { … } Mindustry’s RhinoJS is not supported the for-of for java object
$.toArray(iterable) […iterable] Convert a object to array
$.range(int), … (like python) a generator (from -> to, step) Like python
$.dialog(text/drawable/texture) _ View the text/drawable/texture

UnitSpawn

Selection

ReviewElement

Frag

Window

ShowInfoWindow

Others

Extensions

Replace the original scene, capture rendering errors, may not be good

Redirect some websites, such as: github
Configuration file: b0kkihope/http_redirect.properties