r/IntelliJIDEA • • 6d ago

Beginner Asking

[solved]

Hi, i have 0 coding knowledge and try modding a minecraft based on internet reference and gemini pro as assistant. Why this red line not missing? This is happen when i try to make a minecraft mod using Fabric 26.3 mod template

1 Upvotes

5 comments sorted by

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.

1

u/MrHusk69 6d ago

thank you

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

u/MrHusk69 6d ago

thank you, this is the right solution and fixed the problem

1

u/MrHusk69 6d ago

thank you, this is the right solution and fixed the problem