File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/main/java/org/spongepowered/api/world/volume/block Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 4646
4747public interface BlockVolume extends Volume {
4848
49+ /**
50+ * Gets the {@link Palette} in use for this particular {@link Volume}.
51+ * It is not guaranteed that the palette is the same across smaller
52+ * {@link Volume Volumes} that may be contained within this volume.
53+ * An example can be the difference between a {@link org.spongepowered.api.world.chunk.Chunk}
54+ * and {@link org.spongepowered.api.world.World}'s palette.
55+ *
56+ * @return The block palette in use for this volume
57+ */
58+ Palette <BlockState , BlockType > blockPalette ();
59+
4960 BlockState block (int x , int y , int z );
5061
5162 default BlockState block (final Vector3i vector3i ) {
You can’t perform that action at this time.
0 commit comments