Whenever I summon an item frame that is not on the side of a block, it floats for roughly 5 seconds then despawns and drops the item. Nothing has worked including the Invulnerable, Age, NoGravity, and NoAI tags, summoning the item frame as a passenger on another entity, and constantly teleporting the item frame to itself with a repeating command block. The item frame always breaks because it's not resting on the side of a block.
That's a good idea, but I need it to be walk-through from all directions - sorry I didn't mention that...
Edit: That gave me an idea - I tried to tp the item frame to a spot next to a block then immediately tp it back with repeating command blocks, hoping that it would reset the length of time it takes to despawn after realizing it's not on a solid block. This didn't work, so I lengthened the time that stayed on the solid block with repeaters. However, no matter how long I made the time on the block, the amount of time off of the block seemed to add up every time, so it would eventually despawn after a few teleports.
Whenever I summon an item frame that is not on the side of a block, it floats for roughly 5 seconds then despawns and drops the item. Nothing has worked including the Invulnerable, Age, NoGravity, and NoAI tags, summoning the item frame as a passenger on another entity, and constantly teleporting the item frame to itself with a repeating command block. The item frame always breaks because it's not resting on the side of a block.
Maybe NoAI or a NoGravity might do the trick?
Ex-minecraft map maker
Somewhat of a datapack/command block engineer at your service...?
Nope. tried both of those too...
Thanks for the suggestion though
Why not put it on a barrier block?
That's a good idea, but I need it to be walk-through from all directions - sorry I didn't mention that...
Edit: That gave me an idea - I tried to tp the item frame to a spot next to a block then immediately tp it back with repeating command blocks, hoping that it would reset the length of time it takes to despawn after realizing it's not on a solid block. This didn't work, so I lengthened the time that stayed on the solid block with repeaters. However, no matter how long I made the time on the block, the amount of time off of the block seemed to add up every time, so it would eventually despawn after a few teleports.
Still no solution
Other suggestions:
Random tickspeed to 0
Make it ride an armorstand
Maybe structure void is registered as a block
If that doesn't work i'm completely out of ideas
Ex-minecraft map maker
Somewhat of a datapack/command block engineer at your service...?
Make it ride an invisible no ai bat
I have played Minecraft since 1.5.1
If I helped you, please vote up.
What I would do is I would put it on a barrier. You already said that you wanted players to pass through it, so I came up with a solution:
Put this into a repeating command block and set it to "always active"
testfor @e[type=Player,r=<Whatever range>] (Pre isn't working for me)
Then hook it up with a comparator and a repeater to an impulse
Put this command in the impulse:
/tp @p <X,Y,Z>
When a player would come near the floating item frames, it would teleport them wherever you want it to.
Lol I have no idea what to do
Here in the future (1.16 - 1.19.1+), we have the tag "Fixed" to indicate that the item_frame does not need block support:
/summon minecraft:item_frame ~ ~ ~ {Fixed:1b}