/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default UnmodifiableBlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default MutableBlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ default BlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This * does not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ default BiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This does * not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default MutableBiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This * does not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default ImmutableBiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This * does not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default UnmodifiableBiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default ImmutableBlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ default BlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default MutableBlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This does * not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default UnmodifiableBiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default ImmutableBlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This * does not copy the blocks, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default UnmodifiableBlockVolume getRelativeBlockView() { return getBlockView(DiscreteTransform3.fromTranslation(getBlockMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This does * not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default ImmutableBiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This does * not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ @Override default MutableBiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }
/** * Returns a new volume that is translated so that * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This does * not copy the biomes, it only provides a new view of the storage. * * @return The new volume with its minimum at zero */ default BiomeVolume getRelativeBiomeView() { return getBiomeView(DiscreteTransform3.fromTranslation(getBiomeMin().negate())); }