From feca9c937be40bfed255e6574dea70d640fdafea Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 11 Jul 2024 01:58:23 +0200 Subject: Add custom head models --- .../nea/firmament/features/texturepack/BakedModelExtra.kt | 14 ++++++++++++++ .../features/texturepack/JsonUnbakedModelFirmExtra.kt | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/main/kotlin/moe/nea/firmament/features/texturepack/BakedModelExtra.kt create mode 100644 src/main/kotlin/moe/nea/firmament/features/texturepack/JsonUnbakedModelFirmExtra.kt (limited to 'src/main/kotlin/moe') 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 + * + * 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 + * + * 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? +} -- cgit