MCPcopy Create free account
hub / github.com/FTBTeam/FTB-ProjectEX / ProjectEX

Class ProjectEX

src/main/java/dev/latvian/mods/projectex/ProjectEX.java:14–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
13
14@Mod(ProjectEX.MOD_ID)
15public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected