aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/SlotClickEvent.kt
blob: d4abfb005cf1be78651c9bd682c5d0d6531a1c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package moe.nea.firmament.events

import net.minecraft.item.ItemStack
import net.minecraft.screen.slot.Slot
import net.minecraft.screen.slot.SlotActionType

data class SlotClickEvent(
    val slot: Slot,
    val stack: ItemStack,
    val button: Int,
    val actionType: SlotActionType,
) : FirmamentEvent() {
    companion object : FirmamentEventBus<SlotClickEvent>()
}