mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-24 03:51:44 -04:00
Updated Addons (markdown)
parent
a747fd26c6
commit
82dd579069
12
Addons.md
12
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:
|
5. Check the following examples on how to fill the file:
|
||||||
#### Items
|
#### 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.
|
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> Put the texture of your item in `*cubyz install path*/addons/*addon name*/items/textures`.
|
||||||
<br> Copy the texture path(relative to the `…/assets/…/items` folder) into the file you made for your item:<br>
|
<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.
|
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>
|
- a 3d model<br>
|
||||||
Default value: `undefined`<br>
|
Default value: `undefined`<br>
|
||||||
Syntax example: `model cubyz:block.obj`
|
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>
|
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>
|
- wether the block is transparent.<br>
|
||||||
Default value: `no`<br>
|
Default value: `no`<br>
|
||||||
Syntax example: `transparent yes`
|
Syntax example: `transparent yes`
|
||||||
@ -85,7 +85,7 @@ size 15
|
|||||||
height 128
|
height 128
|
||||||
drop cubyz:coal
|
drop cubyz:coal
|
||||||
model cubyz:block.obj
|
model cubyz:block.obj
|
||||||
texture cubyz:blocks/coal_ore
|
texture cubyz:coal_ore
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Recipes
|
#### Recipes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user