This commit is contained in:
Anuken
2025-02-05 18:53:19 -05:00
parent 28221246cb
commit 571b87aaa3
2 changed files with 4 additions and 0 deletions

View File

@@ -82,6 +82,8 @@ public class EventType{
public static class BlockInfoEvent{}
/** Called *after* all content has been initialized. */
public static class ContentInitEvent{}
/** Called *after* all mod content has been loaded, but before it has been initialized. */
public static class ModContentLoadEvent{}
/** Called when the client game is first loaded. */
public static class ClientLoadEvent{}
/** Called after SoundControl registers its music. */

View File

@@ -797,6 +797,8 @@ public class Mods implements Loadable{
//this finishes parsing content fields
parser.finishParsing();
Events.fire(new ModContentLoadEvent());
}
public void handleContentError(Content content, Throwable error){