<commit_before># Grindstone

You can use CrT to add or remove recipes form the AS grindstone.

## Calling

You can call the InfusionRecipe package using `mods.astralsorcery.Grindstone`.

## Removing

This will remove the first grinding recipe it finds that creates the provided [IItemStack](/Vanilla/Items/IItemStack/) `output`.  
If there are multiple recipes that return the provided output, you need to call this method multiple times!

```JAVA
//mods.astralsorcery.Grindstone.removeRecipe(IItemStack output);
mods.astralsorcery.Grindstone.removeRecipe(<minecraft:redstone>);
```

## Addition

```JAVA
//mods.astralsorcery.Grindstone.addRecipe(IItemStack input, IItemStack output);
mods.astralsorcery.Grindstone.addRecipe(<minecraft:stone>, <minecraft:gravel>);

//mods.astralsorcery.Grindstone.addRecipe(IItemStack input, IItemStack output, float doubleChance);
mods.astralsorcery.Grindstone.addRecipe(<minecraft:cobblestone>, <minecraft:gravel>, 0.5f);
```<commit_msg>New translations Grindstone.md (Chinese Simplified) [ci skip]<commit_after># 砂轮（Grindstone）

你可以使用 CrT 添加或移除星辉魔法砂轮的配方。

## 导入

使用`mods.astralsorcery.Grindstone`以导入砂轮配方相关包。

## 移除配方

这个方法移除第一个`输出`为传入的物品堆[（IItemStack）](/Vanilla/Items/IItemStack/)的砂轮配方。   
如果有多个配方可以合成传入的物品，你需要多次使用这个方法。

```JAVA
//mods.astralsorcery.Grindstone.removeRecipe(IItemStack output);
//output 输出
mods.astralsorcery.Grindstone.removeRecipe(<minecraft:redstone>);
```

## 添加配方

```JAVA
//mods.astralsorcery.Grindstone.addRecipe(IItemStack input, IItemStack output);
//input 输入
//output 输出
mods.astralsorcery.Grindstone.addRecipe(<minecraft:stone>, <minecraft:gravel>);

//mods.astralsorcery.Grindstone.addRecipe(IItemStack input, IItemStack output, float doubleChance);
//input 输入
//output 输出
//doubleChance 两倍产物概率
mods.astralsorcery.Grindstone.addRecipe(<minecraft:cobblestone>, <minecraft:gravel>, 0.5f);
```
{'fraction_non_alphanumeric': 0.12452830188679245, 'fraction_numerical': 0.00215633423180593, 'mean_word_length': 6.798319327731092, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4370131', 'n_tokens_mistral': 755, 'n_tokens_neox': 768, 'n_words': 128}