Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mod(Main.MOD_ID)
- @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
- public class Main {
- public static final String MOD_ID = "mod_id";
- public static final Logger LOGGER = LogManager.getLogger(MOD_ID);
- public Main() {
- DistExecutor.safeRunForDist(
- () -> CommonProxy.ClientProxy::new,
- () -> CommonProxy.ServerProxy::new
- );
- }
- @Nonnull
- public static ResourceLocation getId(String path) {
- return new ResourceLocation(MOD_ID, path);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement