| 12 | import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; |
| 13 | |
| 14 | @Mod(ProjectEX.MOD_ID) |
| 15 | public class ProjectEX { |
| 16 | public static final String MOD_ID = "projectex"; |
| 17 | |
| 18 | //public static ProjectEXCommon PROXY; |
| 19 | |
| 20 | public static final Direction[] DIRECTIONS = Direction.values(); |
| 21 | |
| 22 | public static CreativeModeTab tab; |
| 23 | |
| 24 | public ProjectEX() { |
| 25 | //PROXY = DistExecutor.safeRunForDist(() -> FTBJarModClient::new, () -> FTBJarModCommon::new); |
| 26 | |
| 27 | tab = new CreativeModeTab(MOD_ID) { |
| 28 | @Override |
| 29 | @OnlyIn(Dist.CLIENT) |
| 30 | public ItemStack makeIcon() { |
| 31 | return new ItemStack(ProjectEXItems.ARCANE_TABLET.get()); |
| 32 | } |
| 33 | }; |
| 34 | |
| 35 | ProjectEXBlocks.REGISTRY.register(FMLJavaModLoadingContext.get().getModEventBus()); |
| 36 | ProjectEXItems.REGISTRY.register(FMLJavaModLoadingContext.get().getModEventBus()); |
| 37 | ProjectEXBlockEntities.REGISTRY.register(FMLJavaModLoadingContext.get().getModEventBus()); |
| 38 | // ProjectEXRecipeSerializers.REGISTRY.register(FMLJavaModLoadingContext.get().getModEventBus()); |
| 39 | // ProjectEXMenus.REGISTRY.register(FMLJavaModLoadingContext.get().getModEventBus()); |
| 40 | |
| 41 | //ProjectEXNet.init(); |
| 42 | //PROXY.init(); |
| 43 | } |
| 44 | } |
nothing calls this directly
no outgoing calls
no test coverage detected