I want to make plugin in which items would fall out of stone and i dont know to what to do to make items fall off the stone randomly
I know but i dont know how to pick random item form 3 items, for example i have diamond, iron, coal and i want to diamond have 3% percent chance for drop
@6zero Simple: You can generate a random number between 0 and 100. If the number is 3 or less, drop a diamond, if it's 40 or less but greater than 3, drop iron and any other number, drop coal. Advanced: Use probability like I mention in this post: https://bukkit.org/threads/random-drop-chance.480903/#post-3607852