slats
Adds decorative slats that have a lot of uses
Modding api
Example: stone block registration from the default
mod:
slats.register("stone_block", {
base_texture = "default_stone_block.png", -- manadatory
recipeitem = "default:stone_block", -- optional, can be nil
groups = {cracky = 2}, -- optional, can be nil
description = "Stone Block Slat", -- optional
sounds = default.node_sound_stone_defaults() -- optional
})
- Code:
MIT
- Textures:
CC BY-SA 3.0