-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
## .gitignore ## | ||
# ignore all | ||
* | ||
|
||
# allow any | ||
!*.md | ||
!src/ | ||
!tools/ | ||
!.gitmodules | ||
!.gitignore | ||
!.gitattributes | ||
!.travis.yml | ||
!settings.xml | ||
!pom.tmp | ||
!LICENSE.md | ||
## .gitignore ## | ||
# ignore all | ||
* | ||
|
||
# allow any | ||
!*.md | ||
!src/ | ||
!tools/ | ||
!.gitmodules | ||
!.gitignore | ||
!.gitattributes | ||
!.travis.yml | ||
!settings.xml | ||
!pom.xml | ||
!pom.travis.xml | ||
!LICENSE.md | ||
!README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package cpw.mods.fml.common; | ||
|
||
public class ModMetadata { | ||
|
||
} |
3 changes: 3 additions & 0 deletions
3
src/main/java/cpw/mods/fml/common/event/FMLPostInitializationEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package cpw.mods.fml.common.event; | ||
|
||
import java.util.Optional; | ||
|
||
public abstract class FMLPostInitializationEvent extends FMLStateEvent { | ||
public abstract Optional<?> buildSoftDependProxy(String modId, String className, Object... arguments); | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/cpw/mods/fml/common/event/FMLPreInitializationEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
package cpw.mods.fml.common.event; | ||
|
||
import java.io.File; | ||
import java.util.Properties; | ||
|
||
import org.apache.logging.log4j.Logger; | ||
|
||
import cpw.mods.fml.common.ModMetadata; | ||
|
||
public abstract class FMLPreInitializationEvent extends FMLStateEvent { | ||
public abstract File getSourceFile(); | ||
|
||
public abstract ModMetadata getModMetadata(); | ||
|
||
public abstract File getModConfigurationDirectory(); | ||
|
||
public abstract File getSuggestedConfigurationFile(); | ||
|
||
public abstract Properties getVersionProperties(); | ||
|
||
public abstract Logger getModLog(); | ||
} |