252 lines
7.5 KiB
Plaintext
252 lines
7.5 KiB
Plaintext
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
|
||
|
|
import crafttweaker.item.IIngredient;
|
||
|
|
|
||
|
|
var banned_items = [
|
||
|
|
// Vanilla Tools
|
||
|
|
<minecraft:iron_shovel>,
|
||
|
|
<minecraft:iron_pickaxe>,
|
||
|
|
<minecraft:iron_axe>,
|
||
|
|
<minecraft:iron_hoe>,
|
||
|
|
<minecraft:iron_sword>,
|
||
|
|
|
||
|
|
<minecraft:golden_shovel>,
|
||
|
|
<minecraft:golden_pickaxe>,
|
||
|
|
<minecraft:golden_axe>,
|
||
|
|
<minecraft:golden_hoe>,
|
||
|
|
<minecraft:golden_sword>,
|
||
|
|
|
||
|
|
<minecraft:diamond_shovel>,
|
||
|
|
<minecraft:diamond_pickaxe>,
|
||
|
|
<minecraft:diamond_axe>,
|
||
|
|
<minecraft:diamond_hoe>,
|
||
|
|
<minecraft:diamond_sword>,
|
||
|
|
|
||
|
|
// <minecraft:bow>,
|
||
|
|
// <minecraft:arrow>,
|
||
|
|
// <minecraft:shears>,
|
||
|
|
<minecraft:bucket>,
|
||
|
|
|
||
|
|
// Vanilla Armor
|
||
|
|
<minecraft:chainmail_helmet>,
|
||
|
|
<minecraft:chainmail_chestplate>,
|
||
|
|
<minecraft:chainmail_leggings>,
|
||
|
|
<minecraft:chainmail_boots>,
|
||
|
|
|
||
|
|
// <minecraft:iron_helmet>,
|
||
|
|
// <minecraft:iron_chestplate>,
|
||
|
|
// <minecraft:iron_leggings>,
|
||
|
|
// <minecraft:iron_boots>,
|
||
|
|
|
||
|
|
// <minecraft:golden_helmet>,
|
||
|
|
// <minecraft:golden_chestplate>,
|
||
|
|
// <minecraft:golden_leggings>,
|
||
|
|
// <minecraft:golden_boots>,
|
||
|
|
|
||
|
|
<minecraft:diamond_helmet>,
|
||
|
|
<minecraft:diamond_chestplate>,
|
||
|
|
<minecraft:diamond_leggings>,
|
||
|
|
<minecraft:diamond_boots>,
|
||
|
|
|
||
|
|
// Modded items
|
||
|
|
// No tree punching
|
||
|
|
<notreepunching:mattock/iron>,
|
||
|
|
<notreepunching:mattock/gold>,
|
||
|
|
<notreepunching:mattock/diamond>,
|
||
|
|
<notreepunching:mattock/copper>,
|
||
|
|
<notreepunching:mattock/tin>,
|
||
|
|
<notreepunching:mattock/bronze>,
|
||
|
|
<notreepunching:mattock/steel>,
|
||
|
|
|
||
|
|
<notreepunching:saw/tin>,
|
||
|
|
<notreepunching:knife/tin>,
|
||
|
|
|
||
|
|
// Gems don't need smelting
|
||
|
|
// <notreepunching:saw/diamond>,
|
||
|
|
// <notreepunching:knife/diamond>,
|
||
|
|
|
||
|
|
// Thermalcraft gears
|
||
|
|
// <thermalfoundation:material:22>,
|
||
|
|
// <thermalfoundation:material:23>,
|
||
|
|
<thermalfoundation:material:24>,
|
||
|
|
<thermalfoundation:material:25>,
|
||
|
|
<thermalfoundation:material:26>,
|
||
|
|
<thermalfoundation:material:27>,
|
||
|
|
<thermalfoundation:material:256>,
|
||
|
|
<thermalfoundation:material:257>,
|
||
|
|
<thermalfoundation:material:258>,
|
||
|
|
<thermalfoundation:material:259>,
|
||
|
|
<thermalfoundation:material:260>,
|
||
|
|
<thermalfoundation:material:261>,
|
||
|
|
<thermalfoundation:material:262>,
|
||
|
|
<thermalfoundation:material:263>,
|
||
|
|
<thermalfoundation:material:264>,
|
||
|
|
<thermalfoundation:material:288>,
|
||
|
|
<thermalfoundation:material:289>,
|
||
|
|
<thermalfoundation:material:290>,
|
||
|
|
<thermalfoundation:material:291>,
|
||
|
|
<thermalfoundation:material:292>,
|
||
|
|
<thermalfoundation:material:293>,
|
||
|
|
<thermalfoundation:material:294>,
|
||
|
|
<thermalfoundation:material:295>,
|
||
|
|
|
||
|
|
// Chisel
|
||
|
|
<chisel:chisel_iron>,
|
||
|
|
<chisel:chisel_diamond>,
|
||
|
|
<chisel:chisel_hitech>,
|
||
|
|
|
||
|
|
// Ice and fire
|
||
|
|
<iceandfire:silver_sword>,
|
||
|
|
<iceandfire:silver_shovel>,
|
||
|
|
<iceandfire:silver_pickaxe>,
|
||
|
|
<iceandfire:silver_axe>,
|
||
|
|
<iceandfire:silver_hoe>,
|
||
|
|
|
||
|
|
<iceandfire:armor_silver_metal_helmet>,
|
||
|
|
<iceandfire:armor_silver_metal_chestplate>,
|
||
|
|
<iceandfire:armor_silver_metal_leggings>,
|
||
|
|
<iceandfire:armor_silver_metal_boots>,
|
||
|
|
|
||
|
|
<iceandfire:silver_ingot>,
|
||
|
|
<iceandfire:silver_nugget>,
|
||
|
|
<iceandfire:silver_block>,
|
||
|
|
] as IIngredient[];
|
||
|
|
|
||
|
|
for item in banned_items {
|
||
|
|
mods.jei.JEI.removeAndHide(item);
|
||
|
|
}
|
||
|
|
|
||
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
|
||
|
|
furnace.remove(<minecraft:iron_ingot>, <minecraft:iron_ore>);
|
||
|
|
furnace.remove(<minecraft:gold_ingot>, <minecraft:gold_ore>);
|
||
|
|
|
||
|
|
furnace.remove(<thermalfoundation:material:136>, <thermalfoundation:ore:8>);
|
||
|
|
furnace.remove(<thermalfoundation:material:135>, <thermalfoundation:ore:7>);
|
||
|
|
furnace.remove(<thermalfoundation:material:134>, <thermalfoundation:ore:6>);
|
||
|
|
furnace.remove(<thermalfoundation:material:133>, <thermalfoundation:ore:5>);
|
||
|
|
furnace.remove(<thermalfoundation:material:132>, <thermalfoundation:ore:4>);
|
||
|
|
furnace.remove(<thermalfoundation:material:129>, <thermalfoundation:ore:1>);
|
||
|
|
furnace.remove(<thermalfoundation:material:130>, <thermalfoundation:ore:2>);
|
||
|
|
furnace.remove(<thermalfoundation:material:131>, <thermalfoundation:ore:3>);
|
||
|
|
furnace.remove(<thermalfoundation:material:128>, <thermalfoundation:ore>);
|
||
|
|
furnace.remove(<iceandfire:silver_ingot>, <iceandfire:silver_ore>);
|
||
|
|
|
||
|
|
furnace.remove(<tconstruct:ingots>, <tconstruct:ore>);
|
||
|
|
furnace.remove(<tconstruct:ingots:1>, <tconstruct:ore:1>);
|
||
|
|
|
||
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
|
||
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
|
||
|
|
var stick = <ore:stickWood>;
|
||
|
|
var paper = <ore:paper>;
|
||
|
|
var _string = <ore:string>;
|
||
|
|
var wool = <ore:wool>;
|
||
|
|
var iron = <ore:ingotIron>;
|
||
|
|
var redstone = <ore:dustRedstone>;
|
||
|
|
var redstone_block = <ore:blockRedstone>;
|
||
|
|
|
||
|
|
var bronze_kblade = <tconstruct:knife_blade>.withTag({Material: "bronze"});
|
||
|
|
var copper_kblade = <tconstruct:knife_blade>.withTag({Material: "copper"});
|
||
|
|
var iron_kblade = <tconstruct:knife_blade>.withTag({Material: "iron"});
|
||
|
|
var steel_kblade = <tconstruct:knife_blade>.withTag({Material: "steel"});
|
||
|
|
var gold_kblade = <tconstruct:knife_blade>.withTag({Material: "gold"});
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
// No tree punching - knives
|
||
|
|
recipes.remove(<notreepunching:knife/iron>);
|
||
|
|
recipes.addShaped("ntp_knife_iron", <notreepunching:knife/iron>, [
|
||
|
|
[iron_kblade],
|
||
|
|
[stick],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:knife/gold>);
|
||
|
|
recipes.addShaped("ntp_knife_gold", <notreepunching:knife/gold>, [
|
||
|
|
[gold_kblade],
|
||
|
|
[stick],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:knife/copper>);
|
||
|
|
recipes.addShaped("ntp_knife_copper", <notreepunching:knife/copper>, [
|
||
|
|
[copper_kblade],
|
||
|
|
[stick],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:knife/bronze>);
|
||
|
|
recipes.addShaped("ntp_knife_bronze", <notreepunching:knife/bronze>, [
|
||
|
|
[bronze_kblade],
|
||
|
|
[stick],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:knife/steel>);
|
||
|
|
recipes.addShaped("ntp_knife_steel", <notreepunching:knife/steel>, [
|
||
|
|
[steel_kblade],
|
||
|
|
[stick],
|
||
|
|
]);
|
||
|
|
|
||
|
|
|
||
|
|
// No tree punching - saws
|
||
|
|
recipes.remove(<notreepunching:saw/iron>);
|
||
|
|
recipes.addShaped("ntp_saw_iron", <notreepunching:saw/iron>, [
|
||
|
|
[null, null, stick],
|
||
|
|
[null, stick, iron_kblade],
|
||
|
|
[stick, iron_kblade, null],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:saw/gold>);
|
||
|
|
recipes.addShaped("ntp_saw_gold", <notreepunching:saw/gold>, [
|
||
|
|
[null, null, stick],
|
||
|
|
[null, stick, gold_kblade],
|
||
|
|
[stick, gold_kblade, null],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:saw/copper>);
|
||
|
|
recipes.addShaped("ntp_saw_copper", <notreepunching:saw/copper>, [
|
||
|
|
[null, null, stick],
|
||
|
|
[null, stick, copper_kblade],
|
||
|
|
[stick, copper_kblade, null],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:saw/bronze>);
|
||
|
|
recipes.addShaped("ntp_saw_bronze", <notreepunching:saw/bronze>, [
|
||
|
|
[null, null, stick],
|
||
|
|
[null, stick, bronze_kblade],
|
||
|
|
[stick, bronze_kblade, null],
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<notreepunching:saw/steel>);
|
||
|
|
recipes.addShaped("ntp_saw_steel", <notreepunching:saw/steel>, [
|
||
|
|
[null, null, stick],
|
||
|
|
[null, stick, steel_kblade],
|
||
|
|
[stick, steel_kblade, null],
|
||
|
|
]);
|
||
|
|
|
||
|
|
// First aid
|
||
|
|
recipes.remove(<firstaid:plaster>);
|
||
|
|
recipes.addShaped("fa_plaster", <firstaid:plaster>, [
|
||
|
|
[paper, _string]
|
||
|
|
]);
|
||
|
|
|
||
|
|
recipes.remove(<firstaid:bandage>);
|
||
|
|
recipes.addShaped("fa_bandage", <firstaid:bandage>, [
|
||
|
|
[_string, wool, _string]
|
||
|
|
]);
|
||
|
|
|
||
|
|
|
||
|
|
// Gears
|
||
|
|
mods.tconstruct.Casting.addTableRecipe(<tconstruct:cast_custom:4>, <ore:gearWood>, <liquid:gold>, 288, true);
|
||
|
|
mods.tconstruct.Casting.addTableRecipe(<tconstruct:cast_custom:4>, <ore:gearStone>, <liquid:gold>, 288, true);
|
||
|
|
|
||
|
|
mods.tconstruct.Casting.addTableRecipe(<tconstruct:cast_custom:4>, <ore:gearWood>, <liquid:alubrass>, 288, true);
|
||
|
|
mods.tconstruct.Casting.addTableRecipe(<tconstruct:cast_custom:4>, <ore:gearStone>, <liquid:alubrass>, 288, true);
|
||
|
|
|
||
|
|
|
||
|
|
// TIS-3D
|
||
|
|
recipes.remove(<tis3d:controller>);
|
||
|
|
recipes.addShaped("tis3d_controller", <tis3d:controller>, [
|
||
|
|
[iron, redstone, iron],
|
||
|
|
[redstone, redstone_block, redstone],
|
||
|
|
[iron, redstone, iron],
|
||
|
|
]);
|