mirror of
https://code.chipmunk.land/ChomeNS/chipmunkmod.git
synced 2025-11-14 04:56:43 +00:00
15 lines
390 B
Java
15 lines
390 B
Java
|
|
package net.fabricmc.example;
|
||
|
|
|
||
|
|
import net.fabricmc.api.ModInitializer;
|
||
|
|
|
||
|
|
public class ExampleMod implements ModInitializer {
|
||
|
|
@Override
|
||
|
|
public void onInitialize() {
|
||
|
|
// This code runs as soon as Minecraft is in a mod-load-ready state.
|
||
|
|
// However, some things (like resources) may still be uninitialized.
|
||
|
|
// Proceed with mild caution.
|
||
|
|
|
||
|
|
System.out.println("Hello Fabric world!");
|
||
|
|
}
|
||
|
|
}
|