diff options
author | inglettronald <inglettronald@gmail.com> | 2023-07-17 03:05:11 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-07-17 03:05:11 -0500 |
commit | 1a8e45d8519a8ae69e14db8ea103a7fdf7b80923 (patch) | |
tree | 5568ffc7575c4da682a9526199ea535be57ae637 /src/main/kotlin/com/dulkirfabric/events | |
parent | 2003a3d2be24ae3faed0e45a8c6cc5e0b8343cc3 (diff) | |
download | DulkirMod-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.kt | 10 | ||||
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/events/WorldLoadEvent.kt | 10 |
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() |