MineClone2/mods/ITEMS/mcl_mud/init.lua

24 lines
790 B
Lua

local S = minetest.get_translator(minetest.get_current_modname())
minetest.register_node("mcl_mud:mud", {
description = S("Mud"),
_doc_items_longdesc = S("Mud is a decorative block that generates in mangrove swamps. Mud can also be obtained by using water bottles on dirt or coarse dirt."),
_doc_items_hidden = false,
tiles = {"mcl_mud.png"},
is_ground_content = true,
sounds = {
footstep = {name="mud_footsteps", gain=1},
dug = {name="mud_place_dug", gain=1},
place = {name="mud_place_dug", gain=1},
},
groups = {handy=1, shovely=1, enderman_takable=1, grass_block=1, soil_sugarcane=1, building_block=1},
_mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5,
collision_box = {
type = "fixed",
fixed = {
{-8 / 16, -8 / 16, -8 / 16, 8 / 16, 6 / 16, 8 / 16},
},
},
})