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
- Host: GitHub
- URL: https://github.com/goose121/mfpp
- Owner: goose121
- License: bsd-3-clause
- Created: 2017-05-19T21:18:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T22:49:04.000Z (about 8 years ago)
- Last Synced: 2025-01-19T17:34:01.575Z (5 months ago)
- Topics: minecraft, perl-script, preprocessor
- Language: Perl
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.