mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-21 04:32:27 +00:00
Update buildscript & apply automatic formatting rules
This commit is contained in:
1 parent
a7683b885d
commit
f7a900e910
173 files changed
+4581
-5321
No files matched your search
@@ -3,25 +3,22 @@ package codechicken.nei.config;
|
||||
import codechicken.nei.Image;
|
||||
import codechicken.nei.LayoutManager;
|
||||
|
||||
public class OptionGamemodes extends OptionStringSet
|
||||
{
|
||||
public OptionGamemodes(String name)
|
||||
{
|
||||
public class OptionGamemodes extends OptionStringSet {
|
||||
public OptionGamemodes(String name) {
|
||||
super(name);
|
||||
|
||||
options.add("creative");
|
||||
options.add("creative+");
|
||||
options.add("adventure");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void drawIcons()
|
||||
{
|
||||
public void drawIcons() {
|
||||
int x = buttonX();
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(132, 12, 12, 12));
|
||||
x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(156, 12, 12, 12));
|
||||
x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(168, 12, 12, 12));
|
||||
LayoutManager.drawIcon(x + 4, 4, new Image(132, 12, 12, 12));
|
||||
x += 24;
|
||||
LayoutManager.drawIcon(x + 4, 4, new Image(156, 12, 12, 12));
|
||||
x += 24;
|
||||
LayoutManager.drawIcon(x + 4, 4, new Image(168, 12, 12, 12));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user