Class ResourcePackProfile

java.lang.Object
net.minecraft.resource.ResourcePackProfile
All Implemented Interfaces:
AutoCloseable

public class ResourcePackProfile
extends Object
implements AutoCloseable
Represents a resource pack in a ResourcePackManager.

Compared to a single-use ResourcePack, a profile is persistent and serves as a factory for the single-use packs. It also contains user-friendly information about resource packs.

The profiles are registered by ResourcePackProviders.

Closing the profile doesn't have any effect.