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 16:36] Laureline Davidgames:minecraft [2020/03/07 18:34] (current) Laureline David
Line 67: Line 67:
  
 <code javascript> <code javascript>
-import mods.gregtech.material.MaterialRegistry; 
- 
 // Rubber ingot from Rubber // Rubber ingot from Rubber
 furnace.addRecipe(<gregtech:meta_item_1:10152>,<gregtech:meta_item_1:32627>*2); furnace.addRecipe(<gregtech:meta_item_1:10152>,<gregtech:meta_item_1:32627>*2);
Line 94: Line 92:
 // Copper Cable // Copper Cable
 recipes.addShapeless(<gregtech:cable:5018>, [<gregtech:cable:18>,<gregtech:meta_item_1:12152>]); recipes.addShapeless(<gregtech:cable:5018>, [<gregtech:cable:18>,<gregtech:meta_item_1:12152>]);
 +</code>
 +
 +**File Name:** ''scripts/05_cables.zs''
 +
 +<code javascript>
 +#loader gregtech
 +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> </code>
  
Line 162: Line 133:
 } }
 </code> </code>
 +
 +**File Name:** ''config/gregtech.cfg''
 +
 +<code>
 +general {
 +
 +    ##########################################################################################################
 +    # vanillarecipes
 +    #--------------------------------------------------------------------------------------------------------#
 +    # Category that contains configs for changing vanilla recipes
 +    ##########################################################################################################
 +
 +    vanillarecipes {
 +        # Require a knife for bowl crafting instead of only plank? Default is true.
 +        B:bowlRequireKnife=false
 +
 +        # Whether to make iron bucket recipe harder by requiring hammer and plates. Default is true.
 +        B:bucketRequirePlatesAndHammer=false
 +
 +        # Whether to make flint and steel recipe require steel nugget instead of iron one. Default is true
 +        B:flintAndSteelRequireSteel=false
 +
 +        # Recipes for items like iron doors, trapdors, pressure plates, cauldron, hopper and iron bars require iron plates and hammer. Default is true
 +        B:ironConsumingCraftingRecipesRequirePlates=false
 +
 +        # Whether to nerf paper crafting recipe. Default is true.
 +        B:nerfPaperCrafting=false
 +
 +        # Whether to nerf wood crafting to 2 sticks from 2 planks. Default is false.
 +        B:nerfStickCrafting=false
 +
 +        # Whether to nerf wood crafting to 2 planks from 1 log. Default is false.
 +        B:nerfWoodCrafting=false
 +    }
 +
 +}
 +</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>
 +