-- Nest of Leaves: -- Copyright Duane Robertson (duane@duanerobertson.com), 2017 -- Distributed under the LGPLv2.1 -- https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html if type (beds) == "table" and (beds.register_bed ~= nil) then beds.register_bed("coderblocks:nest_leaves", { description = "Nest of Leaves", tiles = { bottom = {"default_leaves.png^[noalpha"}, top = {"default_leaves.png^[noalpha"}, }, inventory_image = "default_leaves.png", wield_image = "default_leaves.png", nodebox = { bottom = {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5}, top = {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5}, }, selectionbox = {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5}, -- RJK: Original 2x2 recipe conflicted with a recipe for: -- christmas_craft:christmas_leaves 4 -- recipe = { {'default:leaves', 'default:leaves', '' } , {'default:leaves', 'default:leaves', 'default:leaves' } , }, }) beds.register_bed("coderblocks:stone_bed", { description = "Stone Bed", tiles = { bottom = {"default_stone.png^[noalpha"}, top = {"default_stone.png^[noalpha"}, }, inventory_image = "default_stone.png", wield_image = "default_stone.png", nodebox = { bottom = {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5}, top = {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5}, }, selectionbox = {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5}, recipe = { {'default:stone', 'default:stone', '' } , {'default:stone', 'default:stone', 'default:stone' } , }, }) end