Aide:Recettes Minecraft
Utilisation
Pour avoir un rendu des recettes minecraft nous utilisons l'extension MCRecipe pour Mediawiki
Type de recettes
MCRecipe now provides three types of craft recipes: shaped recipes, shapeless recipes, and smelting recipes. They can be insert into wiki by this format:
{{#recipe: <type de recette>| <item>| <recette input>| <recette output> }}
Le type de recette peut être: "craft", "craft shapeless", ou "smelt".
La base de données des items consiste en une liste d'items. Chaque item et leur informations doivent être entourés par des parenthèses, sans espace entre chaque item.
- Un item dans la base de données -
(<lien de l'item>[,<nom de l'item>[,<image de l'item>]])
- Exemple -
(Iron_Ingot)(Gold_Ingot,Gold Ingot,GoldIngot.png)(Coal,Charcoal,Charcoal.png)
- Vous pouvez utiliser un lien externe en utilisant des crochets
Recipe input is a list of input item of a recipe. For crafting recipe, there's 9 inputs separated by "|". Each input is a index to the item database. An input can also be a array of indexes, which makes an animated crafting slot.
Recipe output shares the same format as each recipe input.
Here's some input/output examples:
-1 # Empty slot
0 # Load first item of the database
[0,1] # Repeatly show first and second items of the database
[-1,0]
{index:0,number:8} # 8x the first item
{index:0,number:0.5} # First item with half damaged
[{index:0,number:3},0]
Here's some full examples of a crafting recipe:
{{#recipe:craft |(Iron_Ingot)(Stick)(Iron_Sword) |-1| 0|-1 |-1| 0|-1 |-1| 1|-1 |2 }}
- donne
{{#recipe:craft |(Iron_Ingot)(Stick)(Iron_Sword) |-1| 0|-1 |-1| 0|-1 |-1| 1|-1 |2 }}
{{#recipe:craft
|(Oak_Planks)(Birch_Planks)(Stick)
|-1|-1|-1
|-1|[0,1]|-1
|-1|[0,1]|-1
|{index:2,number:4}
}}
- donne
{{#recipe:craft shapeless| (mcwiki:Paper,Paper,Paper.png) (Sulfur) (Fu_Paper,Fu Paper,FuPaper.png) |0|[-1,0,0]|[-1,-1,0] |1 |[2,{index:2,number:2},{index:2,number:3}] }}