PackResource
Represents a resource within a resource pack.
A resource consists of its content (as a byte array), its path, and optionally the overlay it belongs to.
Since
1.15.2
Inheritors
Types
Link copied to clipboard
A simple implementation of PackResource.
Functions
Link copied to clipboard
Returns the estimated size of this resource in bytes.
Link copied to clipboard
@NotNull
Creates a new pack resource for the base pack.
@NotNull
Creates a new pack resource for a specific overlay.
Link copied to clipboard
Returns the overlay this resource belongs to.