You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Define the structure type.# The structure type defines how the individual components will be placed.# Valid values:# - piece: freeform 3d structure# - village: generates a road network on the surface and places components off to the sidestype: piece# Provide a list of all possible componentscomponents:
- center_room
- path# The number of components that will be recursively generated from the start componentdepth: "2-12"# One structure start per 512² block areagridSize: 512# The strucute start will be placed somewhere in the given Y rangestartY: "80-90"# The structure may not extend beyond these bounds, centered on the structure start.radius:
x: 128y: 16z: 128
options:
# Indicates that this component can be used as a starting component for the structure.start: true# Repeatedly places the bottommost layer until a solid block is reached.extendDownToSolid: false# Forces this component to be generated at the world's surface.moveUpToSurface: false# The directions that this component may be rotated in.allowedRotations: "all"# Defines this component's weight: the change that it will be generated# higher -> more probable# non-positive -> impossibleweight:
# The component's base weightbase: 100# Defines the component's weight after a certain strucutre generation recursion depth.depth:
# Use a weight of -1 for every depth level after 1.# This prevents this component from being used anywhere other than the structure start.1: -1# The dimensions of this componentsize:
x: 4y: 4z: 4# The intersection bounds of the component.# Two components will never be generated with intersecting bounding boxes.# In the case of this simple component, the bounds are simply the same as the component's own size.bounds:
min:
x: 0y: 0z: 0max:
x: 4y: 4z: 4# Defines the palette: a mapping of characters to block selectors, used in the "blocks" section below.# Note that these are the same block selectors used in the generator config.palette:
.: "air"b: "nether_brick"# Define the pattern of blocks in the component.# Each layer is a slice of the component along the Y-axis.# A space indicates that the existing block should be left unmodified.blocks:
- # Layer 0
- "bbbb"
- "bbbb"
- "bbbb"
- "bbbb"
- # Layer 1
- "b..b"
- "...."
- "...."
- "b..b"
- # Layer 2
- "b..b"
- "...."
- "...."
- "b..b"
- # Layer 3
- " bb "
- "bbbb"
- "bbbb"
- " bb "# Define connection points.# These are the points on the component that other components may attach to.connections:
# Relative position of connector in component
- x: 1y: 1z: 0# The direction that the connector is facingdirection: -z# The connector type. A connector will always attach to a connector of the opposite type.# e.g. type -1 in center_room connects to type 1 in pathtype: -1
- x: 1y: 1z: 3direction: +ztype: -1
- x: 0y: 1z: 1direction: -xtype: -1
- x: 3y: 1z: 1direction: +xtype: -1