Interface BlockEntityVolume.Streamable<T extends BlockEntityVolume.Streamable<T>>
-
- All Superinterfaces:
BlockEntityVolume
,BlockVolume
,Volume
- All Known Subinterfaces:
BlockEntityVolume.Modifiable<M>
,BlockEntityVolume.Mutable
,BlockEntityVolume.Unmodifiable<U>
,Chunk<P>
,ClientWorld
,GenerationChunk
,GenerationRegion
,Region<R>
,ServerWorld
,World<W,L>
,WorldChunk
,WorldLike<P>
- Enclosing interface:
- BlockEntityVolume
public static interface BlockEntityVolume.Streamable<T extends BlockEntityVolume.Streamable<T>> extends BlockEntityVolume
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.block.entity.BlockEntityVolume
BlockEntityVolume.Modifiable<M extends BlockEntityVolume.Modifiable<M>>, BlockEntityVolume.Mutable, BlockEntityVolume.Streamable<T extends BlockEntityVolume.Streamable<T>>, BlockEntityVolume.Unmodifiable<U extends BlockEntityVolume.Unmodifiable<U>>
-
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
BlockVolume.Immutable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeStream<T,BlockEntity>
blockEntityStream(Vector3i min, Vector3i max, StreamOptions options)
Gets aVolumeStream
<B,
BlockEntity
> from this volume such that themin
andmax
are contained within this volume.-
Methods inherited from interface org.spongepowered.api.world.volume.block.entity.BlockEntityVolume
blockEntities, blockEntities, blockEntity, blockEntity
-
Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
block, block, fluid, fluid, highestPositionAt, highestYAt, highestYAt
-
-
-
-
Method Detail
-
blockEntityStream
VolumeStream<T,BlockEntity> blockEntityStream(Vector3i min, Vector3i max, StreamOptions options)
Gets aVolumeStream
<B,
BlockEntity
> 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
-
-