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

6,966
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 3 months ago
DescriptionChangelogVersions

Show all versions

1
2
3
6

Function Compiler 0.3.1-alpha.2 [1.20.3-1.20.4]

by EpicPix on Feb 23, 2025
Download

Function Compiler 0.3.1-alpha.2 [1.20.2]

by EpicPix on Feb 23, 2025
Download

Function Compiler 0.3.1-alpha.2 [1.20-1.20.1]

by EpicPix on Feb 23, 2025
Download

Function Compiler 0.3.1-alpha.2 [1.19.4]

by EpicPix on Feb 23, 2025
Download

Adds support for integer macros in scoreboard players add|remove|set

Fixes bugs:

  • Macros don't get parsed and compiled properly
  • @n selector looks for players instead of entities

Function Compiler 0.3.1-alpha.1 [1.21.4]

by EpicPix on Feb 5, 2025
Download

Function Compiler 0.3.1-alpha.1 [1.21.2-1.21.3]

by EpicPix on Feb 5, 2025
Download

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

by EpicPix on Feb 5, 2025
Download

Function Compiler 0.3.1-alpha.1 [1.20.5-1.20.6]

by EpicPix on Feb 5, 2025
Download

Function Compiler 0.3.1-alpha.1 [1.20.3-1.20.4]

by EpicPix on Feb 5, 2025
Download

Function Compiler 0.3.1-alpha.1 [1.20.2]

by EpicPix on Feb 5, 2025
Download

Function Compiler 0.3.1-alpha.1 [1.20-1.20.1]

by EpicPix on Feb 5, 2025
Download

Function Compiler 0.3.1-alpha.1 [1.19.4]

by EpicPix on Feb 5, 2025
Download

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

Function Compiler 0.3.0-alpha.4 [1.21.4]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.21.2-1.21.3]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.21-1.21.1]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.20.5-1.20.6]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.20.3-1.20.4]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.20.2]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.20-1.20.1]

by EpicPix on Jan 25, 2025
Download

Function Compiler 0.3.0-alpha.4 [1.19.4]

by EpicPix on Jan 25, 2025
Download

Re-adds support for some missing entity types

Adds selector argument: advancements

Adds commands:

  • advancement <grant|revoke> <players> only <advancement> [criterion]
  • execute if function ...
  • execute unless function ...
  • execute store result storage ... double
  • execute store result storage ... int (now supports non-1 scale)

Fixes bugs:

  • Texts with non-default styles don't compile (affects 1.21.4)
  • function ... with storage <storage> <path> does not get run from within compiled functions
  • execute unless score ... <operator> has flipped conditions
1
2
3
6

Modrinth is open source.

app-ads@1633f40

© 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.