Interface BlockVolume.Streamable<B extends BlockVolume.Streamable<B>>
- All Superinterfaces:
BlockVolume,Volume
- All Known Subinterfaces:
ArchetypeVolume,BlockEntityArchetypeVolume.Immutable,BlockEntityArchetypeVolume.Modifiable<M>,BlockEntityArchetypeVolume.Mutable,BlockEntityArchetypeVolume.Unmodifiable<U>,BlockEntityVolume.Modifiable<M>,BlockEntityVolume.Mutable,BlockEntityVolume.Unmodifiable<U>,BlockVolume.Immutable,BlockVolume.Modifiable<M>,BlockVolume.Mutable,BlockVolume.Unmodifiable<U>,Chunk<P>,ClientWorld,EntityArchetypeVolume.Immutable,EntityArchetypeVolume.Unmodifiable<U>,EntityVolume.Immutable,EntityVolume.Unmodifiable<U>,GenerationChunk,GenerationRegion,PhysicsAwareMutableBlockVolume<P>,Region<R>,Schematic,ServerWorld,World<W,,L> WorldChunk,WorldLike<P>
- Enclosing interface:
BlockVolume
public static interface BlockVolume.Streamable<B extends BlockVolume.Streamable<B>>
extends BlockVolume
-
Nested Class Summary
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>> -
Method Summary
Modifier and TypeMethodDescriptionblockStateStream(Vector3i min, Vector3i max, StreamOptions options) Gets aVolumeStream<B,BlockState> from this volume such that theminandmaxare contained within this volume.Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
block, block, blockPalette, fluid, fluid, highestPositionAt, highestYAt, highestYAt
-
Method Details
-
blockStateStream
Gets aVolumeStream<B,BlockState> from this volume such that theminandmaxare contained within this volume.- Parameters:
min- The minimum coordinate setmax- The maximum coordinate setoptions- The options to construct the stream- Returns:
- The volume stream
-