Update README + API

此提交包含在:
Jean-Patrick Guerrero
2019-10-04 00:29:42 +02:00
父節點 16ceea1aaf
當前提交 a77fbb0cf5
共有 2 個檔案被更改,包括 1 行新增12 行删除

11
API.md
查看文件

@@ -168,14 +168,3 @@ You can add a stereotype like so:
```Lua
craftguide.group_stereotypes.radioactive = "mod:item"
```
#### `craftguide.background`
You can set a custom background theme by overriding this variable:
```Lua
craftguide.background = "<file_name.png>#<middle>"
```
`middle` (number) refers to a 9-sliced background. Read the engine's Lua API documentation for more info.

查看文件

@@ -19,4 +19,4 @@ For developers, `craftguide` also has a [modding API](https://github.com/minetes
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
![Preview2](https://i.imgur.com/IbexMwQ.png)
![Preview2](https://i.imgur.com/GVQvufb.png)