forked from hannibal002/SkyHanni
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
76 changed files
with
150 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...ibal2/skyhanni/events/NeuEventWrappers.kt → ...nni/api/enoughupdates/NeuEventWrappers.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
src/main/java/at/hannibal2/skyhanni/events/MinionOpenEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.utils.LorenzVec | ||
import net.minecraft.item.ItemStack | ||
|
||
class MinionOpenEvent(val inventoryName: String, val inventoryItems: Map<Int, ItemStack>) : LorenzEvent() | ||
class MinionCloseEvent : LorenzEvent() | ||
class MinionStorageOpenEvent(val position: LorenzVec?, val inventoryItems: Map<Int, ItemStack>) : LorenzEvent() | ||
class MinionOpenEvent(val inventoryName: String, val inventoryItems: Map<Int, ItemStack>) : SkyHanniEvent() | ||
class MinionCloseEvent : SkyHanniEvent() | ||
class MinionStorageOpenEvent(val position: LorenzVec?, val inventoryItems: Map<Int, ItemStack>) : SkyHanniEvent() |
2 changes: 1 addition & 1 deletion
2
...hanni/api/enoughupdates/NEURenderEvent.kt → ...nnibal2/skyhanni/events/NEURenderEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/PurseChangeEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/RawScoreboardUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class RawScoreboardUpdateEvent(val rawScoreboard: List<String>) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class RawScoreboardUpdateEvent(val rawScoreboard: List<String>) : SkyHanniEvent() |
9 changes: 0 additions & 9 deletions
9
src/main/java/at/hannibal2/skyhanni/events/RenderBlockInWorldEvent.kt
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/RenderGuiItemOverlayEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import net.minecraft.item.ItemStack | ||
|
||
class RenderGuiItemOverlayEvent( | ||
val stack: ItemStack?, | ||
val x: Int, | ||
val y: Int, | ||
) : LorenzEvent() | ||
) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/RenderItemTooltipEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import net.minecraft.item.ItemStack | ||
|
||
class RenderItemTooltipEvent(val stack: ItemStack) : LorenzEvent() | ||
class RenderItemTooltipEvent(val stack: ItemStack) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/ScoreboardUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/SeaCreatureFishEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.fishing.SeaCreature | ||
|
||
class SeaCreatureFishEvent( | ||
val seaCreature: SeaCreature, | ||
val chatEvent: LorenzChatEvent, | ||
val doubleHook: Boolean, | ||
) : LorenzEvent() | ||
) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/ServerBlockChangeEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/SkillExpGainEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.skillprogress.SkillType | ||
|
||
// does not know how much exp is there, also gets called multiple times | ||
class SkillExpGainEvent(val skill: SkillType, val gained: Double) : LorenzEvent() | ||
class SkillExpGainEvent(val skill: SkillType, val gained: Double) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/SkillOverflowLevelUpEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.skillprogress.SkillType | ||
|
||
class SkillOverflowLevelUpEvent(val skill: SkillType, val oldLevel: Int, val newLevel: Int) : LorenzEvent() | ||
class SkillOverflowLevelUpEvent(val skill: SkillType, val oldLevel: Int, val newLevel: Int) : SkyHanniEvent() |
5 changes: 2 additions & 3 deletions
5
src/main/java/at/hannibal2/skyhanni/events/SkipTabListLineEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.CancellableSkyHanniEvent | ||
import at.hannibal2.skyhanni.features.misc.compacttablist.TabLine | ||
import net.minecraftforge.fml.common.eventhandler.Cancelable | ||
|
||
@Cancelable | ||
data class SkipTabListLineEvent( | ||
val line: TabLine, | ||
val lastSubTitle: TabLine?, | ||
val lastTitle: TabLine?, | ||
) : LorenzEvent() | ||
) : CancellableSkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/SlayerChangeEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class SlayerChangeEvent(val oldSlayer: String, val newSlayer: String) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class SlayerChangeEvent(val oldSlayer: String, val newSlayer: String) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/SlayerProgressChangeEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class SlayerProgressChangeEvent(val oldProgress: String, val newProgress: String) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class SlayerProgressChangeEvent(val oldProgress: String, val newProgress: String) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/TabListLineRenderEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class TabListLineRenderEvent(var text: String) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class TabListLineRenderEvent(var text: String) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/TabListUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class TabListUpdateEvent(val tabList: List<String>) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class TabListUpdateEvent(val tabList: List<String>) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/TablistFooterUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class TablistFooterUpdateEvent(val footer: String) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class TablistFooterUpdateEvent(val footer: String) : SkyHanniEvent() |
5 changes: 2 additions & 3 deletions
5
src/main/java/at/hannibal2/skyhanni/events/TitleReceivedEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import net.minecraftforge.fml.common.eventhandler.Cancelable | ||
import at.hannibal2.skyhanni.api.event.CancellableSkyHanniEvent | ||
|
||
@Cancelable | ||
class TitleReceivedEvent(val title: String) : LorenzEvent() | ||
class TitleReceivedEvent(val title: String) : CancellableSkyHanniEvent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.