Atticool

Untitled

Sep 6th, 2022
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. #priority 10
  2. #loader gregtech
  3. import mods.gregtech.machine.MachineBuilder;
  4. import mods.gregtech.recipe.RecipeMapBuilder;
  5. import mods.gregtech.recipe.RecipeMaps;
  6. import mods.gregtech.recipe.RecipeMap;
  7. import mods.gregtech.material.MaterialStack;
  8. import mods.gregtech.material.Material;
  9. import mods.gregtech.material.MaterialRegistry;
  10. import mods.gregtech.StoneType;
  11. import mods.gregtech.material.MaterialBuilder;
  12. import mods.gregtech.ore.OrePrefix;
  13. import mods.gregtech.material.IMaterialPredicate;
  14. import mods.gregtech.MaterialFlag;
  15. import mods.gregtech.MaterialFlagBuilder;
  16.  
  17. //Machine Init
  18. val equivalentExchangerRecipes as RecipeMap = RecipeMapBuilder.create("equivalent_exchanger")
  19. .setInputs(3)
  20. .setOutputs(1)
  21. /*.setHidden(false)
  22. .setDurationBar()*/
  23. .setFluidInputs(1)
  24. .setFluidOutputs(1)
  25. .build();
  26.  
  27. MachineBuilder.create(32015, "equivalent_exchanger")
  28. .setRecipeMap(equivalentExchangerRecipes)
  29. .setRenderer("machines/extruder")
  30. .addTierRange(1, 8)
  31. .buildAndRegister();
  32.  
  33.  
  34. //Recipe Script
  35. <recipemap:equivalent_exchanger>.recipeBuilder().inputs([<contenttweaker:matter_dough>*1])
  36. .notConsumable([<contenttweaker:pattern_ingot>]).circuit(0)
  37. .outputs([<tconstruct:ingots>*1])
  38. .duration(80).EUt(20).buildAndRegister();
Advertisement
Add Comment
Please, Sign In to add comment