What are you trying to achieve?
getEntitiesByClass<Arrow.class> Replace the < >, it's a simple method call, use parentheses. I just wrote this too quickly. I'm just showing...
Zombie also have a setBaby method. World.spawnEntity returns the entity, you can use that.
for (Arrow arrow : currentWorld.getEntitiesByClass<Arrow.class>) { Vector vector = arrow.getVelocity(); // Check if the arrow is moving,...
You have to put a valid list in your map before trying to use it. Here's an example: List<Vector> myList = new ArrayList<Vector>(); Map<Integer,...
Your piece of code is extremely difficult to understand. Anyway, you're creating new item stacks and then you check if they're present in the...
Don't use the PlayerMoveEvent for that, it's "extremely CPU intensive". You just have to schedule a task that runs every X ticks (10 represents...
I mean your .jar, if it's opened or accessed by another program it's possible that Craftbukkit can't use it.
When a player reconnects Craftbukkit / Minecraft creates a new Player object, it doesn't use the previous one. So if you're storing player objects...
Is your plugin's archive already opened by another program?
Not really, but you can achieve that with your permission plugin, theoretically.
Your maths are wrong, a diamond axe does 6 damage, mcMMO adds 1 damage every 50 level (cap at 250), a critical hit multiplies the damage by 2 in...
You're using a 3 month old build. ... Seriously.
I already told you, you should use a better message. Check the damager, the target, its health and the damage done. With this you'll see exactly...
Yes, and that exactly what happens, otherwise you would have a class cast exception on the next line: 2011-12-26 23:51:24 [SEVERE] Could not pass...
Do you really need to know the exact distance? If you only need to know if a point is inside a circle centered on another point, you don't need to...
romobomo An EntityDamageEvent doesn't necessarily involve an entity damager (for example, drowning), that why there is no .getDamager() method...
onEntityDamage? Entity receiver = event.getEntity(); if (event instanceof EntityDamageByEntityEvent) { Entity dealer =...
First, you cancel the event or set the damage to 0. You can even do both, and that's probably better if mod compatibility is a concern. Finally...
No I just gave you a way to check if a player is near another. Well, more specifically if a position in space is near another. Like I said you...
Separate names with a comma.