diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-03-19 10:38:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 10:38:45 +0100 |
commit | a4946da8409040003d96c7d8d43ed394597bf675 (patch) | |
tree | 84a189b5f7f20e1e46f82c75c8b0302386085731 /src/main/java/at/hannibal2/skyhanni/events | |
parent | e84c5a0fa9785a65a6edb5340bba19ef96707e1b (diff) | |
download | skyhanni-a4946da8409040003d96c7d8d43ed394597bf675.tar.gz skyhanni-a4946da8409040003d96c7d8d43ed394597bf675.tar.bz2 skyhanni-a4946da8409040003d96c7d8d43ed394597bf675.zip |
Improvement: Lane Switch v2 (#1208)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/farming/FarmingLaneSwitchEvent.kt | 6 |
2 files changed, 8 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 index 1bc664cda..960724a17 100644 --- a/src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/events/CropClickEvent.kt @@ -2,10 +2,12 @@ package at.hannibal2.skyhanni.events import at.hannibal2.skyhanni.data.ClickType import at.hannibal2.skyhanni.features.garden.CropType +import at.hannibal2.skyhanni.utils.LorenzVec import net.minecraft.block.state.IBlockState import net.minecraft.item.ItemStack class CropClickEvent( + val position: LorenzVec, val crop: CropType, val blockState: IBlockState, val clickType: ClickType, diff --git a/src/main/java/at/hannibal2/skyhanni/events/farming/FarmingLaneSwitchEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/farming/FarmingLaneSwitchEvent.kt new file mode 100644 index 000000000..3f78fd9c0 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/farming/FarmingLaneSwitchEvent.kt @@ -0,0 +1,6 @@ +package at.hannibal2.skyhanni.events.farming + +import at.hannibal2.skyhanni.events.LorenzEvent +import at.hannibal2.skyhanni.features.garden.farming.lane.FarmingLane + +class FarmingLaneSwitchEvent(val lane: FarmingLane?) : LorenzEvent() |