From e4bd69a0569b4ccc49b9e4b89998220bf4bfe25a Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 14 Jun 2024 18:34:40 +0200 Subject: Add shiny pig tracker --- .../moe/nea/firmament/events/EntityDespawnEvent.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/kotlin/moe/nea/firmament/events/EntityDespawnEvent.kt (limited to 'src/main/kotlin/moe/nea/firmament/events/EntityDespawnEvent.kt') diff --git a/src/main/kotlin/moe/nea/firmament/events/EntityDespawnEvent.kt b/src/main/kotlin/moe/nea/firmament/events/EntityDespawnEvent.kt new file mode 100644 index 0000000..c744729 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/events/EntityDespawnEvent.kt @@ -0,0 +1,16 @@ +/* + * SPDX-FileCopyrightText: 2024 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package moe.nea.firmament.events + +import net.minecraft.entity.Entity + +data class EntityDespawnEvent( + val entity: Entity?, val entityId: Int, + val reason: Entity.RemovalReason, +) : FirmamentEvent() { + companion object: FirmamentEventBus() +} -- cgit