Interface Schematic
- All Superinterfaces:
ArchetypeVolume, BiomeVolume, BiomeVolume.Modifiable<ArchetypeVolume>, BiomeVolume.Streamable<ArchetypeVolume>, BlockEntityArchetypeVolume, BlockEntityArchetypeVolume.Modifiable<ArchetypeVolume>, BlockEntityArchetypeVolume.Streamable<ArchetypeVolume>, BlockVolume, BlockVolume.Modifiable<ArchetypeVolume>, BlockVolume.Streamable<ArchetypeVolume>, EntityArchetypeVolume, EntityArchetypeVolume.Modifiable<ArchetypeVolume>, EntityArchetypeVolume.Streamable<ArchetypeVolume>, LocationBaseDataHolder, LocationBaseDataHolder.Mutable, MutableVolume, Volume
A special archetype volume designed to be persisted. Contains additional
metadata to assist with this persistence.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface BiomeVolume
BiomeVolume.Immutable, BiomeVolume.Modifiable<M>, BiomeVolume.Mutable, BiomeVolume.Streamable<B>, BiomeVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface BlockEntityArchetypeVolume
BlockEntityArchetypeVolume.Immutable, BlockEntityArchetypeVolume.Modifiable<M>, BlockEntityArchetypeVolume.Mutable, BlockEntityArchetypeVolume.Streamable<B>, BlockEntityArchetypeVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface BlockVolume
BlockVolume.Immutable, BlockVolume.Modifiable<M>, BlockVolume.Mutable, BlockVolume.Streamable<B>, BlockVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface EntityArchetypeVolume
EntityArchetypeVolume.Immutable, EntityArchetypeVolume.Modifiable<M>, EntityArchetypeVolume.Mutable, EntityArchetypeVolume.Streamable<B>, EntityArchetypeVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface LocationBaseDataHolder
LocationBaseDataHolder.Mutable -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets thePalette<BiomeType>used by this schematic for serialization.Gets thePaletteused by this schematic for serialization.static Schematic.Builderbuilder()Gets a new builder for schematics.metadata()Gets any additional metadata attached to this schematic.Methods inherited from interface ArchetypeVolume
applyToWorld, applyToWorld, logicalCenter, transformMethods inherited from interface BiomeVolume
biome, biomeMethods inherited from interface BiomeVolume.Modifiable
setBiome, setBiomeMethods inherited from interface BiomeVolume.Streamable
biomeStreamMethods inherited from interface BlockEntityArchetypeVolume
blockEntityArchetype, blockEntityArchetype, blockEntityArchetypesMethods inherited from interface BlockEntityArchetypeVolume.Modifiable
addBlockEntity, addBlockEntity, addBlockEntity, addBlockEntity, removeBlockEntity, removeBlockEntityMethods inherited from interface BlockEntityArchetypeVolume.Streamable
blockEntityArchetypeStreamMethods inherited from interface BlockVolume
block, block, fluid, fluid, highestPositionAt, highestYAt, highestYAtMethods inherited from interface BlockVolume.Modifiable
removeBlock, removeBlock, setBlock, setBlockMethods inherited from interface BlockVolume.Streamable
blockStateStreamMethods inherited from interface EntityArchetypeVolume
entityArchetypes, entityArchetypes, entityArchetypesByPositionMethods inherited from interface EntityArchetypeVolume.Modifiable
addEntity, addEntityMethods inherited from interface EntityArchetypeVolume.Streamable
entitiesByPosition, entityArchetypeStreamMethods inherited from interface LocationBaseDataHolder
get, get, get, get, getDouble, getDouble, getDouble, getDouble, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getValue, getValue, getValue, getValue, getValues, getValues, keys, keys, orElse, orElse, orElse, orElse, orElse, orElse, orElse, orElse, orNull, orNull, orNull, orNull, require, require, require, require, supports, supports, supports, supports, supports, supportsMethods inherited from interface LocationBaseDataHolder.Mutable
copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, offer, offer, offer, offer, offer, offer, remove, remove, remove, remove, setRawData, setRawData, transform, transform, transform, transform, undo, undo, validateRawData, validateRawData
-
Field Details
-
METADATA_NAME
- See Also:
-
METADATA_AUTHOR
- See Also:
-
METADATA_DATE
- See Also:
-
METADATA_REQUIRED_MODS
- See Also:
-
-
Method Details
-
builder
-
blockPalette
Palette<BlockState, BlockType> blockPalette()Gets thePaletteused by this schematic for serialization.- Specified by:
blockPalettein interfaceBlockVolume- Returns:
- The block palette
-
biomePalette
Gets thePalette<BiomeType>used by this schematic for serialization.- Returns:
- The biome palette used for this schematic
-
metadata
DataView metadata()Gets any additional metadata attached to this schematic.- Returns:
- The additional metadata
-