mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-25 14:34:54 +00:00
Reimplemented subsets Added regex searching Fixed format error on delete all Fixed GuiButton handling clicks before NEI widgets could override Re-Implemented banned blocks implementation Added brewing recipes again note test obf ASM beacons Fixed some calls being intercepted by item panel when mouse was over a gui element Fixed crash on closing potion window with escape Disabled fast transfer, scrolling, and drag 'n' drop in creative Added item panel sorting Removed TMI uninstaller Fixed /give command Updated to 1.7.10
26 lines
645 B
Java
26 lines
645 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)); x+=24;
|
|
}
|
|
}
|