From 82dd579069740651f45d87083c04ab12f5fc5d1a Mon Sep 17 00:00:00 2001 From: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com> Date: Sat, 23 May 2020 12:56:27 +0200 Subject: [PATCH] Updated Addons (markdown) --- Addons.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Addons.md b/Addons.md index 7546a14..e27e117 100644 --- a/Addons.md +++ b/Addons.md @@ -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. -
Put the texture of your item in `*cubyz install path*/assets/*addon name*/textures/items`. -
Copy the texture path(relative to the `…/assets/…/items` folder) into the file you made for your item:
+
Put the texture of your item in `*cubyz install path*/addons/*addon name*/items/textures`. +
Copy the texture path(relative to the `textures` folder) into the file you made for your item:
``` -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
Default value: `undefined`
Syntax example: `model cubyz:block.obj` -- a texture for that 3d model.
+- a texture for that 3d model. The texture should be inside `addons/*addon name*/blocks/textures`.
Default value: `undefined`
-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.
Default value: `no`
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