aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/BakeExtraModelsEvent.kt
blob: db073e36df927c0b4f4e64b29f4ff9d2635f912d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>()
}