public interface Schematic extends ArchetypeVolume
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Schematic.Builder
A builder for
Schematics. |
| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_AUTHOR |
static String |
METADATA_DATE |
static String |
METADATA_NAME |
static String |
METADATA_REQUIRED_MODS |
| Modifier and Type | Method and Description |
|---|---|
static Schematic.Builder |
builder()
Gets a new builder for schematics.
|
default Palette<BiomeType> |
getBiomePalette()
Gets the
Palette used by this schematic for serialization. |
default Optional<MutableBiomeVolume> |
getBiomes()
Gets the
MutableBiomeVolume of this schematic. |
default Palette<BlockState> |
getBlockPalette()
Gets the
BlockPalette used by this schematic for serialization. |
MutableBlockVolumeWorker<Schematic> |
getBlockWorker()
Gets a new block worker for this block volume.
|
default ListMultimap<com.flowpowered.math.vector.Vector3d,EntityArchetype> |
getEntitiesByPosition() |
default Collection<EntityArchetype> |
getEntityArchetypes() |
DataView |
getMetadata()
Gets any additional metadata attached to this schematic.
|
BlockPalette |
getPalette()
Deprecated.
|
apply, getEntityArchetype, getTileEntityArchetype, getTileEntityArchetype, getTileEntityArchetypesgetBlockView, getBlockView, getRelativeBlockView, setBlock, setBlock, setBlockType, setBlockTypecontainsBlock, containsBlock, getBlock, getBlock, getBlockCopy, getBlockCopy, getBlockMax, getBlockMin, getBlockSize, getBlockType, getBlockType, getImmutableBlockCopy, getUnmodifiableBlockViewstatic final String METADATA_NAME
static final String METADATA_AUTHOR
static final String METADATA_DATE
static final String METADATA_REQUIRED_MODS
static Schematic.Builder builder()
@Deprecated BlockPalette getPalette()
BlockPalette used by this schematic for serialization.default Palette<BlockState> getBlockPalette()
BlockPalette used by this schematic for serialization.default Palette<BiomeType> getBiomePalette()
Palette used by this schematic for serialization.DataView getMetadata()
MutableBlockVolumeWorker<Schematic> getBlockWorker()
BlockVolumegetBlockWorker in interface ArchetypeVolumegetBlockWorker in interface BlockVolumegetBlockWorker in interface MutableBlockVolumedefault Optional<MutableBiomeVolume> getBiomes()
MutableBiomeVolume of this schematic. As biomes are
optionally included and not required, they may be
optionally excluded. If the schematic would contain them, they will be
present during deserialization via DataTranslator.default ListMultimap<com.flowpowered.math.vector.Vector3d,EntityArchetype> getEntitiesByPosition()
getEntitiesByPosition in interface ArchetypeVolumedefault Collection<EntityArchetype> getEntityArchetypes()
getEntityArchetypes in interface ArchetypeVolume