I have done a search of this and could not find anything. I am creating an item shop. 2 dispensers, a piston, a button, redstone, and a pressure plate.
Basically works like this;
Player inserts item, (gold ingot in this case into back of dispenser (only back is visible to player.
Player hits button to fire same dispenser.
Item shoots out piston and hits block that is one block away.
Item falls 2 blocks down on top of wooden pressure plate suspended below by fence post.
Wooden pressure plate activates redstone wire that splits into 2 signals.
1st signal activates 2nd dispenser that drops another item (something like armor or cooked food)
2nd signal activates a sticky piston with a redstone delay that retracts allowing item armor, food, etc...) to drop and then be pushed out to player.
Have tested it and works... most of the time.
My problem is sometimes when the 1st dispenser fires, the item (gold ingot in this case) sometimes seemingly gets stuck on a nearby block.
Its supposed to work by the item hitting the wooden pressure plate activating redstone but then dropping down below because of the fence post underneath.
Any idea why sometimes the item passes through but sometimes it gets stuck looks like on surrounding blocks?
I think you may be right about it sitting on the fence post.
I've removed all the blocks except one which is my redstone circuit. I dont know any other way to get a current from the pressure plate. The block is same level as post with redstone dust on it at same level as pressure plate.
I have been playing with it more since I 1st posted. As you already know a dispensor shoots out in a random pattern that is about 3 blocks wide, one block out on each side. What I noticed is when it does work its hitting the edge of the pressure plate. I have even played with putting the pressure plate right in front of the dispensor. This works but it causes a double trigger,
button activates dispensor
dispensor shoots item
item passes over pressure plate activating it.
activated pressure plate activates same dispensor.
The second activation is half a tick if im saying it right so it doesnt cause a loop (thank goodness).
I will play with it some more. Thanks for a response. If I get it to work within reason I will post here.
why a piston? that isn't really practical and usually would cause quite a few problems using that. Like the others said, shooting into a water flow would be best.
I do have another way too, which is simple have it close enough to shoot off the edge into the hole, that is if the dispenser shoots further than 1 block, as I don't remember how far it spits out the item. Put a fence over the hole surrounded by block except the direction of the dispenser. Since the fence is connected to only 3 blocks the item would hit the fence and drop down roughly in the center.
Now only if wooden buttons worked, hadn't messed with those. you could actually setup 2 despensers the second with arrows to shoot at the wooden button, while the first drops the item on a plate to activate the 2nd one. This method isn't really all that well since you really only want that button to react once.....
That is just a few more ideas to try at least. I doubt the wooden button one would be more to your liking for the reason I mentioned.
Water is best though, the fence is a possible alternate....:D
Rollback Post to RevisionRollBack
My First World, always getting back to is a pleasure I enjoy with each new update that brings in more things to add in.
I have done a search of this and could not find anything. I am creating an item shop. 2 dispensers, a piston, a button, redstone, and a pressure plate.
Basically works like this;
Player inserts item, (gold ingot in this case into back of dispenser (only back is visible to player.
Player hits button to fire same dispenser.
Item shoots out piston and hits block that is one block away.
Item falls 2 blocks down on top of wooden pressure plate suspended below by fence post.
Wooden pressure plate activates redstone wire that splits into 2 signals.
1st signal activates 2nd dispenser that drops another item (something like armor or cooked food)
2nd signal activates a sticky piston with a redstone delay that retracts allowing item armor, food, etc...) to drop and then be pushed out to player.
Have tested it and works... most of the time.
My problem is sometimes when the 1st dispenser fires, the item (gold ingot in this case) sometimes seemingly gets stuck on a nearby block.
Its supposed to work by the item hitting the wooden pressure plate activating redstone but then dropping down below because of the fence post underneath.
Any idea why sometimes the item passes through but sometimes it gets stuck looks like on surrounding blocks?
I've removed all the blocks except one which is my redstone circuit. I dont know any other way to get a current from the pressure plate. The block is same level as post with redstone dust on it at same level as pressure plate.
I have been playing with it more since I 1st posted. As you already know a dispensor shoots out in a random pattern that is about 3 blocks wide, one block out on each side. What I noticed is when it does work its hitting the edge of the pressure plate. I have even played with putting the pressure plate right in front of the dispensor. This works but it causes a double trigger,
button activates dispensor
dispensor shoots item
item passes over pressure plate activating it.
activated pressure plate activates same dispensor.
The second activation is half a tick if im saying it right so it doesnt cause a loop (thank goodness).
I will play with it some more. Thanks for a response. If I get it to work within reason I will post here.
I do have another way too, which is simple have it close enough to shoot off the edge into the hole, that is if the dispenser shoots further than 1 block, as I don't remember how far it spits out the item. Put a fence over the hole surrounded by block except the direction of the dispenser. Since the fence is connected to only 3 blocks the item would hit the fence and drop down roughly in the center.
Now only if wooden buttons worked, hadn't messed with those. you could actually setup 2 despensers the second with arrows to shoot at the wooden button, while the first drops the item on a plate to activate the 2nd one. This method isn't really all that well since you really only want that button to react once.....
That is just a few more ideas to try at least. I doubt the wooden button one would be more to your liking for the reason I mentioned.
Water is best though, the fence is a possible alternate....:D