diff options
author | Linnea Gräf <nea@nea.moe> | 2023-11-28 21:59:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 21:59:21 +0100 |
commit | 24b68dcc80cbf13f1098a0f6cf259c4bd44f4446 (patch) | |
tree | 9eed3b719b5bdb67bcbb43448f785d1398a2ce8f /src/main/java/at/hannibal2/skyhanni/events | |
parent | c923b05837cd26f6aaedd4d04b7d9b5cab4462c8 (diff) | |
download | skyhanni-24b68dcc80cbf13f1098a0f6cf259c4bd44f4446.tar.gz skyhanni-24b68dcc80cbf13f1098a0f6cf259c4bd44f4446.tar.bz2 skyhanni-24b68dcc80cbf13f1098a0f6cf259c4bd44f4446.zip |
Add unique gift highlighter (#737)
Added Unique Gifting Opportunities. #737
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/DataWatcherUpdatedEvent.kt | 9 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/EntityCustomNameUpdateEvent.kt | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/DataWatcherUpdatedEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/DataWatcherUpdatedEvent.kt new file mode 100644 index 000000000..05389c2d7 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/DataWatcherUpdatedEvent.kt @@ -0,0 +1,9 @@ +package at.hannibal2.skyhanni.events + +import net.minecraft.entity.DataWatcher +import net.minecraft.entity.Entity + +data class DataWatcherUpdatedEvent( + val entity: Entity, + val updatedEntries: List<DataWatcher.WatchableObject>, +) : LorenzEvent() diff --git a/src/main/java/at/hannibal2/skyhanni/events/EntityCustomNameUpdateEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/EntityCustomNameUpdateEvent.kt new file mode 100644 index 000000000..4b4b075e3 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/EntityCustomNameUpdateEvent.kt @@ -0,0 +1,8 @@ +package at.hannibal2.skyhanni.events + +import net.minecraft.entity.Entity + +data class EntityCustomNameUpdateEvent( + val newName: String?, + val entity: Entity, +) : LorenzEvent() |