AssetPack

class AssetPack(val namespace: String, val assetsDir: Path)

Represents the assets/ directory inside an addon of namespace.

Parameters

namespace

The namespace of the addon.

assetsDir

The assets/ directory.

Constructors

Link copied to clipboard
constructor(namespace: String, assetsDir: Path)

Properties

Link copied to clipboard
Link copied to clipboard

The atlases/ directory, or null if it doesn't exist.

Link copied to clipboard

The fonts/ directory, or null if it doesn't exist.

Link copied to clipboard

The lang/ directory, or null if it doesn't exist.

Link copied to clipboard

The models/ directory, or null if it doesn't exist.

Link copied to clipboard
Link copied to clipboard

The sounds/ directory, or null if it doesn't exist.

Link copied to clipboard

The sounds.json file, or null if it doesn't exist.

Link copied to clipboard

The textures/ directory, or null if it doesn't exist.

Link copied to clipboard

The textures/waila/ textures directory, or null if it doesn't exist.