Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Function Compiler

Function Compiler

This mod allows the server to automatically compile most of the functions to Java bytecode

7,204
49
Optimization

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.4

Platforms

Fabric
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

EpicPix
EpicPix Owner

Details

Licensed LGPL-3.0-only
Published last year
Updated 4 months ago
DescriptionChangelogVersions
All versionsFunction Compiler 0.3.1-alpha.1 [1.21-1.21.1]

Function Compiler 0.3.1-alpha.1 [1.21-1.21.1]

Download
Report

Changelog

Adds selector argument: predicate

Adds commands:

  • execute on origin
  • execute on target
  • execute store result storage ... float
  • execute if predicate
  • execute unless predicate

Adds /mcfc sub-commands:

  • profiler
    • disable - Disables profiler
    • enable - Starts profiling (possibly recompiles code)
    • print_trace - Prints last trace results in console
    • print - Prints profiler results in console
    • reset - Resets current results
    • save_trace - Saves last trace results to disk (debug/ folder)
    • save - Saves profiler results to disk (debug/ folder)
  • recompile - Recompiles all functions
  • show_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..b generates an infinite loop

Files

mcfc-0.3.1-alpha.1+1.21-fabric.jar(593.68 KiB) Primary
Download

Metadata

Release channel

Alpha

Version number

0.3.1-alpha.1+1.21

Loaders

Fabric Quilt

Game versions

1.21–1.21.1

Downloads

46

Publication date

February 5, 2025 at 10:21 PM

Publisher

EpicPix

EpicPix

Owner

Version ID

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.