Structure Configuration - PolyhedralDev/Terra Wiki

Original URL: https://github.com/PolyhedralDev/Terra/wiki/Structure-Configuration

This page discusses the configuration of Structures.

Structure configurations are in the structures/single/ directory within a config pack.
Structure files are in the structures/data/ directory within a config pack.
Loot tables are in the structures/loot directory within a config pack.

Object Options

Structures support all Terra Object Options.

Options

scripts

A weighted pool of structure script IDs and their weights.

spawn

Options for structure spawning.

Padded Grid

Example of width and padding in a padded grid. Black dots represent structure spawn locations.

loot

Loot tables to use for this structure. Keys represent Loot Table IDs, and values represent the loot table file to use (sans .json).
Loot table files go in the structures/loot directory. They can be generated with any Vanilla loot table generation utility, as they are a re-implementation of Vanilla loot table syntax.

⚠️ **GitHub.com Fallback** ⚠️