Good evening, today I would like to know how to make percentages, imagine that we have ITEM 1: 30% chance of obtaining it ITEM 2: 35% chance of...
Thx
Hello everyone, I have a big problem, basically I put a double and I would like the player to not put more than 2 zero after the decimal point....
I will try that
Hello everyone, today I have an important dilemma, in fact I have to create a laser game and I would like that when a player makes right click in...
@timtower Yes I know, but I put that, because its with an api, the real HashMap is : HashMap<Faction, Integer> But i need an exemple, because i...
Can you give me an example ? @timtower Because I know how to display them but not to sort EDIT by Moderator: merged posts, please use the edit...
@timtower , 1er i don't know how to find the hightest value, 2e treemap ?
@timtower In a HashMap like: HashMap<Player, Integer> = new HashMap<>();
I have a question, would like to know how I could do so that when I do /ranking, it gives me the rankings of the players say that: Player 1 : 20...
Thanks !
Well, what I would like to do is a kind of plugin that calculates the number of diamonds that you have mined and puts it as a percentage according...
else you can do something like this no : int randomchance = r.nextInt(100) + 1; if(randomchance < 50){ //give red wool }else if (randomchance <...
Hey guys, I need your help ! I need to have a random ItemStack with percentage. Like if you had 3 ItemStack : ItemStack blueWool = new...
Separate names with a comma.