Interface BlockVolume
- All Superinterfaces:
- Volume
- All Known Subinterfaces:
- ArchetypeVolume,- BlockEntityArchetypeVolume,- BlockEntityArchetypeVolume.Immutable,- BlockEntityArchetypeVolume.Modifiable<M>,- BlockEntityArchetypeVolume.Mutable,- BlockEntityArchetypeVolume.Streamable<B>,- BlockEntityArchetypeVolume.Unmodifiable<U>,- BlockEntityVolume,- BlockEntityVolume.Modifiable<M>,- BlockEntityVolume.Mutable,- BlockEntityVolume.Streamable<T>,- BlockEntityVolume.Unmodifiable<U>,- BlockVolume.Immutable,- BlockVolume.Modifiable<M>,- BlockVolume.Mutable,- BlockVolume.Streamable<B>,- BlockVolume.Unmodifiable<U>,- Chunk<P>,- ClientWorld,- EntityArchetypeVolume.Immutable,- EntityArchetypeVolume.Unmodifiable<U>,- EntityVolume.Immutable,- EntityVolume.Modifiable<M>,- EntityVolume.Mutable,- EntityVolume.Unmodifiable<U>,- EnvironmentalVolume,- GenerationChunk,- GenerationRegion,- InteractableVolume,- PhysicsAwareMutableBlockVolume<P>,- PrimitiveGameVolume,- Region<R>,- Schematic,- ServerWorld,- TrackedVolume,- UpdatableVolume,- WeatherAwareVolume,- World<W,,- L> - WorldChunk,- WorldLike<P>
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceBlockVolume.Modifiable<M extends BlockVolume.Modifiable<M>>static interfacestatic interfaceBlockVolume.Streamable<B extends BlockVolume.Streamable<B>>static interfaceBlockVolume.Unmodifiable<U extends BlockVolume.Unmodifiable<U>>Like aBlockVolumeexcept in the case that while the parent volume can potentially be aMutableVolume, this volume returned will not be.
- 
Method SummaryModifier and TypeMethodDescriptionblock(int x, int y, int z) default BlockStatefluid(int x, int y, int z) default FluidStatedefault Vector3ihighestPositionAt(Vector3i position) Get theServerLocationof the highest block that sunlight can reach in the given column.inthighestYAt(int x, int z) Get the y value of the highest block that sunlight can reach in the given column.default inthighestYAt(Vector2i column) Get the y value of the highest block that sunlight can reach in the given column.
- 
Method Details- 
block
- 
block
- 
fluid
- 
fluid
- 
highestYAtint highestYAt(int x, int z) Get the y value of the highest block that sunlight can reach in the given column.This method ignores all transparent blocks, providing the highest opaque block. - Parameters:
- x- The x column value
- z- The z column value
- Returns:
- The y value of the highest opaque block
 
- 
highestYAtGet the y value of the highest block that sunlight can reach in the given column.This method ignores all transparent blocks, providing the highest opaque block. - Parameters:
- column- The column value
- Returns:
- The y value of the highest opaque block
 
- 
highestPositionAtGet theServerLocationof the highest block that sunlight can reach in the given column.This method ignores all transparent blocks, providing the highest opaque block. - Parameters:
- position- The column position
- Returns:
- The highest opaque position
 
 
-