-
Notifications
You must be signed in to change notification settings - Fork 9
Working With Structures
Terra uses its own structure storage format. THis format is a custom scripting language called TerraScript. For information on how to write procedural structures in TerraScript, see the TerraScript Basics page. This page will go over exporting structures from your world to TerraScript files.
Exporting structures requires WorldEdit installed. You only need WorldEdit
for selection, nothing else in Terra requires it.
Exporting a structure:
- Build your structure. For this example, this spruce tree will be used:
- (Optional) Place a Center Sign in your structure. A Center sign defines a center to the structure around which the script will be made.
- Make a WorldEdit selection including your structure. (The cobblestone shown in the image was for making the
selection, it was removed afterwards)
- Export your structure with the
/te export <name>
command.
Your structure will be saved to plugins/Terra/export/structures/name.tesf
.
Loading structures can be useful for debugging. All loaded structure scripts may be loaded via command.
/te structure export <name>
Export a structure to plugins/Terra/export/structures/name.tesf
/te structure load <full|chunk> <id> <rotation>
Load a structure script with ID id
and rotation `rotation
-
full
loads the entire structure -
chunk
loads the secton of the structure in the current chunk.
Can't find what you're looking for? Join our Discord server and we'll be happy to help you!
Need to report a bug? Create an issue on the repository!
Want to contribute to the wiki? Submit a PR to the Wiki Repository!
Home
Community Packs
Community Addons
Commands
Quick Start Guide
Creating a Terra World
Config Packs
Config Development Introduction
Config System
Creating a Pack
Modifying an Existing Pack
Configuring Your Pack
Weighted Pools
Block Palettes
Using Custom Blocks on Bukkit
TerraScript
Working with Structures
Noise
Noise Equation
Advanced Noise Equations
List o' Noise Equations
Pack Configuration
Biome Configuration
Palette Configuration
Ore Configuration
Flora Configuration