validate

open override fun validate(pack: ResourcePack): Result<Unit>

Validates this element and returns a Result of type Unit, with an optional exception extending ResourcePackValidationException. This API will probably be improved in the future.

Return

A Result.

Parameters

pack

The resource pack.