Links
Tags
Creators
Details
0.0.7
Compatibility
Required content
Changes
Added:
STRING type with "string"
OBJECT type
MetalFunction OBJECT:
Creation: MAKE_VAR(OBJECT,$func,FUNC((#arg:INT,#arg2:BOOL),{ body })); Methods: $func.invoke(args); $func.getTypes(); - STRING LIST with all argument types
MetalList OBJECT
Creation: MAKE_VAR(OBJECT,$list,LIST(INT)); Methods: $list.add(50); $list.get(0); $list.remove(0); $list.getFirst(); $list.getLast(); $list.removeLast(); $list.removeFirst(); $list.hasIndex(0); $list.isEmpty(); $list.clear(); $list.size();
$list.maxSize(); - 1024
$list.forEach(FUNC((#i:INT,#v:INT),{ PRINT(#i + ": " + #v); }));
RedstoneLinker OBJECT
Creation: SENDER($sender,"diamond","iron_ingot"); RECEIVER($receiver,"redstone","stone"); Methods:
with SENDER: $sender.send(power); $sender.toggle(true); $sender.isWorking(); $sender.isTransmitting();
with RECEIVER: $receiver.receive(); - power $receiver.isActive(); - power > 0 $receiver.isWorking(); $receiver.isListening();
FOR function
WHILE function
SENDER function
RECEIVER function
CAUSE_HARD_ERROR function
SET_CATCH_MODE function
MAKE_PROCESS function
EVAL function
EVALUATE function
FUNC function
BREAK function (in LOOPS)
Changes:
Stack limit size 16 -> 32
Now, redstone connections limit is 128
CONTINUE function will skip iteration in LOOPS, and can call without "()"
CALL_SYSTEM now can return values
Removed:
EXIT_STACK and RERUN functions, bc them buggy
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:2hRnqCw1:a5iCIpmn"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:2hRnqCw1:a5iCIpmn"
}

