aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--.github/FUNDING.yml12
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md34
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/CustomItems.java2
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java5
4 files changed, 53 insertions, 0 deletions
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 00000000..4598ba6a
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: Moulberry
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] \ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000..5e58389d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,34 @@
+---
+name: Bug report
+about: Help Moulberry pinpoint problems.
+title: '[Bug] Title'
+labels: ''
+assignees: ''
+
+---
+
+<!--
+Before you begin check if the bug already been reported.
+And also ensure you are using the latest version.
+
+
+If you are unsure about these requirements or need general support,
+please join the discord server at discord.gg/moulberry
+-->
+
+<!-- This is asking for the mod version for example 1.7.3-REL -->
+**Mod Version:**
+
+<!-- Provide a clear and concise description of what the bug is. -->
+**Describe the bug**
+
+<!-- Steps to reproduce the behavior -->
+**To Reproduce**
+1.
+2.
+
+<!-- A clear and concise description of what you expected to happen. -->
+**Expected behavior**
+
+<!-- Add screenshots, crash logs etc. -->
+**Attachments** \ No newline at end of file
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;