@Zombie_Striker I think that's the problem. In my main class, I'm setting the path "Levels.Diamond Pickaxe" to 20, yet I'm also going off that and...
@Zombie_Striker Weird... It's telling me that the diamondLevel is equal to 0.
@Zombie_Striker You'll see at the bottom of my last if-statement in my OnBlockBreak class, I have the level increasing by one each time an ore...
@Zombie_Striker Okay, so I tried to debug as you've asked and I got this. inHand == LevelingPickaxe.pickaxeMaterial(inHand) Underneath that, I...
Anyone at all? Just need this tiny bit of help.
Okay, I did what you said and I think I've fixed it partially. The next issue I have is when I reload the server and I go to mine an ore block, I...
Hey there, I'm working on a plugin that levels up your pickaxe to the next tier of pickaxes once you've reached a level that is based on how many...
Thank you. This worked well.
Name (Just something we can call you. A nickname is fine.): You can just call me Elite. Do you believe you meet our requirements?: Yes. Age: 18...
That's what the code is doing. It's making sure the first if statement is true, then goes to the next to make sure that one is true, then goes to...
I see that. :confused: I have another issue that comes up with that, though. If I do this: Block d = (Block) b.getDrops(); and then I fix this:...
A couple things I would fix and do: Instead of doing: if (e.getAction() == e.getAction().RIGHT_CLICK_BLOCK Do this instead: if...
Possibly, but I have to figure out how to also drop multiple ores as well.
Hey there, I'm trying to figure out how to get the ID's of ore or names of ore that drops from ore blocks like coal, lapis, redstone, etc....
Ummm. I would say around half-way, give or take.
Separate names with a comma.