aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2022-11-08 12:03:58 +0100
committerGitHub <noreply@github.com>2022-11-08 12:03:58 +0100
commit1773ed4e9e58f1851796f2a9a6af1f93618b89ef (patch)
tree2c2b10fdca453d343556ad9d6666fd8ae39e866f /src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
parent3075fb0e8438a9ab701ddbef0eba75064b475f6f (diff)
downloadnotenoughupdates-1773ed4e9e58f1851796f2a9a6af1f93618b89ef.tar.gz
notenoughupdates-1773ed4e9e58f1851796f2a9a6af1f93618b89ef.tar.bz2
notenoughupdates-1773ed4e9e58f1851796f2a9a6af1f93618b89ef.zip
Abiphone favourites (#415)
* Added abiphone favourites. * less empty lines * getProfileSpecific cant be null * Add support for using 'favourite item' keybind to toggle favourite contacts * Use item instead of ugly panel highlight (thanks nea) * no more random static methods, fixed profileSpecific errors (thanks nea) * Better wording * Less random gray out names * F3+H support * Allow calling non favourite contacts while in "all contacts" view * Made the code sane + made it work with non removable contacts * Made the code even more sane. * This is a NEU feature and not made by hypixel * Support for deleting contacts again, blocks this in favourite only mode. Support shift+right click to toggle favourites, ignored f3+h totally + made better looking lore order * fixed click problems (thanks jani) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: nopo <nopotheemail@gmail.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
index 726acb32..8ea94615 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
@@ -36,6 +36,7 @@ import io.github.moulberry.notenoughupdates.listener.NEUEventListener;
import io.github.moulberry.notenoughupdates.listener.OldAnimationChecker;
import io.github.moulberry.notenoughupdates.listener.RenderListener;
import io.github.moulberry.notenoughupdates.listener.WorldListener;
+import io.github.moulberry.notenoughupdates.miscfeatures.AbiphoneFavourites;
import io.github.moulberry.notenoughupdates.miscfeatures.AbiphoneWarning;
import io.github.moulberry.notenoughupdates.miscfeatures.AntiCoopAdd;
import io.github.moulberry.notenoughupdates.miscfeatures.AuctionBINWarning;
@@ -338,6 +339,7 @@ public class NotEnoughUpdates {
MinecraftForge.EVENT_BUS.register(new GlowingMushroomHighlighter());
MinecraftForge.EVENT_BUS.register(new WorldListener(this));
MinecraftForge.EVENT_BUS.register(TitleUtil.getInstance());
+ MinecraftForge.EVENT_BUS.register(AbiphoneFavourites.getInstance());
if (Minecraft.getMinecraft().getResourceManager() instanceof IReloadableResourceManager) {
IReloadableResourceManager manager = (IReloadableResourceManager) Minecraft.getMinecraft().getResourceManager();