9e41c15469e36cd0ea7b56a9765f6961aba19fbf
OneCommand
Simple Minecraft one command generator written in Haskell
Installation
Prerequisites
- Stack
- Cabal
- Glasgow Haskell Compiler
Installation Guide
Run the following command.
stack build
Usage
MCF Format
.mcf is a simple format to define minecraft command blocks. A single .mcf file corresponds to a single impulse/repeating command block, which is chained by multiple chain command blocks. The format is consisted with commands delimited by lines. The first line is chain type identifier, which can be one of !IMPULSE or !REPEATING.
Example of MCF
!IMPULSE
command1
command2
# comment
Generating
To generate the one command, put all .mcf files in a directory. And run the executable with path pointing at the directory.
ocmd ~/my-commands
There's also a sample commands directory at /sample-cmd
Making Structure
Put generated command into a impulse command block on a flat surface, in always active mode. The command structure will appear immediately.
Description
Languages
Haskell
100%
