Closes #10167
This commit is contained in:
@@ -82,6 +82,8 @@ public class EventType{
|
|||||||
public static class BlockInfoEvent{}
|
public static class BlockInfoEvent{}
|
||||||
/** Called *after* all content has been initialized. */
|
/** Called *after* all content has been initialized. */
|
||||||
public static class ContentInitEvent{}
|
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. */
|
/** Called when the client game is first loaded. */
|
||||||
public static class ClientLoadEvent{}
|
public static class ClientLoadEvent{}
|
||||||
/** Called after SoundControl registers its music. */
|
/** Called after SoundControl registers its music. */
|
||||||
|
|||||||
@@ -797,6 +797,8 @@ public class Mods implements Loadable{
|
|||||||
|
|
||||||
//this finishes parsing content fields
|
//this finishes parsing content fields
|
||||||
parser.finishParsing();
|
parser.finishParsing();
|
||||||
|
|
||||||
|
Events.fire(new ModContentLoadEvent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handleContentError(Content content, Throwable error){
|
public void handleContentError(Content content, Throwable error){
|
||||||
|
|||||||
Reference in New Issue
Block a user