| 14 | import org.apache.logging.log4j.Logger; |
| 15 | |
| 16 | @Mod(TutorialV3.MODID) |
| 17 | public class TutorialV3 { |
| 18 | |
| 19 | public static final Logger LOGGER = LogManager.getLogger(); |
| 20 | public static final String MODID = "tutorialv3"; |
| 21 | |
| 22 | public TutorialV3() { |
| 23 | |
| 24 | // Register the deferred registry |
| 25 | ModSetup.setup(); |
| 26 | Registration.init(); |
| 27 | Config.register(); |
| 28 | |
| 29 | // Register the setup method for modloading |
| 30 | IEventBus modbus = FMLJavaModLoadingContext.get().getModEventBus(); |
| 31 | modbus.addListener(ModSetup::init); |
| 32 | DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> modbus.addListener(ClientSetup::init)); |
| 33 | } |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected