aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-23 15:15:42 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-23 15:15:42 -0400
commit8fb547095b567bf010d4decfdb4491215257f79c (patch)
tree71d4955f5d7849b68b1a0a839037e60943f75164 /src/main/java/io
parentef16103b67d12250bc027813563768d248ff081d (diff)
downloadNotEnoughUpdates-8fb547095b567bf010d4decfdb4491215257f79c.tar.gz
NotEnoughUpdates-8fb547095b567bf010d4decfdb4491215257f79c.tar.bz2
NotEnoughUpdates-8fb547095b567bf010d4decfdb4491215257f79c.zip
feat: add credits easter egg, link patreon, and make an issue template
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/CustomItems.java2
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/CustomItems.java b/src/main/java/io/github/moulberry/notenoughupdates/CustomItems.java
index dcd8cfb2..47b6401d 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/CustomItems.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/CustomItems.java
@@ -3,6 +3,7 @@ package io.github.moulberry.notenoughupdates;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
+import io.github.moulberry.notenoughupdates.util.Constants;
import net.minecraft.util.EnumChatFormatting;
public class CustomItems {
@@ -61,6 +62,7 @@ public class CustomItems {
"39 legendary phoenix pets",
"",
"get flexed");
+ public static JsonObject CREDITS = Constants.MISC.getAsJsonObject("credits");
/**
* SHAAAAAAAAAAAAAAAAAAME
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
index fa664ac6..ffee4c2b 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java
@@ -1272,6 +1272,11 @@ public class NEUOverlay extends Gui {
case "spinaxx":
searchedItems.add(CustomItems.SPINAXX);
break;
+ case "credits":
+ case "credit":
+ case "who made this mod":
+ searchedItems.add(CustomItems.CREDITS);
+ break;
}
this.searchedItems = searchedItems;