Interface Virtualized.Mutable<T,​M extends Virtualized.Mutable<T,​M,​MU>,​MU extends Volume>

    • Method Detail

      • set

        default boolean set​(Vector3i position,
                            Registry<T> registry,
                            T element)
        Sets the Biome at the given position in this volume.
        Parameters:
        position - The position
        element - The element type
        Returns:
        Whether the element change was successful
        Throws:
        PositionOutOfBoundsException - If the position is outside of the bounds of the volume
      • set

        boolean set​(int x,
                    int y,
                    int z,
                    ResourceKey resourceKey)
        Sets the Biome at the given position in this volume.
        Parameters:
        x - The X position
        y - The Y position
        z - The Z position
        resourceKey - The resource key
        Returns:
        Whether the biome change was successful
        Throws:
        PositionOutOfBoundsException - If the position is outside of the bounds of the volume