Hi there! Thanks for trying to help me Typing the command /thornedcrown will give the person who executed the command a thorned crown. But here's the catch. The crown has a chance to spawn with a durability of 2 - 30. If you could make any of those numbers completely random, I'd love that. Here's an example. /thornedcrown : Player gets Leather Helmet with THORNS III with dura ranging from 2 - 30. No permissions needed. I'd like it for 1.7.5 . Thanks ! :>
well... I'm happy to do this for you But I'm sorta confused. The way you describe it, can't you just use that command again and again and again? And get more and more and more thorned crowns? Or is there supposed to be a delay, like you can only type the command once every 5 minutes or something... Also, do you even need it still? thecerealkill3r
Darkpicasa I do But no, there is no need for a cooldown. At this point, I don't care about the random value from 15 - 25, if you can make it meet these parameters, I'm happy. If it's not possible to get the random value, just make them spawn at 15 every time. - Gives a leather helmet with thorns III(At 15 dura OR 15 - 25 dura) when /thornedcrown has been executed. - No cooldown needed - No permissions needed - A command to reload the config, preferably /thornreload - Make sure the item has no special name, just "Thorned Crown" no color codes or anything. Thanks!
Why on earth do you want a reload for the config on this? there is nothing that has to be configured? I can make this if needed... but why that option?
Disregard that. Can you make the randomized durability 15 - 25 when the command is executed? If its too hard to do that or not possible, just make them spawn at 15 dura when the command is done. Thanks simgar98
simgar98 aint making it, simgar98 is sharing it. https://www.dropbox.com/s/ka0trlxyhneojnp/thorned.jar?dl=0 thecerealkill3r
simgar98 :0 simgar98 First off, I would like to say THANK YOU for making the plugin for me. But, there's a couple issues. - The helmet enchant is thorns II, not III - The helmet's name is blue when it spawns in, and not capitalized - The helm is supposed to spawn in their hand, not on their head. - And the helmets range is wrong, it goes down to 1, when the lowest is supposed to be 15. Don't get me wrong, I'm more than grateful for you even volunteering to share your creation, but if you could fix these errors, I'd be even more grateful Thank you very much, sir. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Forgive me for my sins of not reading everything careful enough xD https://www.dropbox.com/s/ka0trlxyhneojnp/thorned.jar?dl=0 have fun!
Technically speaking the only completely random things in this universe appear to be the activities of sub atomic particles as outlined in quantum physics. In order for the durability to be truly completely random, there must be absolutely no way to predict the next number in the sequence even if you had infinite knowledge of all of the atoms in the universe and their position and velocity at any given time. Thus the only way to do this would be to make this plugin hook into a a machine that observed things in quantum mechanics such as radioactive decay or the spin direction of an electron.
Yes, but computers being entirely logical and procedural inherently have no way of generating completely random data. What they create is pseudo random.