Hello! Sorry if this is a noob question but I can’t find any resources that explain how to fix this.
I’m using the Minecraft plugin for Intelij that sets up spongepowered for you. I’m not sure how to set up import net.minecraft statement to work properly. I have the statement:
import net.minecraft.entity.player.EntityPlayerMP
but I get the error ‘cannot resolve symbol ‘net’’.
My build.gradle looks like this:
plugins {
id ‘org.spongepowered.plugin’ version ‘0.9.0’
}
group = ‘com.gmail.mathewcferry’
version = ‘Test_Version’
sourceCompatibility = ‘1.8’
targetCompatibility = ‘1.8’
dependencies {
compileOnly ‘org.spongepowered:spongeapi:7.3.0’
annotationProcessor ‘org.spongepowered:spongeapi:7.3.0’
compile files(‘libs/Pixelmon-1.12.2-8.1.0-universal.jar’)
}
sponge.plugin.id = ‘jetspoketools’
That’s what the tutorial said to add, and I followed all other direction on there. What else do I have to do to get the imports to work?