Examples of IconFlipped


Examples of buildcraft.core.render.IconFlipped

    }
  }

  @Override
  public IIcon getIcon(int side, int meta) {
    IconFlipped icon = new IconFlipped(iconMap.get(getIconName(side, ForgeDirection.SOUTH.ordinal())));
    icon.flipU(shouldFlipU(side, ForgeDirection.SOUTH.ordinal()));
    icon.flipV(shouldFlipV(side, ForgeDirection.SOUTH.ordinal()));
    return icon;
  }
View Full Code Here

Examples of buildcraft.core.render.IconFlipped

    return icon;
  }

  @Override
  public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) {
    IconFlipped icon = new IconFlipped(iconMap.get(getIconName(side, getFrontSide(world, x, y, z))));
    icon.flipU(shouldFlipU(world, x, y, z, side));
    icon.flipV(shouldFlipV(world, x, y, z, side));
    return icon;
  }
View Full Code Here

Examples of net.minecraft.client.renderer.IconFlipped

       
        this.iconsReverse = new IIcon[this.icons.length];
       
        for (int i = 0; i < this.icons.length; i++)
        {
            this.iconsReverse[i] = new IconFlipped(this.icons[i], true, false);
        }
    }
View Full Code Here

Examples of net.minecraft.client.renderer.IconFlipped

  public void registerBlockIcons(IIconRegister iconRegister) {
    icon_upper = new IIcon[2];
    icon_lower = new IIcon[2];
    icon_upper[0] = iconRegister.registerIcon(Extrabiomes.TEXTURE_PATH + getTextureName() + "_upper");
    icon_lower[0] = iconRegister.registerIcon(Extrabiomes.TEXTURE_PATH + getTextureName() + "_lower");
    icon_upper[1] = new IconFlipped(icon_upper[0], true, false);
    icon_lower[1] = new IconFlipped(icon_lower[0], true, false);
  }
View Full Code Here

Examples of net.minecraft.client.renderer.IconFlipped

  @Override
  @SideOnly(Side.CLIENT)
  public void registerBlockIcons(IIconRegister iconRegister) {
    iconUpper = iconRegister.registerIcon("door_iron_upper");
    iconLower = iconRegister.registerIcon("door_iron_lower");
    iconUpperFlipped = new IconFlipped(iconUpper, true, false);
    iconLowerFlipped = new IconFlipped(iconLower, true, false);
    blockIcon = iconUpper;
  }
View Full Code Here
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.