Interface EntityVolume.Streamable<E extends EntityVolume.Streamable<E>>
-
- All Superinterfaces:
EntityVolume
,Volume
- All Known Subinterfaces:
ClientWorld
,EntityVolume.Immutable
,EntityVolume.Modifiable<M>
,EntityVolume.Mutable
,EntityVolume.Unmodifiable<U>
,GenerationRegion
,ServerWorld
,World<W,L>
,WorldChunk
,WorldLike<P>
- Enclosing interface:
- EntityVolume
public static interface EntityVolume.Streamable<E extends EntityVolume.Streamable<E>> extends EntityVolume
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.entity.EntityVolume
EntityVolume.EntityVolumeFactory, EntityVolume.Immutable, EntityVolume.Modifiable<M extends EntityVolume.Modifiable<M>>, EntityVolume.Mutable, EntityVolume.Streamable<E extends EntityVolume.Streamable<E>>, EntityVolume.Unmodifiable<U extends EntityVolume.Unmodifiable<U>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeStream<E,Entity>
entityStream(Vector3i min, Vector3i max, StreamOptions options)
Gets aVolumeStream
<B,
Entity
> from this volume such that themin
andmax
are contained within this volume.-
Methods inherited from interface org.spongepowered.api.world.volume.entity.EntityVolume
entities, entities, entities, entities, entities, entity, nearbyEntities, nearestPlayer, players
-
-
-
-
Method Detail
-
entityStream
VolumeStream<E,Entity> entityStream(Vector3i min, Vector3i max, StreamOptions options)
Gets aVolumeStream
<B,
Entity
> 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
-
-