Files
Firmament/src/main/kotlin/moe/nea/firmament/events/BakeExtraModelsEvent.kt
Linnea Gräf 63d0d32e46 Clean up reuse comments
[no changelog]
2024-08-08 01:15:43 +02:00

17 lines
398 B
Kotlin

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>()
}