ResourceType

sealed interface ResourceType

Specifies the type of resource that a ResourcePath points to.

Inheritors

Types

Link copied to clipboard
@Serializable
data object BedTexture : ResourceType.PngFile

Bed entity textures.

Link copied to clipboard
@Serializable
data object ChestTexture : ResourceType.PngFile

Chest entity textures.

Link copied to clipboard
@Serializable
data object EntityTexture : ResourceType.PngFile

Entity textures.

Link copied to clipboard
@Serializable
data object Equipment : ResourceType.JsonFile

Equipment definitions

Link copied to clipboard

Resources that represent entity textures.

Link copied to clipboard
@Serializable
data object Font : ResourceType.JsonFile

Font definitions

Link copied to clipboard
@Serializable
data object FontTexture : ResourceType.PngFile

Font textures. Assumed to contain the file extension .png inside ResourcePath.path.

Link copied to clipboard
sealed interface HasMcMeta : ResourceType

Marker interface that specifies that a ResourceType has a corresponding .mcmeta file.

Link copied to clipboard

Horse body equipment textures

Link copied to clipboard

Humanoid equipment textures

Link copied to clipboard

Humanoid leggings equipment textures

Link copied to clipboard

Item model definitions

Link copied to clipboard
sealed interface JsonFile : ResourceType

Resources of type .json.

Link copied to clipboard

Llama body equipment textures

Link copied to clipboard
@Serializable
data object Model : ResourceType.JsonFile

Generic Item- and block models

Link copied to clipboard
@Serializable
data object ParticleDefinition : ResourceType.JsonFile

Particle definitions

Link copied to clipboard
@Serializable
data object ParticleTexture : ResourceType.PngFile

Particle textures path: textures/particle/, extension: png

Link copied to clipboard
sealed interface PngFile : ResourceType

Resources of type .png.

Link copied to clipboard
@Serializable
data object ShulkerTexture : ResourceType.PngFile

Shulker entity textures.

Link copied to clipboard
@Serializable
data object SignTexture : ResourceType.PngFile

Sign entity textures.

Link copied to clipboard
@Serializable
data object Texture : ResourceType.PngFile

Generic textures.

Link copied to clipboard

Tooltip background textures

Link copied to clipboard

Tooltip frame textures

Link copied to clipboard
@Serializable
data object UnihexZip : ResourceType

Unihex zip files. Assumed to contain the file extension .zip inside ResourcePath.path.

Link copied to clipboard

Wings equipment textures

Link copied to clipboard

Wolf body equipment textures

Properties

Link copied to clipboard
abstract val prefix: String

The directory under which resources of this type are stored.

Link copied to clipboard
abstract val suffix: String

The file extension of resources of this type.