Skip to content

Commit

Permalink
update to use mantle's texture domain for inventory blocks
Browse files Browse the repository at this point in the history
WARNING: USERS MUST!!! update mantle to use this build
  • Loading branch information
progwml6 committed Feb 27, 2014
1 parent 7b8483e commit 9b4b59a
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 33 deletions.
2 changes: 1 addition & 1 deletion build.properties
@@ -1,6 +1,6 @@
minecraft_version=1.7.2
forge_version=10.12.0.1027
mantle_version=106.1bb545c
mantle_version=109.be29b7d
FMP_version=1.0.0.211
CCLIB_version=1.0.0.44
NEI_version=1.6.1.8
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/CraftingSlab.java
Expand Up @@ -49,6 +49,12 @@ public String[] getTextureNames ()
return textureNames;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta)
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/CraftingStationBlock.java
Expand Up @@ -42,6 +42,12 @@ public String[] getTextureNames ()
return textureNames;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta)
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/DryingRack.java
Expand Up @@ -226,6 +226,12 @@ public String[] getTextureNames ()
return textureNames;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta)
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/EquipBlock.java
Expand Up @@ -42,6 +42,12 @@ public String[] getTextureNames ()
return new String[] { "toolstation_top" };
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta)
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/FurnaceSlab.java
Expand Up @@ -101,6 +101,12 @@ public int getTextureIndex (int side)
return 2;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

@Override
public void registerBlockIcons (IIconRegister iconRegister)
{
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/SearedBlock.java
Expand Up @@ -211,6 +211,12 @@ public String[] getTextureNames ()
return textureNames;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

// TODO getIcon
@Override
@SideOnly(Side.CLIENT)
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/SmelteryBlock.java
Expand Up @@ -73,6 +73,12 @@ public String[] getTextureNames ()
return textureNames;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta)
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/ToolForgeBlock.java
Expand Up @@ -46,6 +46,12 @@ public String[] getTextureNames ()
return textureNames;
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}

IIcon textureTop;

@Override
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/ToolStationBlock.java
Expand Up @@ -215,4 +215,10 @@ public void onBlockPlacedBy (World world, int x, int y, int z, EntityLivingBase
}
super.onBlockPlacedBy(world, x, y, z, par5EntityLiving, par6ItemStack);
}

@Override
public String getTextureDomain (int textureNameIndex)
{
return "tinker";
}
}
32 changes: 0 additions & 32 deletions src/main/java/tconstruct/library/util/TabTools.java

This file was deleted.

0 comments on commit 9b4b59a

Please sign in to comment.