An open API service indexing awesome lists of open source software.

https://github.com/goose121/mfpp

A preprocessor for Minecraft functions
https://github.com/goose121/mfpp

minecraft perl-script preprocessor

Last synced: 3 months ago
JSON representation

A preprocessor for Minecraft functions

Awesome Lists containing this project

README

        

# mfpp
A preprocessor for [Minecraft functions](http://minecraft.gamepedia.com/Function)

mfpp is still in alpha, planned features include improved macros, recursion, and other time-saving devices.

## Syntax

Conditionals:

if (selector) <
...
>
else <
...
>

Macros:

define macroname <
...
>
...


## Processing
To process the file ``, do:

perl mfpp.pl

Once mfpp finishes executing, copy the main function file, `.mcfunction`, anywhere in the world's function folder, and copy the auxiliary files (`..mcfunction`) into the world's `mfpp` namespace.