Updated Addons (markdown)

IntegratedQuantum 2020-05-23 12:56:27 +02:00
parent a747fd26c6
commit 82dd579069

@ -12,10 +12,10 @@ Here you can find an instruction on how to make addon files. At the end of this
5. Check the following examples on how to fill the file:
#### Items
There is not much to do here. All you can do is add a texture path. There will come more possibilities in later versions, if requested.
<br> Put the texture of your item in `*cubyz install path*/assets/*addon name*/textures/items`.
<br> Copy the texture path(relative to the `…/assets/…/items` folder) into the file you made for your item:<br>
<br> Put the texture of your item in `*cubyz install path*/addons/*addon name*/items/textures`.
<br> Copy the texture path(relative to the `textures` folder) into the file you made for your item:<br>
```
texture *path to texture*/*name of file*.png
texture *relative path to texture*/*name of file*.png
```
If no path or an invalid path is specified the texture will default to no texture.
@ -40,9 +40,9 @@ Syntax example: `drop auto`(to auto-generate the drop with the same name as the
- a 3d model<br>
Default value: `undefined`<br>
Syntax example: `model cubyz:block.obj`
- a texture for that 3d model.<br>
- a texture for that 3d model. The texture should be inside `addons/*addon name*/blocks/textures`.<br>
Default value: `undefined`<br>
Syntax example: `texture cubyz:blocks/cactus` if the texture is in `cubyz install path/assets/cubyz/textures/blocks/cactus.png`
Syntax example: `texture cubyz:cactus` if the texture is in `*cubyz install path*/addons/cubyz/blocks/textures/cactus.png`
- wether the block is transparent.<br>
Default value: `no`<br>
Syntax example: `transparent yes`
@ -85,7 +85,7 @@ size 15
height 128
drop cubyz:coal
model cubyz:block.obj
texture cubyz:blocks/coal_ore
texture cubyz:coal_ore
```
#### Recipes