From 60d77cf04ada9bac7795c4f5590d07a6d625be76 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Sat, 15 Mar 2025 19:05:38 +0800 Subject: [PATCH] add example for addCredits --- docs/apidoc/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/apidoc/index.md b/docs/apidoc/index.md index cdfaf9b..e837af5 100644 --- a/docs/apidoc/index.md +++ b/docs/apidoc/index.md @@ -102,6 +102,7 @@ The ModAPI object has the following methods: - More [PromisifyDocumentation](promisify.md) - `addCredit(category: String, contributor: String, contents: String)` - Lets you easily add credits to Eaglercraft's credits.txt + - eg: `ModAPI.addCredit("My Cool Mod", "Username", " - Coded the mod\n - Wrote somne credits")` ## Handling strings, numbers and booleans to and from java.