mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
add example for addCredits
This commit is contained in:
parent
b0c8c09a60
commit
60d77cf04a
@ -102,6 +102,7 @@ The ModAPI object has the following methods:
|
|||||||
- More [PromisifyDocumentation](promisify.md)
|
- More [PromisifyDocumentation](promisify.md)
|
||||||
- `addCredit(category: String, contributor: String, contents: String)`
|
- `addCredit(category: String, contributor: String, contents: String)`
|
||||||
- Lets you easily add credits to Eaglercraft's credits.txt
|
- 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.
|
## Handling strings, numbers and booleans to and from java.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user