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 classes/interfaces inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume
BiomeVolume.Immutable, BiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>, BiomeVolume.Mutable, BiomeVolume.Streamable<B extends BiomeVolume.Streamable<B>>, BiomeVolume.Unmodifiable<U extends BiomeVolume.Unmodifiable<U>>
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.archetype.block.entity.BlockEntityArchetypeVolume
BlockEntityArchetypeVolume.Immutable, BlockEntityArchetypeVolume.Modifiable<M extends BlockEntityArchetypeVolume.Modifiable<M>>, BlockEntityArchetypeVolume.Mutable, BlockEntityArchetypeVolume.Streamable<B extends BlockEntityArchetypeVolume.Streamable<B>>, BlockEntityArchetypeVolume.Unmodifiable<U extends BlockEntityArchetypeVolume.Unmodifiable<U>>
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
BlockVolume.Immutable, BlockVolume.Modifiable<M extends BlockVolume.Modifiable<M>>, BlockVolume.Mutable, BlockVolume.Streamable<B extends BlockVolume.Streamable<B>>, BlockVolume.Unmodifiable<U extends BlockVolume.Unmodifiable<U>>
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.archetype.entity.EntityArchetypeVolume
EntityArchetypeVolume.Immutable, EntityArchetypeVolume.Modifiable<M extends EntityArchetypeVolume.Modifiable<M>>, EntityArchetypeVolume.Mutable, EntityArchetypeVolume.Streamable<B extends EntityArchetypeVolume.Streamable<B>>, EntityArchetypeVolume.Unmodifiable<U extends EntityArchetypeVolume.Unmodifiable<U>>
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.game.LocationBaseDataHolder
LocationBaseDataHolder.Mutable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets thePalette<BiomeType>
used by this schematic for serialization.Gets thePalette
used by this schematic for serialization.static Schematic.Builder
builder()
Gets a new builder for schematics.metadata()
Gets any additional metadata attached to this schematic.Methods inherited from interface org.spongepowered.api.world.volume.archetype.ArchetypeVolume
applyToWorld, applyToWorld, logicalCenter, transform
Methods inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume
biome, biome
Methods inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume.Modifiable
setBiome, setBiome
Methods inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume.Streamable
biomeStream
Methods inherited from interface org.spongepowered.api.world.volume.archetype.block.entity.BlockEntityArchetypeVolume
blockEntityArchetype, blockEntityArchetype, blockEntityArchetypes
Methods inherited from interface org.spongepowered.api.world.volume.archetype.block.entity.BlockEntityArchetypeVolume.Modifiable
addBlockEntity, addBlockEntity, addBlockEntity, addBlockEntity, removeBlockEntity, removeBlockEntity
Methods inherited from interface org.spongepowered.api.world.volume.archetype.block.entity.BlockEntityArchetypeVolume.Streamable
blockEntityArchetypeStream
Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
block, block, fluid, fluid, highestPositionAt, highestYAt, highestYAt
Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume.Modifiable
removeBlock, removeBlock, setBlock, setBlock
Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume.Streamable
blockStateStream
Methods inherited from interface org.spongepowered.api.world.volume.archetype.entity.EntityArchetypeVolume
entityArchetypes, entityArchetypes, entityArchetypesByPosition
Methods inherited from interface org.spongepowered.api.world.volume.archetype.entity.EntityArchetypeVolume.Modifiable
addEntity, addEntity
Methods inherited from interface org.spongepowered.api.world.volume.archetype.entity.EntityArchetypeVolume.Streamable
entitiesByPosition, entityArchetypeStream
Methods inherited from interface org.spongepowered.api.world.volume.game.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, supports
Methods inherited from interface org.spongepowered.api.world.volume.game.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
Gets a new builder for schematics.- Returns:
- The new builder
-
blockPalette
Palette<BlockState,BlockType> blockPalette()Gets thePalette
used by this schematic for serialization.- Specified by:
blockPalette
in 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
-