-
Notifications
You must be signed in to change notification settings - Fork 55
BlockSets
A BlockSet is a container for a collection of blocks used in building. Includes: Wall, Floor, Stair, Pillar, Door, LightBlock, and Liquid.
All fields are optional
- Object
- "walls" : BlockFactory
- "pillar" : BlockFactory
- "stair" : MetaBlock (Stair block that supports standard minecraft stair BlockStates)
- "floor" : BlockFactory
- "door" : Door
- "lightblock" : BlockFactory
- "liquid" : BlockFactory
A BlockFactory is an object similar to a brush in a paint program. It's used in structure generation to supply blocks to shapes. All BlockFactory types are defined recursively, in that they may contain one or more BlockFactories. The MetaBlock is the base BlockFactory type, and the only one which may not contain another BlockFactory.
MetaBlocks are just blocks with metadata. All other BlockFactory objects are some kind of collection of MetaBlocks.
- Object
- "type" : String ("METABLOCK")
- "data" : Object
- "name" : String - block name (required)
- "meta" : int - optional
MetaBlocks also have a shorthand format
- Object
- "name" : String - block name (required)
- "meta" : int - optional
Random blocks, with weighted distribution. Higher weight values means more common.
- Object
- "type" : String ("WEIGHTED")
- "data" : Array
- Object - BlockFactory
- "weight" - int (included element in the object)
- Object - BlockFactory
Random blocks, with even distribution.
- Object
- "type" : String ("JUMBLE")
- "data" : Array
- Object - BlockFactory
Diagonal stripes in a 3D plain.
- Object
- "type" : String ("STRIPES")
- "data" : Array
- Object - BlockFactory
Horizontal stripes.
- Object
- "type" : String ("LAYERS")
- "data" : Array
- Object - BlockFactory
Veritcal columns of blocks based on x/z position. Will appear as checkers from the top down.
- Object
- "type" : String ("COLUMNS")
- "data" : Array
- Object - BlockFactory