Add 3D model by 22i for item frame

This commit is contained in:
Wuzzy 2017-08-03 16:01:23 +02:00
parent c8eeef3e23
commit 097b4a95f2
4 changed files with 166 additions and 4 deletions

View file

@ -91,10 +91,11 @@ minetest.register_node("itemframes:frame",{
description = "Item Frame",
_doc_items_longdesc = "Item frames are decorative blocks in which items can be placed.",
_doc_items_usagehelp = "Hold any item in your hand and right-click the item frame to place the item into the frame. Rightclick the item frame again to retrieve the item.",
drawtype = "nodebox",
drawtype = "mesh",
is_ground_content = false,
node_box = { type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5} },
selection_box = { type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5} },
mesh = "itemframes_itemframe1facedir.obj",
selection_box = { type = "fixed", fixed = {-6/16, -6/16, 7/16, 6/16, 6/16, 0.5} },
collision_box = { type = "fixed", fixed = {-6/16, -6/16, 7/16, 6/16, 6/16, 0.5} },
tiles = {"itemframe_background.png", "itemframe_background.png", "itemframe_background.png", "itemframe_background.png", "default_wood.png", "itemframe_background.png"},
inventory_image = "itemframes_frame.png",
wield_image = "itemframes_frame.png",