Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 917 Bytes

readme.md

File metadata and controls

35 lines (23 loc) · 917 Bytes

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