Skip to content
/ slats Public
forked from v-rob/slats

Adds decorative slats that have a lot of uses

License

Notifications You must be signed in to change notification settings

mt-mods/slats

 
 

Repository files navigation

slats

License Download

Overview

Adds decorative slats that have a lot of uses

Api

Modding api

slats.register_slat(subname, recipeitem, groups, image, description, sounds)

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
})

License

  • Code: MIT
  • Textures: CC BY-SA 3.0

About

Adds decorative slats that have a lot of uses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%