Add custom global textures

This commit is contained in:
Linnea Gräf
2024-05-11 03:28:05 +02:00
parent 53dc0c3b0a
commit 7682534f6f
20 changed files with 556 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
/*
* SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.events
import java.util.function.Consumer
import net.minecraft.client.util.ModelIdentifier
class BakeExtraModelsEvent(
private val addModel: Consumer<ModelIdentifier>,
) : FirmamentEvent() {
fun addModel(modelIdentifier: ModelIdentifier) {
this.addModel.accept(modelIdentifier)
}
companion object : FirmamentEventBus<BakeExtraModelsEvent>()
}