File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
java/one/devos/nautical/bedgoboom Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 22
33import net .fabricmc .api .ModInitializer ;
44import net .fabricmc .loader .api .FabricLoader ;
5+ import org .apache .logging .log4j .LogManager ;
6+ import org .apache .logging .log4j .Logger ;
57
68import java .io .IOException ;
79
810public class Boom implements ModInitializer {
911 public static BoomConfig CONFIG ;
1012
13+ public static final String MOD_ID = "bedgoboom" ;
14+ public static final String VERSION = FabricLoader .getInstance ().getModContainer (MOD_ID ).get ().getMetadata ().getVersion ().getFriendlyString ();
15+ public static final String MOD_NAME = FabricLoader .getInstance ().getModContainer (MOD_ID ).get ().getMetadata ().getName ();
16+
17+ public static final Logger LOGGER = LogManager .getLogger (MOD_NAME );
18+
1119 @ Override
1220 public void onInitialize () {
21+ LOGGER .info ("[" + MOD_NAME + "] Version " + VERSION + " loaded." );
22+ LOGGER .info ("[" + MOD_NAME + "] " + "https://www.youtube.com/watch?v=uL4l1yRhTRY" );
23+
1324 CONFIG = new BoomConfig (FabricLoader .getInstance ().getConfigDir ().resolve ("bedgoboom.properties" ));
1425 try {
1526 CONFIG .initialize ();
Original file line number Diff line number Diff line change 1010 " Team Nautical"
1111 ],
1212 "contributors" : [
13+ " IMS212" ,
1314 " asoji"
1415 ],
1516 "contact" : {
1617 "homepage" : " https://devos.one/" ,
17- "sources" : " https://github.com/devOS-Sanity-Edition/FabricTemplateMod "
18+ "sources" : " https://github.com/devOS-Sanity-Edition/Bed-Go-Boom "
1819 },
1920
2021 "license" : " MIT" ,
3233
3334 "depends" : {
3435 "fabricloader" : " >=0.13.3" ,
35- "minecraft" : " 1.18.2" ,
36+ "minecraft" : " >= 1.18.2" ,
3637 "java" : " >=17"
3738 }
3839}
You can’t perform that action at this time.
0 commit comments