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
  • Method Details

    • blockStateStream

      VolumeStream<B,​BlockState> blockStateStream(Vector3i min, Vector3i max, StreamOptions options)
      Gets a VolumeStream<B, BlockState> from this volume such that the min and max are contained within this volume.
      Parameters:
      min - The minimum coordinate set
      max - The maximum coordinate set
      options - The options to construct the stream
      Returns:
      The volume stream