I am creating a game on my private server where zombies spawn and you have to fight them, and everybody wants to add a store. What we want is for you to put in 1 rotten flesh and get a random item out of a large pool of items.
I made a system earlier where I would put a rotten flesh in individually and it worked great, except for the fact that it wasn't random at all. The reason was that all of the items would be taken from left to right in the exact order I put them in.
This could technically work, except I also wanted it to dispense things like webs to slow them and arrows to shoot from a bow, however if I just put 32 arrows in a stack, it will individually dispense all 32 arrows until it gets to the next stack.
My cousin who knows alot more about command blocks did something earlier, but he said that you could only use 9 items in that before he ran out of space. Apparently this is called a dropper randomizer. I want to have something like a large chest of items, and then it randomly choose an item from that chest.
Hopefully you understand my problem with the amount of information that I gave you, thanks for anything.
I made a system earlier where I would put a rotten flesh in individually and it worked great, except for the fact that it wasn't random at all. The reason was that all of the items would be taken from left to right in the exact order I put them in.
This could technically work, except I also wanted it to dispense things like webs to slow them and arrows to shoot from a bow, however if I just put 32 arrows in a stack, it will individually dispense all 32 arrows until it gets to the next stack.
My cousin who knows alot more about command blocks did something earlier, but he said that you could only use 9 items in that before he ran out of space. Apparently this is called a dropper randomizer. I want to have something like a large chest of items, and then it randomly choose an item from that chest.
Hopefully you understand my problem with the amount of information that I gave you, thanks for anything.
5
put in rotten flesh and dispenser dispenses item?
You could just make it work with command blocks and make a randomizer to it... u can easily make loads of items using spreadplayers on a mob for example.
So, watch this:
http://youtu.be/B82PxfnZkug
It's a tutorial for compact trading machine, so if you change it a little bit and infront of the dispenser put a hopper and a chest (that nobody can stole smth out of it), your store will be ready. Also it didn't request sooo much work
http://youtu.be/B82PxfnZkug
It's a tutorial for compact trading machine, so if you change it a little bit and infront of the dispenser put a hopper and a chest (that nobody can stole smth out of it), your store will be ready. Also it didn't request sooo much work
Sounds like you need a plugin for this.
I can't use spigot/bukkit in 1.8, and if I try to it just won't let me use 1.8 items or anything. This would mess up alot of things we have built.
Also, the last time I tried this, it deleted everybody's items from their chests and we accidentally made a backup because of the auto backup system.
If you can point me to somehow get something to make this it would be much appreciated.
Also, the last time I tried this, it deleted everybody's items from their chests and we accidentally made a backup because of the auto backup system.
If you can point me to somehow get something to make this it would be much appreciated.
