diff options
author | nea <nea@nea.moe> | 2023-10-28 03:36:11 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2023-11-12 09:35:33 +0100 |
commit | e15406e22ef65b4933274df791632b6c17f594be (patch) | |
tree | e1625c713bf95e9f0cb65dfe9a7c9b9ceaa46402 /src/main/kotlin/moe/nea/firmament/events/HandledScreenClickEvent.kt | |
parent | 47fbb25ab280b6af9496780672780db78fe36f27 (diff) | |
download | Firmament-e15406e22ef65b4933274df791632b6c17f594be.tar.gz Firmament-e15406e22ef65b4933274df791632b6c17f594be.tar.bz2 Firmament-e15406e22ef65b4933274df791632b6c17f594be.zip |
Add Inventory Buttons
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/HandledScreenClickEvent.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/HandledScreenClickEvent.kt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/HandledScreenClickEvent.kt b/src/main/kotlin/moe/nea/firmament/events/HandledScreenClickEvent.kt new file mode 100644 index 0000000..0c4d4f6 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/events/HandledScreenClickEvent.kt @@ -0,0 +1,14 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package moe.nea.firmament.events + +import net.minecraft.client.gui.screen.ingame.HandledScreen + +data class HandledScreenClickEvent(val screen: HandledScreen<*>, val mouseX: Double, val mouseY: Double, val button: Int) : + FirmamentEvent.Cancellable() { + companion object : FirmamentEventBus<HandledScreenClickEvent>() +} |