Package crazypants.enderio.conduit.item.filter

Examples of crazypants.enderio.conduit.item.filter.ItemFilter


  }
 
  @Override
  public void updateButtons() {
   
    ItemFilter activeFilter = (ItemFilter)filter;
   
    if(isAdvanced) {
      useNbtB.onGuiInit();
      useNbtB.setSelected(activeFilter.isMatchNBT());

      useOreDictB.onGuiInit();
      useOreDictB.setSelected(activeFilter.isUseOreDict());
     
      if(!isInput) {
        stickyB.onGuiInit();
        stickyB.setSelected(activeFilter.isSticky());
      }
    }

    useMetaB.onGuiInit();
    useMetaB.setSelected(activeFilter.isMatchMeta());

    whiteListB.onGuiInit();
    if(activeFilter.isBlacklist()) {
      whiteListB.setIcon(IconEIO.FILTER_BLACKLIST);
      whiteListB.setToolTip(Lang.localize("gui.conduit.item.blacklist"));
    } else {
      whiteListB.setIcon(IconEIO.FILTER_WHITELIST);
      whiteListB.setToolTip(Lang.localize("gui.conduit.item.whitelist"));
View Full Code Here

TOP

Related Classes of crazypants.enderio.conduit.item.filter.ItemFilter

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.