91
edits
Buttchouda (talk | contribs) |
Buttchouda (talk | contribs) |
||
Line 146: | Line 146: | ||
== Accessing Your Mod's Resources == | == Accessing Your Mod's Resources == | ||
''View this topic's relevant API reference here [[Mod Creation/Mod Context API Reference#Loading Resources]].'' | |||
Chances are you will package some resources in your mod that aren't covered by the loading options defined in the manifest and instead need to rely on loading these resources through your code. Your mod's context object provides methods for retrieving these resources. Keep in mind that all file path references to your resources should be ''relative to the root of your mod''. Some common scenarios are below. | Chances are you will package some resources in your mod that aren't covered by the loading options defined in the manifest and instead need to rely on loading these resources through your code. Your mod's context object provides methods for retrieving these resources. Keep in mind that all file path references to your resources should be ''relative to the root of your mod''. Some common scenarios are below. |
edits