We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aee82ca commit 988fe53Copy full SHA for 988fe53
docs/lua-api-block.md
@@ -75,6 +75,19 @@ id = "cobblestone"
75
76
IDs are usually of the form `mod:block` but the `mod:` prefix is prepended automatically so it's not needed.
77
78
+### `inventory_image`
79
+
80
+Texture used for inventory rendering.
81
82
+Example:
83
+```lua
84
+inventory_image = "cobblestone_item.png"
85
+```
86
87
+If you set this parameter the block will be displayed as an item in the inventory using this texture.
88
89
+The texture is loaded from `mods/<your-mod>/textures/items/`.
90
91
### `is_light_source`
92
93
Defines if the block is the light source or not.
0 commit comments