+ selection_box = xdecor.nodebox.slab_y(0.3),
+ collision_box = xdecor.pixelbox(2, {{0, 0, 1, 2, 2, 0}})
+})
+
+xdecor.register("barrel", {
+ description = "Barrel",
+ tiles = {"xdecor_barrel_top.png", "xdecor_barrel_top.png", "xdecor_barrel_sides.png"},
+ on_place = minetest.rotate_node,
+ groups = {choppy=2, oddly_breakable_by_hand=1, flammable=2},
+ sounds = default.node_sound_wood_defaults()