Package codechicken.nei.config

Source Code of codechicken.nei.config.OptionGamemodes

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;
    }
}
TOP

Related Classes of codechicken.nei.config.OptionGamemodes

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.