Hello, I am trying to make a mini game, but when I try to spawn in any monsters, they dont appear, I think this is because I am spawning them in a...
@Zombie_Striker The check is not useless though, since I'm using color codes so .isAlphabetic(c) would not catch those. Never Mind, I figured it...
So I'm trying to make a ranks plugin for my server, and the code I'm runnig works perfect for all the ranks except ones with '+' in them....
Yes but there are more then one item with say 10 and its probability, so how would I handle that?
Title says it all, how can this be done? The hashmap looks like HashMap<ItemStack, Integer>, Integer being the probability of that itemstack being...
@mythbusterma for some reason it's not decreasing index by 1
@FisheyLP @mythbusterma Thanks guys! That fixed the initial problem but now it spams a b c d then crashes, and I have no more loops running?
So when this code is executed: public void updatePage(int i) { Inventory page = this.getAH().get(i);...
lmao a mini fire war went down while I was eating supper :p @teej107 @sionzee @FisheyLP I fixed it, thanks for your help! <3
what do you mean? there are 3 lines of lore: 0, 1, 2 it's reading lines 0 and 1, but then stopping at line 2?
List<String> lore = item.getItemMeta().getLore(); for (int index = 0; index <= lore.size(); index++) {...
Nvm, I figured it out!
Hey Bukkit, I am trying to create a plugin, but for some reason I get this error: [SPOILER] Here is all relevant code: public int...
Okay problem solved everyone! Thanks @Tecno_Wizard , @megamichiel and @teej107
@Tecno_Wizard ohhhhmaiiigud! switches are SEXY, sorry xD I know a lot of Java but not everything, and I am still learning the conventions :p And...
Separate names with a comma.