aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/events
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-17 03:05:11 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-17 03:05:11 -0500
commit1a8e45d8519a8ae69e14db8ea103a7fdf7b80923 (patch)
tree5568ffc7575c4da682a9526199ea535be57ae637 /src/main/kotlin/com/dulkirfabric/events
parent2003a3d2be24ae3faed0e45a8c6cc5e0b8343cc3 (diff)
downloadDulkirMod-Fabric-1a8e45d8519a8ae69e14db8ea103a7fdf7b80923.tar.gz
DulkirMod-Fabric-1a8e45d8519a8ae69e14db8ea103a7fdf7b80923.tar.bz2
DulkirMod-Fabric-1a8e45d8519a8ae69e14db8ea103a7fdf7b80923.zip
wip
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/events')
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/EntityLoadEvent.kt10
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/WorldLoadEvent.kt10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/events/EntityLoadEvent.kt b/src/main/kotlin/com/dulkirfabric/events/EntityLoadEvent.kt
new file mode 100644
index 0000000..e588ed2
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/events/EntityLoadEvent.kt
@@ -0,0 +1,10 @@
+package com.dulkirfabric.events
+
+import com.dulkirfabric.events.base.Event
+import net.minecraft.entity.Entity
+import net.minecraft.world.World
+
+data class EntityLoadEvent(
+ val entity: Entity,
+ val world: World
+): Event()
diff --git a/src/main/kotlin/com/dulkirfabric/events/WorldLoadEvent.kt b/src/main/kotlin/com/dulkirfabric/events/WorldLoadEvent.kt
new file mode 100644
index 0000000..d43f74b
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/events/WorldLoadEvent.kt
@@ -0,0 +1,10 @@
+package com.dulkirfabric.events
+
+import com.dulkirfabric.events.base.Event
+import net.minecraft.server.MinecraftServer
+import net.minecraft.world.World
+
+data class WorldLoadEvent(
+ val server: MinecraftServer,
+ val world: World
+): Event()