Links
Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 2 years ago
All versions
0.3.1-alpha.1+1.21.4
Alpha
Function Compiler 0.3.1-alpha.1 [1.21.4]2 years ago 144
Compatibility
Minecraft: Java Edition
1.21.4
Platforms
Fabric
Quilt
Supported environments
Server-side
Singleplayer
Changes
Adds selector argument: predicate
Adds commands:
execute on originexecute on targetexecute store result storage ... floatexecute if predicateexecute unless predicate
Adds /mcfc sub-commands:
profilerdisable- Disables profilerenable- Starts profiling (possibly recompiles code)print_trace- Prints last trace results in consoleprint- Prints profiler results in consolereset- Resets current resultssave_trace- Saves last trace results to disk (debug/folder)save- Saves profiler results to disk (debug/folder)
recompile- Recompiles all functionsshow_diagnostics- Shows all errors from compilation
Fixes bugs:
execute positioned ^ ^ ^works only when there's an entity in context- Local coordinate math does not calculate the correct location
execute unless score ... matches a..bgenerates an infinite loop
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:fCDJbsBM:5FYV6xmk"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:fCDJbsBM:5FYV6xmk"
}

