简体   繁体   中英

Im having a problem getting the main class of my intelliJ project

I need to Get a main class here

I would then assume I need to put in the directory of the main class so i do this But that gives me a separate error.

Here You can see a clearer image of the code if that helps.

Would this be a main class? and if so what would i put here: Image


import net.fabricmc.api.ModInitializer;

public class SwordsAndShields implements ModInitializer {
    @Override
    public void onInitialize() {

    }

Here Where it says cp at the top right be sure it ends with.main

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM