Laureline's Wiki

Laureline's Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:minecraft [2020/03/07 18:29] Laureline Davidgames:minecraft [2020/03/07 18:34] (current) Laureline David
Line 99: Line 99:
 #loader gregtech #loader gregtech
 import mods.gregtech.material.MaterialRegistry; import mods.gregtech.material.MaterialRegistry;
-//Cable Materials+ 
 +// Cable Materials
 var materialList = MaterialRegistry.getAllMaterials(); var materialList = MaterialRegistry.getAllMaterials();
  
-val conductiveIron = MaterialRegistry.createIngotMaterial(700, "conductive_iron", 0xf7b29b, "shiny", 2);+val conductiveIron = MaterialRegistry.createIngotMaterial(800, "conductive_iron", 0xf7b29b, "shiny", 2);
 conductiveIron.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]); conductiveIron.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]);
  
-val energeticAlloy = MaterialRegistry.createIngotMaterial(701, "energetic_alloy", 0xf49507, "shiny", 2);+val energeticAlloy = MaterialRegistry.createIngotMaterial(801, "energetic_alloy", 0xf49507, "shiny", 2);
 energeticAlloy.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]); energeticAlloy.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]);
  
-val vibrantAlloy = MaterialRegistry.createIngotMaterial(702, "vibrant_alloy", 0xa4ff70, "shiny", 2);+val vibrantAlloy = MaterialRegistry.createIngotMaterial(802, "vibrant_alloy", 0xa4ff70, "shiny", 2);
 vibrantAlloy.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]); vibrantAlloy.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]);
- 
-val pulsatingIron = MaterialRegistry.createIngotMaterial(703, "pulsating_iron", 0x6ae26e, "shiny", 2); 
-pulsatingIron.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]); 
- 
-val electricalSteel = MaterialRegistry.createIngotMaterial(705, "electrical_steel", 0xb2c0c1, "shiny", 2); 
-electricalSteel.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]); 
- 
-val darkSteel = MaterialRegistry.createIngotMaterial(704, "dark_steel", 0x414751, "dull", 2); 
-darkSteel.addFlags(["GENERATE_PLATE","GENERATE_ROD"]); 
- 
-val endSteel = MaterialRegistry.createIngotMaterial(712, "end_steel", 0xe0efbd, "shiny", 2); 
-endSteel.addFlags(["GENERATE_PLATE","GENERATE_GEAR"]); 
- 
-val ardite = MaterialRegistry.createIngotMaterial(713, "ardite", 0xad2f05, "dull", 2); 
-ardite.addFlags(["GENERATE_PLATE"]); 
- 
-val manyullyn = MaterialRegistry.createIngotMaterial(714, "manyullyn", 0x9949cc, "dull", 2); 
-manyullyn.addFlags(["GENERATE_PLATE"]); 
- 
-val lumium = MaterialRegistry.createIngotMaterial(706, "lumium", 0xf6ff99, "shiny", 2); 
-lumium.addFlags(["GENERATE_ROD"]); 
- 
-val signalum = MaterialRegistry.createIngotMaterial(707, "signalum", 0xce4b00, "shiny", 2); 
-signalum.addFlags(["GENERATE_ROD"]); 
- 
-val enderium = MaterialRegistry.createIngotMaterial(708, "enderium", 0x1f6b62, "shiny", 2); 
-enderium.addFlags(["GENERATE_ROD"]); 
- 
-val draconium = MaterialRegistry.createIngotMaterial(710, "draconium", 0xbe49ed, "dull", 2); 
  
 conductiveIron.setCableProperties(32, 1, 0); conductiveIron.setCableProperties(32, 1, 0);
 energeticAlloy.setCableProperties(128, 1, 0); energeticAlloy.setCableProperties(128, 1, 0);
 vibrantAlloy.setCableProperties(512, 1, 0); vibrantAlloy.setCableProperties(512, 1, 0);
-endSteel.setCableProperties(2048, 1, 0); 
-lumium.setCableProperties(8192, 1, 0); 
-signalum.setCableProperties(32768, 1, 0); 
-enderium.setCableProperties(131072, 1, 0); 
-draconium.setCableProperties(524288, 1, 0); 
-</code> 
- 
-**File Name:** ''resources/contenttweaker/lang/en_us.cfg'' 
-<code> 
-material.conductive_iron=Conductive Iron 
-material.pulsating_iron=Pulsating Iron 
-material.energetic_alloy=Energetic Alloy 
-material.vibrant_alloy=Vibrant Alloy 
-material.dark_steel=Dark Steel 
-material.lumium=Lumium 
-material.signalum=Signalum 
-material.enderium=Enderium 
-material.electrical_steel=Electrical Steel 
-material.end_steel=End Steel 
-material.ardite=Ardite 
-material.manyullyn=Manyullyn 
-material.draconium=Draconium 
 </code> </code>
  
Line 220: Line 170:
 } }
 </code> </code>
 +
 +**File Name:** ''resources/contenttweaker/lang/en_us.cfg'' //(Optional)//
 +
 +<code>
 +material.conductive_iron=Conductive Iron
 +material.energetic_alloy=Energetic Alloy
 +material.vibrant_alloy=Vibrant Alloy
 +</code>
 +