Highly incomplete code. First work on porting to 1.12. Still need to rework a LOT of things.

This commit is contained in:
Gunther De Wachter
2017-07-06 01:57:19 +02:00
parent d67f97cd16
commit fbcf8c4705
127 changed files with 850 additions and 425 deletions
@@ -61,13 +61,14 @@ public class MEGuiTextField extends GuiTextField
}
@Override
public void mouseClicked( final int xPos, final int yPos, final int button )
public boolean mouseClicked( final int xPos, final int yPos, final int button )
{
super.mouseClicked( xPos, yPos, button );
final boolean requiresFocus = this.isMouseIn( xPos, yPos );
this.setFocused( requiresFocus );
return true;
}
/**