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.Modifiable<M>
,EntityVolume.Mutable
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeStream<B,BlockState>
blockStateStream(Vector3i min, Vector3i max, StreamOptions options)
Gets aVolumeStream
<B,
BlockState
> from this volume such that themin
andmax
are contained within this volume.-
Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
block, block, fluid, fluid, highestPositionAt, highestYAt, highestYAt
-
-
-
-
Method Detail
-
blockStateStream
VolumeStream<B,BlockState> blockStateStream(Vector3i min, Vector3i max, StreamOptions options)
Gets aVolumeStream
<B,
BlockState
> from this volume such that themin
andmax
are contained within this volume.- Parameters:
min
- The minimum coordinate setmax
- The maximum coordinate setoptions
- The options to construct the stream- Returns:
- The volume stream
-
-