diff --git a/src/main/java/org/spongepowered/api/world/volume/block/BlockVolume.java b/src/main/java/org/spongepowered/api/world/volume/block/BlockVolume.java index 97a63d28d4..eb02e1dd9f 100644 --- a/src/main/java/org/spongepowered/api/world/volume/block/BlockVolume.java +++ b/src/main/java/org/spongepowered/api/world/volume/block/BlockVolume.java @@ -46,6 +46,17 @@ public interface BlockVolume extends Volume { + /** + * Gets the {@link Palette} in use for this particular {@link Volume}. + * It is not guaranteed that the palette is the same across smaller + * {@link Volume Volumes} that may be contained within this volume. + * An example can be the difference between a {@link org.spongepowered.api.world.chunk.Chunk} + * and {@link org.spongepowered.api.world.World}'s palette. + * + * @return The block palette in use for this volume + */ + Palette blockPalette(); + BlockState block(int x, int y, int z); default BlockState block(final Vector3i vector3i) {