Skip to content

Commit

Permalink
Texture pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHero233 committed Sep 25, 2024
1 parent 891c7be commit 1d0e871
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public ItemDehydratorCoil() {

@Override
public void registerIcons(IIconRegister reg) {
this.icons[0] = reg.registerIcon(GTPlusPlus.ID + ":" + "dehydrator/itemDehydratorCoil_0");
this.icons[1] = reg.registerIcon(GTPlusPlus.ID + ":" + "dehydrator/itemDehydratorCoil_1");
this.icons[2] = reg.registerIcon(GTPlusPlus.ID + ":" + "dehydrator/itemDehydratorCoil_2");
this.icons[3] = reg.registerIcon(GTPlusPlus.ID + ":" + "dehydrator/itemDehydratorCoil_3");
this.icons[0] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoil_0");
this.icons[1] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoil_1");
this.icons[2] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoil_2");
this.icons[3] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoil_3");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public ItemDehydratorCoilWire() {

@Override
public void registerIcons(IIconRegister reg) {
this.icons[0] = reg.registerIcon(GTPlusPlus.ID + ":/itemDehydratorCoilWire_0");
this.icons[1] = reg.registerIcon(GTPlusPlus.ID + ":/itemDehydratorCoilWire_1");
this.icons[2] = reg.registerIcon(GTPlusPlus.ID + ":/itemDehydratorCoilWire_2");
this.icons[3] = reg.registerIcon(GTPlusPlus.ID + ":/itemDehydratorCoilWire_3");
this.icons[0] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoilWire_0");
this.icons[1] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoilWire_1");
this.icons[2] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoilWire_2");
this.icons[3] = reg.registerIcon(GTPlusPlus.ID + ":itemDehydratorCoilWire_3");
}

@Override
Expand All @@ -58,13 +58,4 @@ public String getItemStackDisplayName(final ItemStack tItem) {
return StatCollector
.translateToLocalFormatted("item.itemDehydratorCoilWire.name", GTValues.VN[tItem.getItemDamage() + 4]);
}

/*
* @Override public int getColorFromItemStack(final ItemStack stack, int HEX_OxFFFFFF) { int meta =
* stack.getItemDamage(); if (meta == 0){ HEX_OxFFFFFF = Utils.rgbtoHexValue(10,110,30); } else if (meta == 1){
* HEX_OxFFFFFF = Utils.rgbtoHexValue(150,180,35); } else if (meta == 2){ HEX_OxFFFFFF =
* Utils.rgbtoHexValue(200,85,40); } else if (meta == 3){ HEX_OxFFFFFF = Utils.rgbtoHexValue(255,150,50); } return
* HEX_OxFFFFFF; }
*/

}

0 comments on commit 1d0e871

Please sign in to comment.