minetest chest vs minecraft chest

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59

minetest chest vs minecraft chest

by sky » Sat Oct 27, 2012 12:45

look at minecraft chest and look at minetest chest i want like in minecraft
Image
 

jin_xi
Member
 
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Sat Oct 27, 2012 12:59

lolwut
 

Shadowmang
Member
 
Posts: 10
Joined: Mon Oct 22, 2012 17:05

by Shadowmang » Sat Oct 27, 2012 13:02

I think he means that it's slightly smaller than a normal block
 

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59

by sky » Sat Oct 27, 2012 13:18

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
Last edited by sky on Sat Oct 27, 2012 13:18, edited 1 time in total.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Oct 27, 2012 13:50

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)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Oct 27, 2012 13:50

I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.
 

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

by nomohakon » Sat Oct 27, 2012 14:32

PilzAdam wrote:I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.


+1
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

by Dragonop » Sat Oct 27, 2012 19:12

I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.

+1
It's "Drag" for the friends.

Sorry I haven't been online as much lately, I'm real busy.
https://forum.minetest.net/download/file.php?id=4472
 

User avatar
GloopMaster
Member
 
Posts: 213
Joined: Wed Aug 01, 2012 18:03

by GloopMaster » Sun Oct 28, 2012 00:24

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
Meow.

That is all.
 

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59

by sky » Sun Oct 28, 2012 05:06

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???
 

User avatar
Jeija
Member
 
Posts: 686
Joined: Fri Dec 23, 2011 21:46

by Jeija » Sun Oct 28, 2012 06:46

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
Redstone for minetest: Mesecons (mesecons.net)
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sun Oct 28, 2012 16:46

PilzAdam wrote:I dont like the smaller Minecraft chests. A chest is a normal block and should have the same size.


+1
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 9 guests

cron