aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/BlockClickEvent.kt
blob: 0ca9fb78cfc32b8440d31c4eb64ef343c73977b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
package at.hannibal2.skyhanni.events

import at.hannibal2.skyhanni.data.ClickType
import at.hannibal2.skyhanni.utils.BlockUtils.getBlockStateAt
import at.hannibal2.skyhanni.utils.LorenzVec
import net.minecraft.item.ItemStack

class BlockClickEvent(val clickType: ClickType, val position: LorenzVec, val itemInHand: ItemStack?) : LorenzEvent() {

    val getBlockState by lazy { position.getBlockStateAt() }
}