Mod Creation/Mod Context API Reference: Difference between revisions

no edit summary
No edit summary
Line 36: Line 36:


  <syntaxhighlight lang="js" line>const devCtx = mod.getDevContext();</syntaxhighlight>
  <syntaxhighlight lang="js" line>const devCtx = mod.getDevContext();</syntaxhighlight>
== Getter Properties ==
=== name: string ===
The name of the mod.
=== namespace: string | undefined ===
The defined namespace of the mod, if provided.
=== version: string ===
The currently loaded version of the mod.


== Loading Resources ==
== Loading Resources ==
89

edits