Package codechicken.nei.ItemList

Examples of codechicken.nei.ItemList.EverythingItemFilter


        Pattern pattern = null;
        try {
            pattern = Pattern.compile(s_filter);
        } catch (PatternSyntaxException ignored) {}
        if (pattern == null || pattern.toString().equals(""))
            return new EverythingItemFilter();

        return new PatternItemFilter(pattern);
    }
View Full Code Here


        API.hideItem(new ItemStack(Blocks.potatoes));
        API.hideItem(new ItemStack(Blocks.cocoa));
    }

    private static void addDefaultDropDowns() {
        API.addSubset("Items", new EverythingItemFilter());
        API.addSubset("Blocks", new ItemFilter()
        {
            @Override
            public boolean matches(ItemStack item) {
                return Block.getBlockFromItem(item.getItem()) != Blocks.air;
View Full Code Here

TOP

Related Classes of codechicken.nei.ItemList.EverythingItemFilter

Copyright © 2018 www.massapicom. 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.