Function Compiler

Function Compiler

Mod

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

Server CursedOptimization

4,443 downloads
37 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Function Compiler 0.3.1-alpha.1 [1.21.4]

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.4-fabric.jar(593.9 KiB) Primary Download

Project members

EpicPix

Owner

Details

Licensed LGPL-3.0-only
Published a year ago
Updated 5 days ago