Anyways you're missing a parenthesis.
The point here is you learn Java before trying to code plugins.
I hate to be rude, and I also hate to bump old threads, but seriously? This thread is a perfect example of my belief in this: If you don't know...
Maybe calculate locs moving forward in a parabola with decreasing constants i.e. y = x^2 y = 0.5x^2 y = 0.25 x^2 and so on until it's horizontal?
I'm trying to delete a world that has been loaded but is, of course, unloaded before deletion. However, it looks like Bukkit keeps certain...
xTrollxDudex Oops, that was poorly worded. I meant to say that using all the entities in Bukkit.getServer().getWorld("world").getEntities() and...
World.getEntities() can have thousands of entities, so looping through them and comparing distances is probably the most inefficient thing ever....
Elimnator xTrollxDudex Actually it can be done with a bit of nms. I'm about to go to sleep and I need to wake up early tomorrow so I can't give...
I've been trying to make chickens. I found that by making a custom chicken class extend EntityMonster the chickens will begin dealing damage, and...
Dude... You have to tab your if/elses correctly or things will get messed up very quickly. For example, you need another } just above //STRENGTH...
lordbobby104 vector.setY(0); You set it to 1, which makes the velocity have an upward component of 1 block.
Compressions When I run into errors like these (where you have a bunch of method calls on one line), I find that the best way to pinpoint the...
darkhelmet Try checking if the event itself is an instanceeof EntityDamageByEntityEvent, then cast it and use (event.getDamager() instanceof...
MitchBourke It would help to explain the problem a little more than it "doesn't work as [you] hoped" :p Edit: I figured out the issue though,...
Niknea setCustomName("name") & setCustomNameVisible(true)
CrispyFri The event is thrown before the player actually respawns, so basically you're teleporting them before they're alive. Just use the...
I'm not too familiar with reading websites, but if it's showing <html> then it's probably reading the actual source of the website rather than the...
Jogy34 The method itself still works, just needs some reflection now since the biome stuff became private in 1.7 T_T Also, t() is only for zombies...
valon750 Follow the creating custom mobs tutorial in the Resources section, and override t(), aT(), and aU() to return empty strings.
WhatAaCow XvBaseballkidvX Don't go around spewing incorrect information... InventoryMoveItemEvent isn't even for players, and cannot be fired by...
Separate names with a comma.