2

I'm having a small problem.....

BDT1234's Avatar BDT12347/8/18 4:34 am
2 emeralds 525 4
7/12/2018 2:26 pm
BDT1234's Avatar BDT1234
hello everyone

I was having an idea with item frames. for example
  1. if there's an item (like fire charge) in the frame, when you click on it, it changes to another item (changes to redstome lamp)

  2. there are three item frames and if you put all the three items in the frame (like fern and we can't put any other item in those frames), it'll activate some redstone
I kniw those are possible with command blocks but I don't know what commands to use. can anyone help me with that?



Posted by BDT1234's Avatar
BDT1234
Level 1 : New Miner
0

Create an account or sign in to comment.

4

2
07/09/2018 2:48 pmhistory
Level 33 : Artisan Creeper Hugger
AgentShieldjj
AgentShieldjj's Avatar
if there's an item (like fire charge) in the frame, when you click on it, it changes to another item (changes to Redstone lamp)

So I got this done for you it uses redstone and commands,

so how it works is first a comparator detect the item in the Item frame from the other side of the wall
https://i.imgur.com/WejmmA6.png then it uses the comparator to detect if the Item rotates, if it rotates the observer will detect if the redstone updates. and when it does, it sets off the T-top Flip-flop
connected to 2 Commands blocks
https://i.imgur.com/tJUlehs.png

Then Put these Commands in the 2 command block (this will change any Item frame with in 10 blocks)

command 1:

entitydata @e[type=Item_frame,r=10] {Item:{id:redstone_lamp,Count:1},ItemRotation:0}

Command 2:


entitydata @e[type=Item_frame,r=10] {Item:{id:Fire_charge,Count:1},ItemRotation:4}

it doesn't matter which command goes in which command block

https://i.imgur.com/ICJIag5.png

I hope you liked it, if you did check out more of my commands and redstone project
plz sub, leave diamond, like and more!!
https://www.planetminecraft.com/member/agentshield233/

And my Youtube channel,

https://www.youtube.com/channel/UCzGlXpInjjHEhC1tnHkzxVw?view_as=subscriber


2
07/10/2018 12:35 pmhistory
Level 1 : New Miner
BDT1234
BDT1234's Avatar
wow that's impressive! i'll give that a try

but that's with two items in the item frame. But what if there were four item frames next to each other and by every click it changes to any of the four items in order (like for example: water bottle, fire charge, ender pearl and creeper head)? and when it's in the correct order (first frame: fire charge, second frame: creeper head, third frame: water bottle and fourth frame: ender pearl) it triggers a redstone output

is that possible or no?
1
07/10/2018 12:45 pm
Level 33 : Artisan Creeper Hugger
AgentShieldjj
AgentShieldjj's Avatar
Kinda, i've been tryng to get it, this is the command I thought it would be


/testfor @e[type=Item_Frame] {r:-1264,y:6,z:-195,Facing:0b,ItemRotation:0,Item:{id:diamond,Count:1}}

BUT IT didn't work sry play around with that command see if you can get it going
1
07/12/2018 2:26 pm
Level 1 : New Miner
BDT1234
BDT1234's Avatar
Oh :(
I'll see to it
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome