PackByte

Represents a raw byte array associated with a specific pack path.

This record is used to store the binary content of a resource within a resource pack. It implements Comparable to allow sorting based on the path.

Since

1.15.2

Parameters

path

the path of the resource

bytes

the binary content of the resource

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun compareTo(@NotNull o: @NotNull PackByte): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String