2025-08-01 18:56:22 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:56:22 +09:00
2025-08-01 18:56:22 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:56:22 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00
2025-08-01 18:44:48 +09:00

OneCommand

capsule

Simple Minecraft one command generator written in Haskell

overview

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
Minecraft one-command generator in Haskell
Readme BSD-3-Clause 403 KiB
Languages
Haskell 100%