diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-11 01:58:23 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-11 01:58:23 +0200 |
commit | feca9c937be40bfed255e6574dea70d640fdafea (patch) | |
tree | 5ad4975ccfdc4b232e9a7fb34df4c01be4c2d441 /src/main/kotlin/moe/nea | |
parent | 67cc7c22ac5f6873eb4549bc69db9f014c09c07f (diff) | |
download | Firmament-feca9c937be40bfed255e6574dea70d640fdafea.tar.gz Firmament-feca9c937be40bfed255e6574dea70d640fdafea.tar.bz2 Firmament-feca9c937be40bfed255e6574dea70d640fdafea.zip |
Add custom head models
Diffstat (limited to 'src/main/kotlin/moe/nea')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/texturepack/BakedModelExtra.kt | 14 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/texturepack/JsonUnbakedModelFirmExtra.kt | 15 |
2 files changed, 29 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/texturepack/BakedModelExtra.kt b/src/main/kotlin/moe/nea/firmament/features/texturepack/BakedModelExtra.kt new file mode 100644 index 0000000..28cc9d8 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/features/texturepack/BakedModelExtra.kt @@ -0,0 +1,14 @@ +/* + * SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package moe.nea.firmament.features.texturepack + +import net.minecraft.client.render.model.BakedModel + +interface BakedModelExtra { + fun getHeadModel_firmament(): BakedModel? + fun setHeadModel_firmament(headModel: BakedModel?) +} diff --git a/src/main/kotlin/moe/nea/firmament/features/texturepack/JsonUnbakedModelFirmExtra.kt b/src/main/kotlin/moe/nea/firmament/features/texturepack/JsonUnbakedModelFirmExtra.kt new file mode 100644 index 0000000..cfeee72 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/features/texturepack/JsonUnbakedModelFirmExtra.kt @@ -0,0 +1,15 @@ +/* + * SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package moe.nea.firmament.features.texturepack + +import net.minecraft.util.Identifier + +interface JsonUnbakedModelFirmExtra { + + fun setHeadModel_firmament(identifier: Identifier?) + fun getHeadModel_firmament(): Identifier? +} |