Merge pull request 'Replace bed nodeboxes with meshes' (#2722) from talamh/MineClone2:bed_mesh into master
Reviewed-on: MineClone2/MineClone2#2722
|
@ -221,7 +221,7 @@ awards.register_achievement("mcl:postMortal", {
|
||||||
awards.register_achievement("mcl:sweetDreams", {
|
awards.register_achievement("mcl:sweetDreams", {
|
||||||
title = S("Sweet Dreams"),
|
title = S("Sweet Dreams"),
|
||||||
description = S("Sleep in a bed to change your respawn point."),
|
description = S("Sleep in a bed to change your respawn point."),
|
||||||
icon = "mcl_beds_bed_red.png",
|
icon = "mcl_beds_bed_red_inv.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("mcl:notQuiteNineLives", {
|
awards.register_achievement("mcl:notQuiteNineLives", {
|
||||||
|
|
|
@ -129,27 +129,24 @@ if minetest.get_modpath("mcl_sounds") then
|
||||||
end
|
end
|
||||||
|
|
||||||
function mcl_beds.register_bed(name, def)
|
function mcl_beds.register_bed(name, def)
|
||||||
local node_box_bottom, selection_box_bottom, collision_box_bottom
|
local common_box = {
|
||||||
if def.nodebox and def.nodebox.bottom then
|
type = "fixed",
|
||||||
node_box_bottom = { type = "fixed", fixed = def.nodebox.bottom }
|
fixed = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||||
end
|
}
|
||||||
if def.selectionbox and def.selectionbox.bottom then
|
|
||||||
selection_box_bottom = { type = "fixed", fixed = def.selectionbox.bottom }
|
|
||||||
end
|
|
||||||
if def.collisionbox and def.collisionbox.bottom then
|
|
||||||
collision_box_bottom = { type = "fixed", fixed = def.collisionbox.bottom }
|
|
||||||
end
|
|
||||||
minetest.register_node(name .. "_bottom", {
|
minetest.register_node(name .. "_bottom", {
|
||||||
description = def.description,
|
description = def.description,
|
||||||
_tt_help = S("Allows you to sleep"),
|
_tt_help = S("Allows you to sleep"),
|
||||||
|
|
||||||
_doc_items_longdesc = def._doc_items_longdesc or beddesc,
|
_doc_items_longdesc = def._doc_items_longdesc or beddesc,
|
||||||
_doc_items_usagehelp = def._doc_items_usagehelp or beduse,
|
_doc_items_usagehelp = def._doc_items_usagehelp or beduse,
|
||||||
_doc_items_create_entry = def._doc_items_create_entry,
|
_doc_items_create_entry = def._doc_items_create_entry,
|
||||||
_doc_items_entry_name = def._doc_items_entry_name,
|
_doc_items_entry_name = def._doc_items_entry_name,
|
||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
wield_image = def.wield_image,
|
wield_image = def.wield_image,
|
||||||
drawtype = "nodebox",
|
drawtype = "mesh",
|
||||||
tiles = def.tiles.bottom,
|
mesh = "mcl_beds_bed_bottom.obj",
|
||||||
|
tiles = def.tiles,
|
||||||
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -159,11 +156,11 @@ function mcl_beds.register_bed(name, def)
|
||||||
_mcl_hardness = 0.2,
|
_mcl_hardness = 0.2,
|
||||||
_mcl_blast_resistance = 1,
|
_mcl_blast_resistance = 1,
|
||||||
sounds = def.sounds or default_sounds,
|
sounds = def.sounds or default_sounds,
|
||||||
node_box = node_box_bottom,
|
selection_box = common_box,
|
||||||
selection_box = selection_box_bottom,
|
collision_box = common_box,
|
||||||
collision_box = collision_box_bottom,
|
|
||||||
drop = "",
|
drop = "",
|
||||||
node_placement_prediction = "",
|
node_placement_prediction = "",
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local under = pointed_thing.under
|
local under = pointed_thing.under
|
||||||
|
|
||||||
|
@ -229,20 +226,12 @@ function mcl_beds.register_bed(name, def)
|
||||||
on_rotate = rotate,
|
on_rotate = rotate,
|
||||||
})
|
})
|
||||||
|
|
||||||
local node_box_top, selection_box_top, collision_box_top
|
|
||||||
if def.nodebox and def.nodebox.top then
|
|
||||||
node_box_top = { type = "fixed", fixed = def.nodebox.top }
|
|
||||||
end
|
|
||||||
if def.selectionbox and def.selectionbox.top then
|
|
||||||
selection_box_top = { type = "fixed", fixed = def.selectionbox.top }
|
|
||||||
end
|
|
||||||
if def.collisionbox and def.collisionbox.top then
|
|
||||||
collision_box_top = { type = "fixed", fixed = def.collisionbox.top }
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_node(name .. "_top", {
|
minetest.register_node(name .. "_top", {
|
||||||
drawtype = "nodebox",
|
drawtype = "mesh",
|
||||||
tiles = def.tiles.top,
|
mesh = "mcl_beds_bed_top.obj",
|
||||||
|
tiles = def.tiles,
|
||||||
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -253,13 +242,14 @@ function mcl_beds.register_bed(name, def)
|
||||||
_mcl_blast_resistance = 1,
|
_mcl_blast_resistance = 1,
|
||||||
sounds = def.sounds or default_sounds,
|
sounds = def.sounds or default_sounds,
|
||||||
drop = "",
|
drop = "",
|
||||||
node_box = node_box_top,
|
selection_box = common_box,
|
||||||
selection_box = selection_box_top,
|
collision_box = common_box,
|
||||||
collision_box = collision_box_top,
|
|
||||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||||
mcl_beds.on_rightclick(pos, clicker, true)
|
mcl_beds.on_rightclick(pos, clicker, true)
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
|
|
||||||
on_rotate = rotate,
|
on_rotate = rotate,
|
||||||
after_destruct = destruct_bed,
|
after_destruct = destruct_bed,
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,18 +1,6 @@
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
local mod_doc = minetest.get_modpath("doc")
|
local mod_doc = minetest.get_modpath("doc")
|
||||||
|
|
||||||
local nodebox = {
|
|
||||||
bottom = {
|
|
||||||
{-0.5, -5/16, -0.5, 0.5, 0.06, 0.5},
|
|
||||||
{-0.5, -0.5, -0.5, -5/16, -5/16, -5/16},
|
|
||||||
{0.5, -0.5, -0.5, 5/16, -5/16, -5/16},
|
|
||||||
},
|
|
||||||
top = {
|
|
||||||
{-0.5, -5/16, -0.5, 0.5, 0.06, 0.5},
|
|
||||||
{-0.5, -0.5, 0.5, -5/16, -5/16, 5/16},
|
|
||||||
{0.5, -0.5, 0.5, 5/16, -5/16, 5/16},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
-- { ID, decription, wool, dye }
|
-- { ID, decription, wool, dye }
|
||||||
|
@ -70,36 +58,13 @@ for c=1, #colors do
|
||||||
description = colors[c][2],
|
description = colors[c][2],
|
||||||
_doc_items_entry_name = entry_name,
|
_doc_items_entry_name = entry_name,
|
||||||
_doc_items_create_entry = create_entry,
|
_doc_items_create_entry = create_entry,
|
||||||
inventory_image = "mcl_beds_bed_"..colorid..".png",
|
inventory_image = "mcl_beds_bed_"..colorid.."_inv.png",
|
||||||
wield_image = "mcl_beds_bed_"..colorid..".png",
|
wield_image = "mcl_beds_bed_"..colorid.."_inv.png",
|
||||||
|
|
||||||
tiles = {
|
tiles = {
|
||||||
bottom = {
|
"mcl_beds_bed_"..colorid..".png"
|
||||||
"mcl_beds_bed_top_bottom_"..colorid..".png^[transformR90",
|
|
||||||
"default_wood.png^mcl_beds_bed_bottom_bottom.png",
|
|
||||||
"mcl_beds_bed_side_bottom_r_"..colorid..".png",
|
|
||||||
"mcl_beds_bed_side_bottom_r_"..colorid..".png^[transformfx",
|
|
||||||
"mcl_beds_bed_side_top_"..colorid..".png",
|
|
||||||
"mcl_beds_bed_side_bottom_"..colorid..".png"
|
|
||||||
},
|
|
||||||
top = {
|
|
||||||
"mcl_beds_bed_top_top_"..colorid..".png^[transformR90",
|
|
||||||
"default_wood.png^mcl_beds_bed_bottom_top.png",
|
|
||||||
"mcl_beds_bed_side_top_r_"..colorid..".png",
|
|
||||||
"mcl_beds_bed_side_top_r_"..colorid..".png^[transformfx",
|
|
||||||
"mcl_beds_bed_side_top_"..colorid..".png",
|
|
||||||
"mcl_beds_bed_side_bottom_"..colorid..".png"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
nodebox = nodebox,
|
|
||||||
selectionbox = {
|
|
||||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
|
||||||
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
|
||||||
},
|
|
||||||
-- Simplified collision box because Minetest acts weird if we use the nodebox one
|
|
||||||
collisionbox = {
|
|
||||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
|
||||||
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
recipe = main_recipe,
|
recipe = main_recipe,
|
||||||
})
|
})
|
||||||
if mod_doc and not is_canonical then
|
if mod_doc and not is_canonical then
|
||||||
|
|
|
@ -0,0 +1,290 @@
|
||||||
|
# Made in Blockbench 3.6.6
|
||||||
|
mtllib mcl_beds_bed_bottom.mtl
|
||||||
|
o cube
|
||||||
|
v 0.5 0.0625 0.5
|
||||||
|
v 0.5 0.0625 -0.5
|
||||||
|
v 0.5 -0.3125 0.5
|
||||||
|
v 0.5 -0.3125 -0.5
|
||||||
|
v -0.5 0.0625 -0.5
|
||||||
|
v -0.5 0.0625 0.5
|
||||||
|
v -0.5 -0.3125 -0.5
|
||||||
|
v -0.5 -0.3125 0.5
|
||||||
|
vt 0.09375 0.5625
|
||||||
|
vt 0 0.5625
|
||||||
|
vt 0.09375 0.3125
|
||||||
|
vt 0 0.5625
|
||||||
|
vt 0 0.3125
|
||||||
|
vt 0.09375 0.3125
|
||||||
|
vt 0.34375 0.3125
|
||||||
|
vt 0.4375 0.3125
|
||||||
|
vt 0.34375 0.5625
|
||||||
|
vt 0.4375 0.3125
|
||||||
|
vt 0.4375 0.5625
|
||||||
|
vt 0.34375 0.5625
|
||||||
|
vt 0.34375 0.3125
|
||||||
|
vt 0.34375 0.5625
|
||||||
|
vt 0.09375 0.3125
|
||||||
|
vt 0.34375 0.5625
|
||||||
|
vt 0.09375 0.5625
|
||||||
|
vt 0.09375 0.3125
|
||||||
|
vt 0.43750000000000006 0.5625
|
||||||
|
vt 0.43750000000000006 0.3125
|
||||||
|
vt 0.6875 0.5625
|
||||||
|
vt 0.43750000000000006 0.3125
|
||||||
|
vt 0.6875 0.3125
|
||||||
|
vt 0.6875 0.5625
|
||||||
|
vt 0 0.015625
|
||||||
|
vt 0 0
|
||||||
|
vt 0.125 0.015625
|
||||||
|
vt 0 0
|
||||||
|
vt 0.125 0
|
||||||
|
vt 0.125 0.015625
|
||||||
|
vt 0.59375 0.5625
|
||||||
|
vt 0.59375 0.65625
|
||||||
|
vt 0.34374999999999994 0.5625
|
||||||
|
vt 0.59375 0.65625
|
||||||
|
vt 0.34374999999999994 0.65625
|
||||||
|
vt 0.34374999999999994 0.5625
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
usemtl m_0
|
||||||
|
f 1/1/1 3/2/2 2/3/3
|
||||||
|
f 3/4/4 4/5/5 2/6/6
|
||||||
|
usemtl m_0
|
||||||
|
f 5/7/7 7/8/8 6/9/9
|
||||||
|
f 7/10/10 8/11/11 6/12/12
|
||||||
|
usemtl m_0
|
||||||
|
f 5/13/13 6/14/14 2/15/15
|
||||||
|
f 6/16/16 1/17/17 2/18/18
|
||||||
|
usemtl m_0
|
||||||
|
f 8/19/19 7/20/20 3/21/21
|
||||||
|
f 7/22/22 4/23/23 3/24/24
|
||||||
|
usemtl m_0
|
||||||
|
f 2/31/31 4/32/32 5/33/33
|
||||||
|
f 4/34/34 7/35/35 5/36/36
|
||||||
|
o cube
|
||||||
|
v -0.3125 -0.3125 -0.3125
|
||||||
|
v -0.3125 -0.3125 -0.5
|
||||||
|
v -0.3125 -0.5 -0.3125
|
||||||
|
v -0.3125 -0.5 -0.5
|
||||||
|
v -0.5 -0.3125 -0.5
|
||||||
|
v -0.5 -0.3125 -0.3125
|
||||||
|
v -0.5 -0.5 -0.5
|
||||||
|
v -0.5 -0.5 -0.3125
|
||||||
|
vt 0.921875 0.671875
|
||||||
|
vt 0.921875 0.625
|
||||||
|
vt 0.96875 0.671875
|
||||||
|
vt 0.921875 0.625
|
||||||
|
vt 0.96875 0.625
|
||||||
|
vt 0.96875 0.671875
|
||||||
|
vt 0.828125 0.765625
|
||||||
|
vt 0.828125 0.71875
|
||||||
|
vt 0.875 0.765625
|
||||||
|
vt 0.828125 0.71875
|
||||||
|
vt 0.875 0.71875
|
||||||
|
vt 0.875 0.765625
|
||||||
|
vt 0.046875 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.921875 0.765625
|
||||||
|
vt 0.921875 0.8125
|
||||||
|
vt 0.875 0.765625
|
||||||
|
vt 0.921875 0.8125
|
||||||
|
vt 0.875 0.8125
|
||||||
|
vt 0.875 0.765625
|
||||||
|
vt 0.875 0.765625
|
||||||
|
vt 0.875 0.71875
|
||||||
|
vt 0.921875 0.765625
|
||||||
|
vt 0.875 0.71875
|
||||||
|
vt 0.921875 0.71875
|
||||||
|
vt 0.921875 0.765625
|
||||||
|
vt 0.78125 0.765625
|
||||||
|
vt 0.78125 0.71875
|
||||||
|
vt 0.828125 0.765625
|
||||||
|
vt 0.78125 0.71875
|
||||||
|
vt 0.828125 0.71875
|
||||||
|
vt 0.828125 0.765625
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
usemtl m_0
|
||||||
|
f 9/37/37 11/38/38 10/39/39
|
||||||
|
f 11/40/40 12/41/41 10/42/42
|
||||||
|
usemtl m_0
|
||||||
|
f 13/43/43 15/44/44 14/45/45
|
||||||
|
f 15/46/46 16/47/47 14/48/48
|
||||||
|
usemtl m_0
|
||||||
|
f 16/55/55 15/56/56 11/57/57
|
||||||
|
f 15/58/58 12/59/59 11/60/60
|
||||||
|
usemtl m_0
|
||||||
|
f 14/61/61 16/62/62 9/63/63
|
||||||
|
f 16/64/64 11/65/65 9/66/66
|
||||||
|
usemtl m_0
|
||||||
|
f 10/67/67 12/68/68 13/69/69
|
||||||
|
f 12/70/70 15/71/71 13/72/72
|
||||||
|
o cube
|
||||||
|
v 0.5 -0.3125 -0.3125
|
||||||
|
v 0.5 -0.3125 -0.5
|
||||||
|
v 0.5 -0.5 -0.3125
|
||||||
|
v 0.5 -0.5 -0.5
|
||||||
|
v 0.3125 -0.3125 -0.5
|
||||||
|
v 0.3125 -0.3125 -0.3125
|
||||||
|
v 0.3125 -0.5 -0.5
|
||||||
|
v 0.3125 -0.5 -0.3125
|
||||||
|
vt 0.78125 0.953125
|
||||||
|
vt 0.78125 0.90625
|
||||||
|
vt 0.828125 0.953125
|
||||||
|
vt 0.78125 0.90625
|
||||||
|
vt 0.828125 0.90625
|
||||||
|
vt 0.828125 0.953125
|
||||||
|
vt 0.875 0.953125
|
||||||
|
vt 0.875 0.90625
|
||||||
|
vt 0.921875 0.953125
|
||||||
|
vt 0.875 0.90625
|
||||||
|
vt 0.921875 0.90625
|
||||||
|
vt 0.921875 0.953125
|
||||||
|
vt 0.046875 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.921875 0.953125
|
||||||
|
vt 0.921875 1
|
||||||
|
vt 0.875 0.953125
|
||||||
|
vt 0.921875 1
|
||||||
|
vt 0.875 1
|
||||||
|
vt 0.875 0.953125
|
||||||
|
vt 0.921875 0.953125
|
||||||
|
vt 0.921875 0.90625
|
||||||
|
vt 0.96875 0.953125
|
||||||
|
vt 0.921875 0.90625
|
||||||
|
vt 0.96875 0.90625
|
||||||
|
vt 0.96875 0.953125
|
||||||
|
vt 0.828125 0.953125
|
||||||
|
vt 0.828125 0.90625
|
||||||
|
vt 0.875 0.953125
|
||||||
|
vt 0.828125 0.90625
|
||||||
|
vt 0.875 0.90625
|
||||||
|
vt 0.875 0.953125
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn 1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn -1 0 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0 0 -1
|
||||||
|
usemtl m_0
|
||||||
|
f 17/73/73 19/74/74 18/75/75
|
||||||
|
f 19/76/76 20/77/77 18/78/78
|
||||||
|
usemtl m_0
|
||||||
|
f 21/79/79 23/80/80 22/81/81
|
||||||
|
f 23/82/82 24/83/83 22/84/84
|
||||||
|
usemtl m_0
|
||||||
|
f 24/91/91 23/92/92 19/93/93
|
||||||
|
f 23/94/94 20/95/95 19/96/96
|
||||||
|
usemtl m_0
|
||||||
|
f 22/97/97 24/98/98 17/99/99
|
||||||
|
f 24/100/100 19/101/101 17/102/102
|
||||||
|
usemtl m_0
|
||||||
|
f 18/103/103 20/104/104 21/105/105
|
||||||
|
f 20/106/106 23/107/107 21/108/108
|
|
@ -0,0 +1,299 @@
|
||||||
|
# Made in Blockbench 3.6.6
|
||||||
|
mtllib mcl_beds_bed_top.mtl
|
||||||
|
o cube
|
||||||
|
v -0.5000000000000001 0.0625 -0.49999999999999994
|
||||||
|
v -0.49999999999999994 0.0625 0.5000000000000001
|
||||||
|
v -0.5000000000000001 -0.3125 -0.49999999999999994
|
||||||
|
v -0.49999999999999994 -0.3125 0.5000000000000001
|
||||||
|
v 0.5000000000000001 0.0625 0.49999999999999994
|
||||||
|
v 0.49999999999999994 0.0625 -0.5000000000000001
|
||||||
|
v 0.5000000000000001 -0.3125 0.49999999999999994
|
||||||
|
v 0.49999999999999994 -0.3125 -0.5000000000000001
|
||||||
|
vt 0.34374999999999994 0.65625
|
||||||
|
vt 0.43749999999999994 0.65625
|
||||||
|
vt 0.34374999999999994 0.90625
|
||||||
|
vt 0.43749999999999994 0.65625
|
||||||
|
vt 0.43749999999999994 0.90625
|
||||||
|
vt 0.34374999999999994 0.90625
|
||||||
|
vt 0.09375 0.90625
|
||||||
|
vt 0 0.90625
|
||||||
|
vt 0.09375 0.65625
|
||||||
|
vt 0 0.90625
|
||||||
|
vt 0 0.65625
|
||||||
|
vt 0.09375 0.65625
|
||||||
|
vt 0.09375 0.90625
|
||||||
|
vt 0.09375 0.65625
|
||||||
|
vt 0.34375 0.90625
|
||||||
|
vt 0.09375 0.65625
|
||||||
|
vt 0.34375 0.65625
|
||||||
|
vt 0.34375 0.90625
|
||||||
|
vt 0.6874843749999999 0.6562812499999999
|
||||||
|
vt 0.6874843749999999 0.90628125
|
||||||
|
vt 0.437484375 0.6562812499999999
|
||||||
|
vt 0.6874843749999999 0.90628125
|
||||||
|
vt 0.437484375 0.90628125
|
||||||
|
vt 0.437484375 0.6562812499999999
|
||||||
|
vt 0 1
|
||||||
|
vt 0 0.875
|
||||||
|
vt 0.1875 1
|
||||||
|
vt 0 0.875
|
||||||
|
vt 0.1875 0.875
|
||||||
|
vt 0.1875 1
|
||||||
|
vt 0.34375 0.90625
|
||||||
|
vt 0.34375 1
|
||||||
|
vt 0.09375 0.90625
|
||||||
|
vt 0.34375 1
|
||||||
|
vt 0.09375 1
|
||||||
|
vt 0.09375 0.90625
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
usemtl m_0
|
||||||
|
f 1/1/1 3/2/2 2/3/3
|
||||||
|
f 3/4/4 4/5/5 2/6/6
|
||||||
|
usemtl m_0
|
||||||
|
f 5/7/7 7/8/8 6/9/9
|
||||||
|
f 7/10/10 8/11/11 6/12/12
|
||||||
|
usemtl m_0
|
||||||
|
f 5/13/13 6/14/14 2/15/15
|
||||||
|
f 6/16/16 1/17/17 2/18/18
|
||||||
|
usemtl m_0
|
||||||
|
f 8/19/19 7/20/20 3/21/21
|
||||||
|
f 7/22/22 4/23/23 3/24/24
|
||||||
|
usemtl none
|
||||||
|
f 6/25/25 8/26/26 1/27/27
|
||||||
|
f 8/28/28 3/29/29 1/30/30
|
||||||
|
usemtl m_0
|
||||||
|
f 2/31/31 4/32/32 5/33/33
|
||||||
|
f 4/34/34 7/35/35 5/36/36
|
||||||
|
o cube
|
||||||
|
v 0.31250000000000006 -0.3125 0.31249999999999994
|
||||||
|
v 0.31250000000000006 -0.3125 0.49999999999999994
|
||||||
|
v 0.31250000000000006 -0.5 0.31249999999999994
|
||||||
|
v 0.31250000000000006 -0.5 0.49999999999999994
|
||||||
|
v 0.5000000000000001 -0.3125 0.49999999999999994
|
||||||
|
v 0.5 -0.3125 0.31249999999999994
|
||||||
|
v 0.5000000000000001 -0.5 0.49999999999999994
|
||||||
|
v 0.5 -0.5 0.31249999999999994
|
||||||
|
vt 0.921875 0.859375
|
||||||
|
vt 0.921875 0.8125
|
||||||
|
vt 0.96875 0.859375
|
||||||
|
vt 0.921875 0.8125
|
||||||
|
vt 0.96875 0.8125
|
||||||
|
vt 0.96875 0.859375
|
||||||
|
vt 0.828125 0.859375
|
||||||
|
vt 0.828125 0.8125
|
||||||
|
vt 0.875 0.859375
|
||||||
|
vt 0.828125 0.8125
|
||||||
|
vt 0.875 0.8125
|
||||||
|
vt 0.875 0.859375
|
||||||
|
vt 0 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.046875 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0.875 0.90625
|
||||||
|
vt 0.875 0.859375
|
||||||
|
vt 0.921875 0.90625
|
||||||
|
vt 0.875 0.859375
|
||||||
|
vt 0.921875 0.859375
|
||||||
|
vt 0.921875 0.90625
|
||||||
|
vt 0.875 0.859375
|
||||||
|
vt 0.875 0.8125
|
||||||
|
vt 0.921875 0.859375
|
||||||
|
vt 0.875 0.8125
|
||||||
|
vt 0.921875 0.8125
|
||||||
|
vt 0.921875 0.859375
|
||||||
|
vt 0.78125 0.859375
|
||||||
|
vt 0.78125 0.8125
|
||||||
|
vt 0.828125 0.859375
|
||||||
|
vt 0.78125 0.8125
|
||||||
|
vt 0.828125 0.8125
|
||||||
|
vt 0.828125 0.859375
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
usemtl m_0
|
||||||
|
f 9/37/37 11/38/38 10/39/39
|
||||||
|
f 11/40/40 12/41/41 10/42/42
|
||||||
|
usemtl m_0
|
||||||
|
f 13/43/43 15/44/44 14/45/45
|
||||||
|
f 15/46/46 16/47/47 14/48/48
|
||||||
|
usemtl none
|
||||||
|
f 13/49/49 14/50/50 10/51/51
|
||||||
|
f 14/52/52 9/53/53 10/54/54
|
||||||
|
usemtl m_0
|
||||||
|
f 16/55/55 15/56/56 11/57/57
|
||||||
|
f 15/58/58 12/59/59 11/60/60
|
||||||
|
usemtl m_0
|
||||||
|
f 14/61/61 16/62/62 9/63/63
|
||||||
|
f 16/64/64 11/65/65 9/66/66
|
||||||
|
usemtl m_0
|
||||||
|
f 10/67/67 12/68/68 13/69/69
|
||||||
|
f 12/70/70 15/71/71 13/72/72
|
||||||
|
o cube
|
||||||
|
v -0.5 -0.3125 0.31249999999999994
|
||||||
|
v -0.4999999999999999 -0.3125 0.49999999999999994
|
||||||
|
v -0.5 -0.5 0.31249999999999994
|
||||||
|
v -0.4999999999999999 -0.5 0.49999999999999994
|
||||||
|
v -0.3124999999999999 -0.3125 0.4999999999999999
|
||||||
|
v -0.3125 -0.3125 0.3124999999999999
|
||||||
|
v -0.3124999999999999 -0.5 0.4999999999999999
|
||||||
|
v -0.3125 -0.5 0.3124999999999999
|
||||||
|
vt 0.78125 0.671875
|
||||||
|
vt 0.78125 0.625
|
||||||
|
vt 0.828125 0.671875
|
||||||
|
vt 0.78125 0.625
|
||||||
|
vt 0.828125 0.625
|
||||||
|
vt 0.828125 0.671875
|
||||||
|
vt 0.875 0.671875
|
||||||
|
vt 0.875 0.625
|
||||||
|
vt 0.921875 0.671875
|
||||||
|
vt 0.875 0.625
|
||||||
|
vt 0.921875 0.625
|
||||||
|
vt 0.921875 0.671875
|
||||||
|
vt 0 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0 0.953125
|
||||||
|
vt 0.046875 0.953125
|
||||||
|
vt 0.046875 1
|
||||||
|
vt 0.87496875 0.7187656250000001
|
||||||
|
vt 0.87496875 0.6719062499999999
|
||||||
|
vt 0.921828125 0.7187656250000001
|
||||||
|
vt 0.87496875 0.6719062499999999
|
||||||
|
vt 0.921828125 0.6719062499999999
|
||||||
|
vt 0.921828125 0.7187656250000001
|
||||||
|
vt 0.921875 0.671875
|
||||||
|
vt 0.921875 0.625
|
||||||
|
vt 0.96875 0.671875
|
||||||
|
vt 0.921875 0.625
|
||||||
|
vt 0.96875 0.625
|
||||||
|
vt 0.96875 0.671875
|
||||||
|
vt 0.828125 0.671875
|
||||||
|
vt 0.828125 0.625
|
||||||
|
vt 0.875 0.671875
|
||||||
|
vt 0.828125 0.625
|
||||||
|
vt 0.875 0.625
|
||||||
|
vt 0.875 0.671875
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn -1 0 1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 1 0 -1.2246467991473532e-16
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn -1.2246467991473532e-16 0 -1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
vn 1.2246467991473532e-16 0 1
|
||||||
|
usemtl m_0
|
||||||
|
f 17/73/73 19/74/74 18/75/75
|
||||||
|
f 19/76/76 20/77/77 18/78/78
|
||||||
|
usemtl m_0
|
||||||
|
f 21/79/79 23/80/80 22/81/81
|
||||||
|
f 23/82/82 24/83/83 22/84/84
|
||||||
|
usemtl none
|
||||||
|
f 21/85/85 22/86/86 18/87/87
|
||||||
|
f 22/88/88 17/89/89 18/90/90
|
||||||
|
usemtl m_0
|
||||||
|
f 24/91/91 23/92/92 19/93/93
|
||||||
|
f 23/94/94 20/95/95 19/96/96
|
||||||
|
usemtl m_0
|
||||||
|
f 22/97/97 24/98/98 17/99/99
|
||||||
|
f 24/100/100 19/101/101 17/102/102
|
||||||
|
usemtl m_0
|
||||||
|
f 18/103/103 20/104/104 21/105/105
|
||||||
|
f 20/106/106 23/107/107 21/108/108
|
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 971 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 172 B |