[Mod] Item frames and pedestal [github] [itemframes]

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

[Mod] Item frames and pedestal [github] [itemframes]

by Zeg9 » Post

Hello ! Here is my new mod...
Item frames
What it does: the name says it all, it allows you to put items inside frames. And pedestals now (thanks Inocudom for idea).
Depends on default
License is WTFPL.
Screenshots:
Image Image Image
Crafting recipe:
Image Image Image
Usage: right click the frame or pedestal to put your wield item in it. Left click to remove it.
Notice: all frames and pedestals are locked, only the one who placed them can put/take stuff from them.

Download:
As a zip: download here
... or browse code on Github,
...or git clone git://github.com/Zeg9/minetest-itemframes
Last edited by Zeg9 on Sat Jun 01, 2013 16:37, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

Great mod, not only as decoration, but also to temporarily clean up tools.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

by Sokomine » Post

Nice idea. May come in handy in a lot of situations.
A list of my mods can be found here.

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Could you have it take the stuff. When i left click it doesnt drop the item.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

What is the red crystal?

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

jojoa1997 wrote:Could you have it take the stuff. When i left click it doesnt drop the item.
Try to right click with your hand (no item)
Inocudom wrote:What is the red crystal?
This is ruby from a mod I am working on, in the hope it could get merged one day, but I need ideas of what it could be useful for.
Topywo wrote:Great mod, not only as decoration, but also to temporarily clean up tools.
What do you mean by "clean up tools" ? And thanks ;)
Last edited by Zeg9 on Sun Apr 14, 2013 08:17, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

Zeg9 wrote:
Topywo wrote:Great mod, not only as decoration, but also to temporarily clean up tools.
What do you mean by "clean up tools" ? And thanks ;)
Your welcome :-)

I was a bit lazy finding a fitting translation...
With clean up I meant hanging up your tools, like putting them on a rack, on the wall or on a shelf while mining. It allows you to make a lot of (different) tools (and locked chests) in advance. I'm one of those players that mines until the crafting grid is also full.

I'd like to see this mod on some servers.

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Yeah, good point, then you don't have to open a chest to put your tools inside...
By the way, my server has this mod, though it's not open 24/7

Also, I just made a better texture, just re-download the mod (or git pull) to update.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Zeg you could use the could you have this mod take your item when it is put it.Though I love how I can add a visual for my chests.
Last edited by jojoa1997 on Sun Apr 14, 2013 13:04, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

hey @ Zeg9 will be with this mod leave items, eg the square they are dropped 3D, will be that this works coms items?
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

jojoa1997 wrote:Zeg you could use the could you have this mod take your item when it is put it.Though I love how I can add a visual for my chests.
I'm unsure I understood it right, but the item frames DO take the item from your inventory.
babe223 wrote:hey @ Zeg9 will be with this mod leave items, eg the square they are dropped 3D, will be that this works coms items?
The item appears in the frame like when you hold it in the hand, if that's what you wanna know
Hybrid Dog wrote:What about a red glowing lamp?
Thanks a lot ! I'll add this!
EDIT: What about an "anticrystal": put 8 mese blocks around 1 ruby block and they implode into a single anticrystal?
Last edited by Zeg9 on Sun Apr 14, 2013 13:40, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Hybrid Dog wrote:
Zeg9 wrote:
Hybrid Dog wrote:What about a red glowing lamp?
Thanks a lot ! I'll add this!
EDIT: What about an "anticrystal": put 8 mese blocks around 1 ruby block and they implode into a single anticrystal?
Don't you think about 26 or 6 mese blocks?
The anticrystal would be used to craft really powerful tools (or an all-in-one tool), and it would be more interesting...
By "put" I ment "place": this would be a reaction between the blocks, and it would only require one mese block and one ruby to do it.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

Zeg9 wrote:Yeah, good point, then you don't have to open a chest to put your tools inside...
I see... :-)

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

@Hybrid Dog: I finally implemented it: it requires at least one mese block next to a ruby block, and in a radius of 2 blocks in every direction, it will destroy every node - with a chance of 1/2, except mese and ruby that have 1/1 chance of being destroyed, and create anticrystal where ruby blocks were. I'll upload the mod/patch soon (should I make it as a patch for main game, or as a mod?)
Last edited by Zeg9 on Sun Apr 14, 2013 14:55, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Yeah, let's go back to item frames. If you clearobjects, the items will reappear after a short delay, and they will never get lost (apart if I missed something or there is a bug in minetest, but this shouldn't happen)
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

I have yet to try the mod but do torches light up in the frame?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

User avatar
windmere33
Member
Posts: 100
Joined: Thu Apr 04, 2013 19:21
Location: North Carolina, USA

by windmere33 » Post

I LOVE this mod, its awesome, but the only problem i have is that the selection box on the frame is as if its a normal block. Any way to change that?
Active Contributor To Thaumtest!

Enzio
Member
Posts: 10
Joined: Sun Apr 14, 2013 02:13

by Enzio » Post

This is pretty cool.

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Chinchow wrote:I have yet to try the mod but do torches light up in the frame?
They don't
windmere33 wrote:I LOVE this mod, its awesome, but the only problem i have is that the selection box on the frame is as if its a normal block. Any way to change that?
You can, as suggested by Hybrid Dog, use the newest version of minetest, but I'll modify the mod to make it "compatible" with 0.4.6
EDIT: Now, you just have to redownload the mod (or git pull) and it will work with your version (I think)
Last edited by Zeg9 on Mon Apr 15, 2013 15:47, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Can I ask what mod this collides with? Awesome mod btw.
Back from the dead!

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Evergreen wrote:Can I ask what mod this collides with? Awesome mod btw.
This mod shouldn't collide with any other, except if they use the same crafting recipe, but you can easily change this.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
khonkhortisan
Member
Posts: 30
Joined: Fri Jun 29, 2012 17:30

by khonkhortisan » Post

Shift the position of the entity so items like stairs don't z-fight.

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Ideas
-make the fram an antity but make it 3d
-allow items to rotate in the frame
-when make a function where certain times it is placed in side the frame(taken from inven)(why func. so crreative mode of other mods will allow it)
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

khonkhortisan wrote:Shift the position of the entity so items like stairs don't z-fight.
I'll do this
jojoa1997 wrote:Ideas
-make the fram an antity but make it 3d
-allow items to rotate in the frame
-when make a function where certain times it is placed in side the frame(taken from inven)(why func. so crreative mode of other mods will allow it)
- Why an entity? These aren't really good, they are mostly buggy and there is no real way to save meta inside them.
- Rotating stuff in the frame would require to re-define the items, or to have some way to change the pitch of an entity, but this isn't available yet. (or maybe you have a trick to do it)
- Do you mean that people in creative mod shouldn't lose their items ?
Last edited by Zeg9 on Tue Apr 16, 2013 05:30, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Forget creative mode. Mainly when you place an item in a frame the item is taken.
Coding;
1X coding
3X debugging
12X tweaking to be just right

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 18 guests