File tree Expand file tree Collapse file tree 3 files changed +41
-2
lines changed
src/main/java/com/falsepattern/lib Expand file tree Collapse file tree 3 files changed +41
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ mixinPreinitConfig =
7373# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
7474# This parameter is for legacy compatability only
7575# Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin
76- coreModClass =
76+ coreModClass = internal.CoreLoadingPlugin
7777# If your project is only a consolidation of mixins or a core mod and does NOT contain a 'normal' mod ( = some class
7878# that is annotated with @Mod) you want this to be true. When in doubt: leave it on false!
7979containsMixinsAndOrCoreModOnly = false
Original file line number Diff line number Diff line change 88import cpw .mods .fml .common .FMLCommonHandler ;
99import cpw .mods .fml .common .eventhandler .SubscribeEvent ;
1010
11- import java .io .File ;
1211import java .lang .reflect .Field ;
1312import java .lang .reflect .InvocationTargetException ;
1413import java .nio .file .Path ;
2625import lombok .SneakyThrows ;
2726import lombok .val ;
2827import lombok .var ;
28+ import net .minecraft .launchwrapper .Launch ;
2929import net .minecraftforge .common .config .ConfigElement ;
3030import net .minecraftforge .common .config .Configuration ;
3131
Original file line number Diff line number Diff line change 1+ package com .falsepattern .lib .internal ;
2+
3+ import com .falsepattern .lib .config .ConfigurationManager ;
4+ import cpw .mods .fml .relauncher .IFMLLoadingPlugin ;
5+ import cpw .mods .fml .relauncher .IFMLLoadingPlugin .MCVersion ;
6+ import cpw .mods .fml .relauncher .IFMLLoadingPlugin .Name ;
7+ import cpw .mods .fml .relauncher .IFMLLoadingPlugin .SortingIndex ;
8+ import java .io .File ;
9+ import java .util .Map ;
10+
11+ @ MCVersion ("1.7.10" )
12+ @ Name (Tags .MODID )
13+ @ SortingIndex (500 )
14+ public class CoreLoadingPlugin implements IFMLLoadingPlugin {
15+
16+ @ Override
17+ public String [] getASMTransformerClass () {
18+ return null ;
19+ }
20+
21+ @ Override
22+ public String getModContainerClass () {
23+ return null ;
24+ }
25+
26+ @ Override
27+ public String getSetupClass () {
28+ return null ;
29+ }
30+
31+ @ Override
32+ public void injectData (Map <String , Object > data ) {
33+ }
34+
35+ @ Override
36+ public String getAccessTransformerClass () {
37+ return null ;
38+ }
39+ }
You can’t perform that action at this time.
0 commit comments