Files
NotEnoughItems/src/codechicken/nei/config/OptionGamemodes.java
T
Jason Mitchell 6d9ff9ea0a Backport some JEI features
* Licensed under LGPL
* Remove TMI style
* Remove Load/Save inventory state
* Reworked ItemPanel so it's no longer used statically
* BookmarkPanel inherits from ItemPanel
* Rework LayoutManager
* Bookmarks - including loading & saving
* Utility/Cheat buttons line up and wrap based on GUI size
2019-12-30 14:32:55 -08:00

28 lines
654 B
Java

package codechicken.nei.config;
import codechicken.nei.Image;
import codechicken.nei.LayoutManager;
public class OptionGamemodes extends OptionStringSet
{
public OptionGamemodes(String name)
{
super(name);
options.add("creative");
options.add("creative+");
options.add("adventure");
}
@Override
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));
}
}