Hahahaa, I think I just solved it. It had been stumping me for a loooong time until I just tried one thing a moment ago! I think that because...
I'm having problems with no damage ticks. I found a thread from long ago, in which a guy goes over how they work. He mentions the following: And...
HeadGam3z You can either use different quotes on either end of a string, i.e. "This is a string with an apostrophe in it, which works because...
Are you sure? In the writing above it mentions: "A full suit of diamond armor protects the player from 80% of damage, whereas a full suit of iron...
I'm trying to determine the exact amount of damage done on the player, with armour reduction. I've created a method that appropriately determines...
I support this. What I don't think I condone, while you have a totally acceptable argument that I agree with, is seeing posts thrown into threads...
I listen for the PlayerDeathEvent, and when they die, I set up a delayed task that waits 1 tick, then sets the player's health, food, and...
Mickerd Well, I literally gave you the direct snippet of code that you would paste into your onCommand method!...
CookieGamer100 What kind of help is that? I don't know if you've considered it yet, or what you're measuring, exactly, but using the item's...
Just wondering if you've tried something along the lines of: if (event.getSlotType().equals(SlotType.CONTAINER)) { if...
Fair enough! I still think there'd be a way without using something like a bat, though.
Mickerd tommycake50 if (command.equalsIgnoreCase("rope") && p.isOp()) { Location origin =...
Hi! I've recently needed to calculate damage after it has been reduced by a player's armour. There are a few threads out there that needed this,...
Oh! There's something I didn't know. Looks like I'll be changing up some code later, I always feel the need to do things as efficient as possible,...
MrShears Hmmm.. I don't particularly like just giving code out, but this should work as you require. private static List<String> Discover...
Errr.. try replacing skull with m.
Try 71 : Iron Door 64 : Wood Door At some point, I wrote myself a list of the abstract item ID's you can use to spawn in resources for certain...
I'm unsure if there's a better way, however if you're wanting it to be ALL arrows, you could schedule a repeating task when the server starts up...
First of all, you're going to have to know when the player has double jumped, and I would highly suggest creating a new List and adding to that!...
At one point, I attempted this... was a huge pain in the butt, but got it working, then later removed it as it would be annoying for the purposes...
Separate names with a comma.