diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-30 10:19:30 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-30 10:22:52 +0200 |
commit | 7a09f5e6b78680719977d4e0e7f71a31a2b031f1 (patch) | |
tree | 30a53c86e5c86c9255e287a90f3b3e6368cb7df8 /src/main/java/at/hannibal2/skyhanni/events | |
parent | e801db2c44f4840806da58d0879779b1812c4fd2 (diff) | |
download | skyhanni-7a09f5e6b78680719977d4e0e7f71a31a2b031f1.tar.gz skyhanni-7a09f5e6b78680719977d4e0e7f71a31a2b031f1.tar.bz2 skyhanni-7a09f5e6b78680719977d4e0e7f71a31a2b031f1.zip |
Added and used CropClickEvent to fix wrong cactus blocks per second values
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt new file mode 100644 index 000000000..848004262 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt @@ -0,0 +1,13 @@ +package at.hannibal2.skyhanni.events + +import at.hannibal2.skyhanni.data.ClickType +import at.hannibal2.skyhanni.features.garden.CropType +import net.minecraft.block.state.IBlockState +import net.minecraft.item.ItemStack + +class CropClickEvent( + val crop: CropType, + val blockState: IBlockState, + val clickType: ClickType, + val itemInHand: ItemStack? +): LorenzEvent()
\ No newline at end of file |