Package forestry.pipes

Examples of forestry.pipes.EnumFilterType


      return logic.getTypeFilter(orientation);
    }

    @Override
    public void draw(int startX, int startY) {
      EnumFilterType type = logic.getTypeFilter(orientation);
      IIcon icon = null;
      if (type != null)
        icon = type.getIcon();
      if(icon == null)
        return;

      GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0F);
      Proxies.common.bindTexture(SpriteSheet.ITEMS);
View Full Code Here


    }

    @Override
    protected String getLegacyTooltip(EntityPlayer player) {
      EnumFilterType type = logic.getTypeFilter(orientation);
      return StringUtil.localize("gui.pipe.filter." + type.toString().toLowerCase(Locale.ENGLISH));
    }
View Full Code Here

      return StringUtil.localize("gui.pipe.filter." + type.toString().toLowerCase(Locale.ENGLISH));
    }

    @Override
    public void handleMouseClick(int mouseX, int mouseY, int mouseButton) {
      EnumFilterType change;
      if (mouseButton == 1)
        change = EnumFilterType.CLOSED;
      else if (getType().ordinal() < EnumFilterType.values().length - 1)
        change = EnumFilterType.values()[getType().ordinal() + 1];
      else
View Full Code Here

TOP

Related Classes of forestry.pipes.EnumFilterType

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.