mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
missing the array whoops
This commit is contained in:
parent
c21afadced
commit
63643b3b2a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ __The replacement recipe that is added for any given item inside of Nature's Aur
|
||||||
As an example, the following piece of code will remove the existing recipe of the Imperceptible Builder and replace it with a new one. Checking its Book of Natural Aura entry will then also display the new recipe correctly without errors.
|
As an example, the following piece of code will remove the existing recipe of the Imperceptible Builder and replace it with a new one. Checking its Book of Natural Aura entry will then also display the new recipe correctly without errors.
|
||||||
```
|
```
|
||||||
recipes.remove(<naturesaura:placer>);
|
recipes.remove(<naturesaura:placer>);
|
||||||
recipes.addShapeless("placer", <naturesaura:placer>, <naturesaura:infused_iron>, <minecraft:piston>);
|
recipes.addShapeless("placer", <naturesaura:placer>, [<naturesaura:infused_iron>, <minecraft:piston>]);
|
||||||
```
|
```
|
||||||
Note that the name of the recipe is supplied as `placer` because the item id of the Imperceptible Builder is `naturesaura:placer`. Not doing this would lead to the Book of Natural Aura not displaying the new recipe.
|
Note that the name of the recipe is supplied as `placer` because the item id of the Imperceptible Builder is `naturesaura:placer`. Not doing this would lead to the Book of Natural Aura not displaying the new recipe.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue