From a046b198645811fe1b7db129942505c379aabb03 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 17 Dec 2024 23:07:06 +0100 Subject: feat: Add name prefetching --- .../kotlin/moe/nea/ledger/events/InitializationComplete.kt | 6 ++++++ src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt create mode 100644 src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt (limited to 'src/main/kotlin/moe/nea/ledger/events') diff --git a/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt b/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt new file mode 100644 index 0000000..d917039 --- /dev/null +++ b/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt @@ -0,0 +1,6 @@ +package moe.nea.ledger.events + +import net.minecraftforge.fml.common.eventhandler.Event + +class InitializationComplete : Event() { +} \ No newline at end of file diff --git a/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt b/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt new file mode 100644 index 0000000..cab0a20 --- /dev/null +++ b/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt @@ -0,0 +1,10 @@ +package moe.nea.ledger.events + +import net.minecraftforge.fml.common.eventhandler.Event + +class SupplyDebugInfo : Event() { // TODO: collect this in the event recorder + val data = mutableListOf>() + fun record(key: String, value: Any) { + data.add(key to value) + } +} \ No newline at end of file -- cgit