aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-05-11 03:28:05 +0200
committerLinnea Gräf <nea@nea.moe>2024-05-14 18:45:59 +0200
commit7682534f6fd139b75f24c79b76098fe05f0fa0fe (patch)
tree34d94c8fd7b531da128ff0130bf463393e2560e0 /src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt
parent53dc0c3b0a758ce2afff2637a5a5f22aa1733c56 (diff)
downloadFirmament-7682534f6fd139b75f24c79b76098fe05f0fa0fe.tar.gz
Firmament-7682534f6fd139b75f24c79b76098fe05f0fa0fe.tar.bz2
Firmament-7682534f6fd139b75f24c79b76098fe05f0fa0fe.zip
Add custom global textures
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt b/src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt
new file mode 100644
index 0000000..9013aa4
--- /dev/null
+++ b/src/main/kotlin/moe/nea/firmament/events/EarlyResourceReloadEvent.kt
@@ -0,0 +1,15 @@
+/*
+ * 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.concurrent.Executor
+import net.minecraft.resource.ResourceManager
+
+data class EarlyResourceReloadEvent(val resourceManager: ResourceManager, val preparationExecutor: Executor) :
+ FirmamentEvent() {
+ companion object : FirmamentEventBus<EarlyResourceReloadEvent>()
+}