[Mod] Item Frames [itemframes]

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

[Mod] Item Frames [itemframes]

by Calinou » Sun Jun 29, 2014 18:00

Another item frames and pedestals mod. Based on Zeg9's item frames mod.

This mod is originating from Carbone. You don't install this mod if you're playing that particular game; it's already included and enabled by default there.

Download

No dependencies on non-default mods.
License for code: CC0
License for textures: CC BY-SA 3.0


Crafting

X = stick, P = paper.

X X X
X P X
X X X

S = stone, _ = nothing.

S S S
_ S _
S S S
 

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

Re: [Mod] Item Frames [itemframes]

by Inocudom » Sun Jun 29, 2014 18:11

It looks like Zeg9 might be gone for some time, so I am glad that you are doing this. Along with the frames and the pedestals, glass cases would be useful too.

Could the displays work like locked treasure chests, but have only one slot for the item to be put on display to be placed in? That way, if clearobjects is performed, they could reshow the single item that they have either by the player getting close enough to them or by being punched.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Item Frames [itemframes]

by TenPlus1 » Sun Jun 29, 2014 20:14

Glad to see this mod getting some attention... what differs between this and Zeg's ?
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] Item Frames [itemframes]

by Calinou » Wed Jul 02, 2014 09:20

TenPlus1 wrote:Glad to see this mod getting some attention... what differs between this and Zeg's ?


Textures were redone, items rotate slower on pedestals, code style fixed and cleaned up.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Item Frames [itemframes]

by TenPlus1 » Wed Jul 02, 2014 19:30

Nice, I did however notice that using a screwdriver to rotate the item frame then adding an item crashes minetest and servers it runs on and the only fix I could see was to tweak the screwdriver mod slightly to ignore frames... ADDED below...
Attachments
screwdriver(frame_fix).zip
(5.33 KiB) Downloaded 140 times
 

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

Re: [Mod] Item Frames [itemframes]

by Inocudom » Thu Aug 07, 2014 18:13

In the topic of the original item_frames mod, thus was spoken:
Inocudom wrote:This mod was updated yesterday, so displayed objects will now reappear after /clearobjects actions.

Very significant, very significant.
 

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

Re: [Mod] Item Frames [itemframes]

by Inocudom » Sun Aug 10, 2014 21:09

https://github.com/VanessaE/minetest-itemframes/commit/841be9f4cfe305579971cd28a254b5873b117244
This is the commit to Zeg9's itemframes mod that fixes displayed objects vanishing after /clearobjects.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Item Frames [itemframes]

by Wuzzy » Sat Feb 11, 2017 12:06

You can't place the following Minetest Game items on item frames and pedestals:

  • Boat
  • Cart
  • Screwdriver
  • Wheat Seed
  • Cotton Seed
  • Skeleton Key
  • Key

You can rotate item frames with a screwdriver, which looks very weird. I think the easiest fix would be to disallow screwdriver rotation of item frames.

Also, the Minetest mod manager gets confused if you have this mod and Homedecor installed. If you try to enable this mod, it doesn't get enabled!
I noticed this mod has the identical name as a homedecor mod. This is a very confusing bug, please consider a rename.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Item Frames [itemframes]

by TenPlus1 » Sat Feb 11, 2017 13:40

We could easily add the following code to the on_rightclick for each item that doesn't work for itemframes so that they do (like I did with Farming Redo crop/seed):

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
   local def = minetest.registered_nodes[under.name]
   if def and def.on_rightclick then
      return def.on_rightclick(pt.under, under, placer, itemstack)
   end
 

User avatar
sorcerykid
Member
 
Posts: 219
Joined: Fri Aug 26, 2016 15:36
In-game: Nemo

Re: [Mod] Item Frames [itemframes]

by sorcerykid » Tue Feb 21, 2017 20:36

Thanks for the heads up Wuzzy. I didn't realize those items were incompatible with the itemframes mod. I think TenPlus has the right solution. I'll get the fix in place on the JT2 server.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 17 guests

cron