If your project shows error with getRGB() underlined in red (as shown in the image below) or not showing up in the drop down list when you type, check for the following in CommomProxy.java

1. Click the small plus button on line 3 to see all the import statements.

2. Add line number 2, that is,

import java.awt.Color;

3. Remove line number 8, which is

import net.minecraft.world.BossInfo.Color;

That should fix your code.

If You Still Need Help

Reach out to support using the Chat Box in the lower right hand corner.

Did this answer your question?