This page relates to Thermal Expansion, which has built-in support!
Pulverizer
Link to pulverizer
Methoden
Link to methoden
Rezept hinzufügen
Link to rezept-hinzufügen
The following script will add a recipe that will output a Bone 100% of the time by Pulverizing a Bone Block, creating 2 EXP and consuming 500 RF.
ZenScript Copy// <recipetype:thermal:pulverizer>.addRecipe(String name, MCWeightedItemStack[] outputs, IIngredient ingredient, float experience, int energy);
<recipetype:thermal:pulverizer>.addRecipe("pulverizer_test", [<item:minecraft:bone> % 100] , <item:minecraft:bone_block>, 2, 500);
Remove Recipes
Link to remove-recipes
The following script will remove all Pulverizer recipes that output Sand and Flint.
ZenScript Copy// <recipetype:thermal:pulverizer>.removeRecipe(IItemStack... output);
<recipetype:thermal:pulverizer>.removeRecipe([<item:minecraft:sand>, <item:minecraft:flint>]);
Catalysts
Link to catalysts
Add Catalyst
Link to add-catalyst
The following script will add Cookies as a Pulverizer Catalyst with 5x Primary Modifier, 5x Auxiliary Modifier, 0x Energy Modifier, 0.1x Minimum Chance, and 30x Use Chance.
ZenScript Copy// <recipetype:thermal:pulverizer_catalyst>.addCatalyst(String name, IIngredient ingredient, float primaryMod, float secondaryMod, float energyMod, float minChance, float useChance);
<recipetype:thermal:pulverizer_catalyst>.addCatalyst("pulverizer_catalyst_test", <item:minecraft:cookie>, 5,5, 0, 0.1, 30);
Remove Catalyst
Link to remove-catalyst
The following script will remove Flint as a Pulverizer Catalyst.
ZenScript Copy// <recipetype:thermal:pulverizer_catalyst>.removeCatalyst(IItemStack input);
<recipetype:thermal:pulverizer_catalyst>.removeCatalyst(<item:minecraft:flint>);