ModTweaker/test_scripts/bwm.zs
BordListian 5b40803ed5 BWM Integration Update (#627)
* - Adds Bellows support
- Adds HCFurnace support
- Adds Filtered Hopper support
- Readds removal by input for block-based recipes
- Fixes busted Turntable removal by adding a removal method that takes the output blockstate
- Succes's'fully
- Updates test script

* - Exposes BlockDrop ingredients for Block Recipes

* - Yeah uhhhh properly implements recipe info

* - Copy back test script
- Move build method annotation to the superclass
- Make builder method return itself
2018-04-24 17:06:27 +02:00

101 lines
No EOL
3.3 KiB
Text

//Anvil
mods.betterwithmods.Anvil.addShaped(<minecraft:dirt>, [
[<minecraft:stone>,<minecraft:stone:2>,<minecraft:stone:2>,<minecraft:stone>],
[<minecraft:stone:1>,<minecraft:stone>,<minecraft:stone>,<minecraft:stone:1>],
[<minecraft:stone:1>,<minecraft:stone>,<minecraft:stone>,<minecraft:stone:1>],
[<minecraft:stone>,<minecraft:stone>,<minecraft:stone>,<minecraft:stone>]
]);
mods.betterwithmods.Anvil.addShaped(<minecraft:dirt>, [
[<minecraft:stone>,<minecraft:stone:2>,<minecraft:stone:2>,<minecraft:stone>],
[<minecraft:stone:1>,null,null,<minecraft:stone:1>],
[<minecraft:stone:1>,null,null,<minecraft:stone:1>],
[<minecraft:stone>,<minecraft:stone>,<minecraft:stone>,<minecraft:stone>]
]);
mods.betterwithmods.Anvil.addShaped(<minecraft:dirt>, [
[<minecraft:stone>,<minecraft:stone:2>,<minecraft:stone>],
[<minecraft:stone:1>,null,<minecraft:stone:1>],
[<minecraft:stone:1>,null,<minecraft:stone:1>],
[<minecraft:stone>,<minecraft:stone>,<minecraft:stone>]
]);
//Cauldron
mods.betterwithmods.Cauldron.removeAll();
mods.betterwithmods.Cauldron.builder()
.buildRecipe([<ore:stone>], [<minecraft:dirt>])
.setHeat(2)
.setPriority(-1)
.build();
mods.betterwithmods.Cauldron.builder()
.buildRecipe([<minecraft:grass>*2], [<minecraft:dirt>])
.setHeat(2)
.setPriority(-1)
.build();
//Crucible
mods.betterwithmods.Crucible.builder()
.buildRecipe([<ore:stone>], [<minecraft:dirt>])
.setHeat(2)
.setPriority(-1)
.build();
//Mill
mods.betterwithmods.Mill.builder()
.buildRecipe([<minecraft:dirt>], [<minecraft:stone>])
.setGrindType("minecraft:entity.ghast.scream")
.build();
mods.betterwithmods.Mill.builder()
.buildRecipe([<ore:stone>*64], [<minecraft:bedrock>])
.setGrindType("entity.wither.break_block")
.build();
//Saw
mods.betterwithmods.Saw.remove(<minecraft:vine>);
mods.betterwithmods.Saw.builder()
.buildRecipe(<minecraft:fence>, [<minecraft:stick>*6])
.build();
mods.betterwithmods.Saw.builder()
.buildRecipe(<minecraft:torch>, [<minecraft:stick>])
.setInputBlockDrop(<minecraft:torch>)
.build();
//Turntable
mods.betterwithmods.Turntable.remove(<betterwithmods:unfired_pottery:3>);
mods.betterwithmods.Turntable.add(<minecraft:grass>, <minecraft:dirt>, [<minecraft:wheat_seeds>]);
mods.betterwithmods.Turntable.add(<minecraft:gravel>, [<minecraft:flint>]);
//Kiln
mods.betterwithmods.Kiln.builder()
.buildRecipe(<minecraft:iron_block>, [<minecraft:iron_ingot>*9])
.setHeat(2)
.build();
//Mini Block
recipes.addShaped("siding_test", <minecraft:planks>,[[mods.betterwithmods.MiniBlocks.getMiniBlock("siding", <minecraft:bookshelf>)]]);
//Hopper
mods.betterwithmods.FilteredHopper.addFilter("dumb",<minecraft:planks>);
mods.betterwithmods.FilteredHopper.addFilteredItem("dumb",<minecraft:dirt>);
mods.betterwithmods.FilteredHopper.addFilteredItem("dumb",<minecraft:flint>);
mods.betterwithmods.FilteredHopper.addFilterRecipe("dumb",<minecraft:grass>,[<minecraft:flint>],[<minecraft:diamond>*9]);
mods.betterwithmods.FilteredHopper.addSoulUrnRecipe(<minecraft:stone>,[],[<minecraft:diamond>*9]);
mods.betterwithmods.FilteredHopper.clearFilter("betterwithmods:wicker");
mods.betterwithmods.FilteredHopper.removeRecipe([<minecraft:sand>,<minecraft:sand:1>],[<minecraft:flint>]);
mods.betterwithmods.FilteredHopper.removeRecipeByInput(<minecraft:sand>);
//Misc
mods.betterwithmods.Misc.setFurnaceSmeltingTime(<minecraft:potato>,100000);