blob: e5ed082e54ad50185361e42a965c4e3fbd469ae4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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!");
}
}
|