aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-07-06 11:56:12 +1000
committerAlkalus <draknyte1@hotmail.com>2017-07-06 11:56:12 +1000
commite2c046dba313b47717ac0a570d2efb37b1d83503 (patch)
tree5486430a694d7d734c09ec1922a878067a1d8221
parent89cbaf872bc166223feb3d0cd3dad0ab2be648c6 (diff)
downloadGT5-Unofficial-e2c046dba313b47717ac0a570d2efb37b1d83503.tar.gz
GT5-Unofficial-e2c046dba313b47717ac0a570d2efb37b1d83503.tar.bz2
GT5-Unofficial-e2c046dba313b47717ac0a570d2efb37b1d83503.zip
% Made more components use GT textures by default.
-rw-r--r--src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java b/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java
index a4c395d850..c77d36a4fb 100644
--- a/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java
+++ b/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java
@@ -76,6 +76,27 @@ public class BaseItemComponent extends Item{
else if (this.componentType == ComponentTypes.PLATEDOUBLE){
return "gregtech" + ":" + "materialicons/METALLIC/" + "plateDouble";
}
+ else if (this.componentType == ComponentTypes.CELL){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "cell";
+ }
+ else if (this.componentType == ComponentTypes.PLASMACELL){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "cellPlasma";
+ }
+ else if (this.componentType == ComponentTypes.BOLT){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "bolt";
+ }
+ else if (this.componentType == ComponentTypes.RING){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "ring";
+ }
+ else if (this.componentType == ComponentTypes.ROTOR){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "rotor";
+ }
+ else if (this.componentType == ComponentTypes.SCREW){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "screw";
+ }
+ else if (this.componentType == ComponentTypes.INGOT){
+ return "gregtech" + ":" + "materialicons/METALLIC/" + "ingot";
+ }
return "gregtech" + ":" + "materialicons/METALLIC/" + this.componentType.COMPONENT_NAME.toLowerCase();
}