#Invisible Frames 1.21.5 update
20 messages · Page 1 of 1 (latest)
it should work with all modded item frames and glass panes (as long as theyre in the c:glass_panes tag), items that can turn item frames invisible are controlled by an item tag eg-invisible-frames:makes_item_frames_invisible
i really like the idea, but wouldnt it be better to right click instead of punching?
i guess but thats also the same button you use to put a glass pane in the item frame
and i dont want to over complicate it with a whole "oh if you want to put a glass pane in an item frame make sure youre sneaking" situation
make it so the item frame will only turn invisible if there is already an item in it
punching just seems a bit unintuitive since interacting is always done with right click and destroying with left click
right click is also reserved for rotating items tho, but then again left click is reserved for taking items out so either way it has to override one of those
i might just implement both tbh
so u can use either right or left click
aaa now ive implemented right clicking idk which one is better
ok youve convinced me im switching it to right click to make them invisible
sneak right click?
just right click, but it only goes invisible if there is an item in the frame already
if you punch the frame while its invisible, does it give back the glass pane?
(and make the frame visible again?)
Yes, there’s 2 ways to do that depending if it has an item or not.
If it has an item: punch it while sneaking to make it visible without popping out the item, or punch it while standing up to pop out the item then punch again to make it visible.
If it doesn’t have an item just punch it either standing up or sneaking to make it visible
Or if the item frame gets destroyed by some other means it will drop the glass pane as well as the item it was holding like normal
it looks weird, the item frame dissapears and there is a flat plane that fades out instead
I would’ve made the item frame fade out but it’s server side so im limited in what I can do