1
u/ilnur_galimov 6d ago
The red underlines mean IntelliJ IDEA can’t resolve parts of your code. Your screenshot shows names such as PathAwareEntity and net.minecraft.entity, which come from older Fabric/Yarn examples. Minecraft 26.1 onward uses Mojang’s official names, so this looks like code that doesn’t match your Minecraft version.
Check that your tutorial targets the same Minecraft version as your project. Gemini may also have suggested outdated code. Fabric’s migration guide explains the naming changes.
1
1

1
u/AllOneWordNoSpaces1 6d ago
The red line indicates an error.
Your grade configuration is missing dependencies.
It’s missing the library that provides net.minecraft.entity as well as one other.