set

@ApiStatus.Internal
open fun set(@Nullable overlay: @Nullable PackOverlay, @NotNull packByte: @NotNull PackByte)

Adds a resource to the result.

Since

1.15.2

Parameters

overlay

the overlay the resource belongs to (or null for base assets)

packByte

the resource data

Throws

if the result is frozen