Wiki 9Minecraft Recurrent Complex Wiki

Commands

Commands

Command:fill

This command fills the selected area completely with any block - also random compositions of metadata.

Example: fill a selected region with spruce planks (note: need to enter meta data tag):

/#fill minecraft:planks --metadata 1

Use --shape sphere to fill in the shape of a sphere or circle instead.

Note that this also functions as a replace command by offering the second parameter, e.g. to replace stone with dirt: /#fill dirt stone.

--flood <directions> floods the material around it with any block. This is useful for filling unusual shapes with a kind of block, for example lakes or houses. By default, all air blocks are flooded, but this can be modified by providing a source block expression parameter.

Command:natural

This command is useful for adding a base of Natural Floor blocks for your structure.

/#natural smart will run the functions for floor and space transformers together.

/#natural space analyzes the selection, looking for air that is not supposed to be part of the structure and replacing it with negative space.

/#natural floor analyzes the selection looking to find the floor and adding natural floor blocks below it, to make it integrate well into the terrain.

Command:copy

This command copies the selection to the internal pasteboard.

To paste, use the command Command:paste, or Command:pastegen if you want to paste with generation features.

Command:move

This command moves the selection, and all of its contents (as if copy-pasted), to a new position. The previous area is filled with air.

Use --duplicate (or -c) to copy the selection instead of just moving it.

Command:selection

Collection of several selection related commands. Use as /#selection <subcommand> <parameters...>

clear Clears the selection.

get Outputs the current selection and information about it as text.

set Sets either one or both of the current selected points using the flags --first or --second. If none are set, both points will be set to the coordinates. If both are set, the command expects both the first and the second parameters as ordered inputs.

Examples:

set ~1 ~1 ~1

set 4 2 1 --first

set 5 2 5 10 8 10 --first --second

crop Shrinks the selection until the entered block expression is no longer valid for all blocks. This may save you some time in selecting structures in their entirety to eliminate unnecessary air blocks around the boundary.

Examples:

/#selection shrink is:air

/#selection shrink stone

wand Expands the selection until the entered block expression is no longer valid for any block. By default it expands until there is air on all sides. This is useful for selecting a fully excavated structure without needing to fly around it on all sides.

shrink Shrinks the selection by the entered length.

expand Expands the selection by the entered length.

Command:reload

Reloads all custom loaded data in the structures folder.

Command:gen

Generates a structure, comparable to how the world generator would do it. Useful for testing structures.

Command:import

Imports the structure so script blocks and transformers don't activate. Used to edit a structure's original state.

Command:export

Exports the current selection to a structure and opens the editor GUI (including entities, blocks and tile entities).

Command:edit

Opens the editor GUI to edit the properties of a structure.

Command:paste

Pastes the current pasteboard to the specified coordinates. Use --generate to also trigger generation features.

Command:biome

Lists any biome types' biomes, or any biome's biome types. Useful for structure generation info to figure out what types to set where.

Example Usage:

/#biome get deep_ocean

/#biome list WATER

Command:dimension

Lists any dimension types' dimensions, or any dimension's dimension types.

Currently doesn't really do anything as the types aren't supported by any mods.

Command:confirm

Confirms a prompted action.

Command:cancel

Cancels a promoted action.

Command:preview

Switches the current selection mode. Setting the mode to 'none' will change all operations to perform instantly instead of prompting confirmation. Setting the mode to 'shape' will change it to preview again.

Command:files

This command opens the structures directory if you don't know where to find it.

Command:decorate

This command decorates a range of biomes naturally, as if by world generation. This is useful for retrogeneration - in other words, if you've added Recurrent Complex after generating a world and want to add some life to it in post.

--one modifies the decoration to place exactly one structure in the area. This is useful for decorating bland spots in your world with proper weighted random decoration, as well as roughly testing the decoration of particular setups.

Command:setbiome

Sets the biome of the selected area. You can use the Block Selector to run it from a command block.

This is especially useful for giving generated structures their own biomes for custom mob spawning. You can place Generic Solid blocks below the structure where you want it to set the biome, adding a World Script Transformer to the structure that matches the block you used, and using it to run a WorldScript:Command #selecting ~ ~ ~ ~ ~ ~ #setbiome plains on their positions. This will give you the most freedom with the shape of the biome.

Command:write

Saves a registry's entry to a file in one of the resources folders.

For example, you can run /#write structure IceThorn SERVER_INACTIVE to deactivate the IceThorn structure just for this server. This is especially useful for per-world progressional systems involving structures or loot.

The syntax is /#write [type] [identity] [status]

[type] can be a generation type like natural_generation_category or structure. [identity] can be a specific element in that category or all. [status] is a word filtering the elements of identity based on whether their status is ACTIVE or INACTIVE or all to include both. all three of these statuses may be prefixed by server_ or client_ to only output the configuration of the server or client.

Command:retro

Retro-Generates all biomes that have not been generated in yet. It is recommended to use /#remember beforehand to make sure the retro generation does not destroy player-created structures.

Be careful with this: Structures can cut into poeple's creations. For a more precise retro-generation, use /#decorate.

You can also enter a Resource Expression as a parameter to generate in all existing biomes, but only if the structures match the expression. This is useful for retro-generating dungeons into the world once they've been unlocked.

Command:map

Runs a (compatible) command on a saved structure and immediately saves it again.

See also: /#mapall

This is very useful to make quick fixes for balancing. You can also use /#containing to determine what structures to edit.

Usage:

/#map StructureName SaveFolder Command <CommandArguments>

Example:

/#map MeteorSite ACTIVE #fill stone

Command:schematic

Collection of several schematic related commands.

import Imports a schematic into the world.

export Exports the selection to a new schematic file in the schematics directory.

Keep in mind schematic files do not persist between worlds and mods - if you want to save your structure safely, it is recommended you use the structure format instead.

convert Converts a schematic to a structure file (opens the GUI to make changes to the spawn logic).

Command:&

Joins several commands together. Each parameter must be quoted. Supports most modded commands as well.

Examples:

/#& "say Hello" "say World"

/#& "#gen MeteorSite" "#confirm"

/#map MeteorSite /#& "#selection shrink 2" "#fill stone"

Command:sight

A sight is a structure that has generated in the world. This is a collection of commands related to sights.

forget Forgets about one or more sights from the world.

id Forgets a sight by UUID.

all Forgets all sights at a specific position.

remember Remembers the selection as a new sight. This is especially useful in survival maps to mark areas as certain structures, or in conjunction with the command /#retro to protect player builds.

check Checks what sights are at a specific position (or where you stand). This is useful for figuring out what structures to disable, tweak generation for, and similar. /#whatisthis overloads to this.

info Outputs info about an existing sight.

Command:sanity

Checks the setup and all active structures for common errors.

Command:structures

A collection of subcommands related to structures.

lookup Sends the player information about a specific structure: Whether it generates, the author, link, and comment from the metadata section.

search This command searches all structures for a given text. You can use this to search for structures by name, author or description. Use /#structures to help find out how you can search.

Option examples:

--containing Bearbeiten searches all structures for a given block. This is useful to keep the balancing correct in your mod pack. You can either disable the found structures, edit them, or run a universalTransformer to replace the blocks in question (see configuration GUI).

--list Bearbeiten searches through structures contained in a specific list

--maze Bearbeiten searches through structures contained in a specific maze.

Use examples:

/#structures search --containing domain=reccomplex searches for all structures containing blocks from Recurrent Complex.

tweak Opens a GUI where you can edit the spawnTweaks option from the config. The option allows you to easily tweak spawn rates (and thus, disable structures).

Depending on the changes you might have to use /#reload MODDED after tweaking.