From 7809a1362c9644c9bfb69d8563a13e3f1ed3354a Mon Sep 17 00:00:00 2001 From: ThatGravyBoat Date: Tue, 27 Jul 2021 04:38:13 -0230 Subject: Added Dynamic Item Cooldowns. Updated Profile Events to contain profile name. Added copy NPC skin command. Added warphandler gives me access to what warps you have. Moved all config and data files into its own folder. Added option to turn off adding back overflow mana. --- .../skyblockhud/api/events/ProfileJoinedEvent.java | 12 ++++++++++++ .../skyblockhud/api/events/ProfileSwitchedEvent.java | 10 +++++++++- .../com/thatgravyboat/skyblockhud/api/item/IAbility.java | 8 ++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileJoinedEvent.java create mode 100644 src/main/java/com/thatgravyboat/skyblockhud/api/item/IAbility.java (limited to 'src/main/java/com/thatgravyboat/skyblockhud/api') diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileJoinedEvent.java b/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileJoinedEvent.java new file mode 100644 index 0000000..ba24a5d --- /dev/null +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileJoinedEvent.java @@ -0,0 +1,12 @@ +package com.thatgravyboat.skyblockhud.api.events; + +import net.minecraftforge.fml.common.eventhandler.Event; + +public class ProfileJoinedEvent extends Event { + + public String profile; + + public ProfileJoinedEvent(String profile){ + this.profile = profile; + } +} diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java b/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java index 9402858..e8561c6 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java @@ -2,4 +2,12 @@ package com.thatgravyboat.skyblockhud.api.events; import net.minecraftforge.fml.common.eventhandler.Event; -public class ProfileSwitchedEvent extends Event {} +public class ProfileSwitchedEvent extends Event { + + public String profile; + + public ProfileSwitchedEvent(String profile){ + this.profile = profile; + } + +} diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/item/IAbility.java b/src/main/java/com/thatgravyboat/skyblockhud/api/item/IAbility.java new file mode 100644 index 0000000..bd7e81f --- /dev/null +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/item/IAbility.java @@ -0,0 +1,8 @@ +package com.thatgravyboat.skyblockhud.api.item; + +public interface IAbility { + + String getAbility(); + + int getAbilityTime(); +} -- cgit