Page 1 of 1

minetest chest vs minecraft chest

PostPosted: Sat Oct 27, 2012 12:45
by sky
look at minecraft chest and look at minetest chest i want like in minecraft
Image

PostPosted: Sat Oct 27, 2012 12:59
by jin_xi
lolwut

PostPosted: Sat Oct 27, 2012 13:02
by Shadowmang
I think he means that it's slightly smaller than a normal block

PostPosted: Sat Oct 27, 2012 13:18
by sky
Shadowmang wrote:I think he means that it's slightly smaller than a normal block

Right it is good if you understand what i draw

PostPosted: Sat Oct 27, 2012 13:50
by VanessaE
This is very easily done by making a mod with a custom replacement chest in it. Just copy the code from mods/default/init.lua for the chest, put a colon in front of the node name in the register_node() call, and change the draw type to use a nodebox instead of a regular cube. Give the nodebox dimensions of say:

{ -0.4375, -0.5, -0.4375, 0.4375, 0.3750, 0.4375 }

(That's -7/16, -8/16, -7/16, +7/16, +6/16, +7/16, making the object appear to be 2 pixels smaller in all directions if measured using 16px textures)

PostPosted: Sat Oct 27, 2012 13:50
by PilzAdam
I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.

PostPosted: Sat Oct 27, 2012 14:32
by nomohakon
PilzAdam wrote:I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.


+1

PostPosted: Sat Oct 27, 2012 19:12
by Dragonop
I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.

+1

PostPosted: Sun Oct 28, 2012 00:24
by GloopMaster
Personally, the smaller chests are only making it easier to tell a big chest from a normal one; which, since minetest doesnt have big chests (as per MC definition), we dont need to be smaller.

Also, your drawing is a lot better than any thing i could have drawn x.x

PostPosted: Sun Oct 28, 2012 05:06
by sky
VanessaE wrote:This is very easily done by making a mod with a custom replacement chest in it. Just copy the code from mods/default/init.lua for the chest, put a colon in front of the node name in the register_node() call, and change the draw type to use a nodebox instead of a regular cube. Give the nodebox dimensions of say:

{ -0.4375, -0.5, -0.4375, 0.4375, 0.3750, 0.4375 }

(That's -7/16, -8/16, -7/16, +7/16, +6/16, +7/16, making the object appear to be 2 pixels smaller in all directions if measured using 16px textures)


VanessaE can you show me step by step how to make it because i dont understend so can you help me???

PostPosted: Sun Oct 28, 2012 06:46
by Jeija
I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.

+1

I coded it anyway, so that you can see what it looks like.
Download the mod here

You may also need to scale down the texture for 4 pixels.
Nodebox credits go to VanessaE.
One more thing: Learn using the minetest api, api.minetest.net

PostPosted: Sun Oct 28, 2012 16:46
by rubenwardy
PilzAdam wrote:I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.


+1