-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加NeoForge支持,添加HttpPost,优化API,删除bStats
- Loading branch information
Showing
15 changed files
with
733 additions
and
206 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
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,20 +1,12 @@ | ||
package org.cneko.ctlib.bootstrap; | ||
|
||
|
||
import net.minecraftforge.eventbus.api.IEventBus; | ||
import net.minecraftforge.fml.common.Mod; | ||
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; | ||
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; | ||
|
||
|
||
@Mod("ctlib") | ||
public class ForgeBootstrap { | ||
public ForgeBootstrap(){ | ||
IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); | ||
modEventBus.addListener(this::setup); | ||
} | ||
|
||
private void setup(final FMLCommonSetupEvent event){ | ||
|
||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/org/cneko/ctlib/bootstrap/NeoForgeBootstrap.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.cneko.ctlib.bootstrap; | ||
|
||
import net.neoforged.fml.common.Mod; | ||
|
||
@Mod("toneko") | ||
public class NeoForgeBootstrap { | ||
public NeoForgeBootstrap(){ | ||
|
||
} | ||
} |
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
Oops, something went wrong.