Fixed Missing Textures and Changed World Thread

Fixed the code for retrieving textures for ItemRiftBlade,
ItemRiftSignature, and ItemRiftRemover. Renamed Rift Blade item texture
again due to capitalization issues. Replaced World Thread texture with a
dark variant of MC's String - we can switch to another texture later.
This commit is contained in:
SenseiKiwi
2014-03-03 21:44:04 -04:00
parent 4889b94b8b
commit a920a7d65b
5 changed files with 3 additions and 4 deletions

View File

@@ -201,7 +201,7 @@ public class ItemRiftBlade extends ItemSword
@Override
public void registerIcons(IconRegister par1IconRegister)
{
this.itemIcon = par1IconRegister.registerIcon(mod_pocketDim.modid + ":" + this.getUnlocalizedName());
this.itemIcon = par1IconRegister.registerIcon(mod_pocketDim.modid + ":" + this.getUnlocalizedName().replace("item.", ""));
}
/**

View File

@@ -42,7 +42,7 @@ public class ItemRiftSignature extends Item
public void registerIcons(IconRegister par1IconRegister)
{
this.itemIcon = par1IconRegister.registerIcon(mod_pocketDim.modid + ":" + this.getUnlocalizedName());
this.itemIcon = par1IconRegister.registerIcon(mod_pocketDim.modid + ":" + this.getUnlocalizedName().replace("item.", ""));
}
@Override

View File

@@ -32,8 +32,7 @@ public class itemRiftRemover extends Item
@Override
public void registerIcons(IconRegister par1IconRegister)
{
System.out.println(mod_pocketDim.modid + ":" + this.getUnlocalizedName());
this.itemIcon = par1IconRegister.registerIcon(mod_pocketDim.modid + ":" + this.getUnlocalizedName());
this.itemIcon = par1IconRegister.registerIcon(mod_pocketDim.modid + ":" + this.getUnlocalizedName().replace("item.", ""));
}
@Override

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 234 B