aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/texturepack/ModelOverrideData.kt
blob: 29d9192c70be6687bc6fc978b2cf45524e91161b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package moe.nea.firmament.features.texturepack

import net.minecraft.client.render.model.json.ModelOverride

interface ModelOverrideData {
	companion object {

		@JvmStatic
		@Suppress("CAST_NEVER_SUCCEEDS")
		fun cast(override: ModelOverride) = override as ModelOverrideData
	}

	fun getFirmamentOverrides(): Array<FirmamentModelPredicate>?
	fun setFirmamentOverrides(overrides: Array<FirmamentModelPredicate>?)
}