- Direct Known Subclasses:
- SchematicBlock, SchematicMask
public class SchematicBlockBase
extends Schematic
This class allow to specify specific behavior for blocks stored in
blueprints:
- what items needs to be used to create that block - how the block has to be
built on the world - how to rotate the block - what extra data to store /
load in the blueprint
Default implementations of this can be seen in the package
buildcraft.api.schematics. The class SchematicUtils provide some additional
utilities.
Blueprints perform "id translation" in case the block ids between a blueprint
and the world installation are different. Mapping is done through the
builder context.
At blueprint load time, BuildCraft will check that each block id of the
blueprint corresponds to the block id in the installation. If not, it will
perform a search through the block list, and upon matching signature, it will
translate all blocks ids of the blueprint to the installation ones. If no
such block id is found, BuildCraft will assume that the block is not
installed and will not load the blueprint.