Only for the player, world.playSound would make it hearable for everyone.
Hint: player.isOp() is what you want to use... for (Player player : Bukkit.getOnlinePlayers()) { if (player.isOp())...
Pitch is the value you want. I guess 0 is straight, -1 down and 1 up. Edit: Ninja'd with right answer instead of mine. Well, at least pitch was...
I would try something like this:...
When creating a shaped reciepe, you pass the changed item stack... There is no need to listen to an event for that, just create a modified...
Just wrote that answer in the other thread of yours...
Cast it to a Sheep. Sheep sheep = (Sheep) player.getWorld().spawnEntity(location, EntityType.SHEEP); sheep.setCustomName("HerpDerp");...
Bukkit.getScheduler().runTaskLater(plugin, new Runnable() { @Override public void run() { // Your code } }, 20 * 60 * 60);...
Next time use google first ("Bukkit set entity name")... Pig pig = (Pig) player.getWorld().spawnEntity(location, EntityType.PIG);...
Create a class that implements InventoryHolder and pass that as argument if you are creating a custom inventory.
Here is your answer: <Edit by Moderator: Redacted bit url> This means that the plugin you are trying to install was compiled with Java 7, but you...
// Effect only! block.getWorld().playEffect(block.getLocation(), Effect.STEP_SOUND, block.getTypeId()); // Like a player block.breakNaturally();...
getPlayer().openWorkbench(Location location, boolean force);
Cryptite If you know how to use reflection, you should be able to port this to a more version indipendent util. If the version of the package...
Bukkit.getScheduler().runTaskLater(plugin, new Runnable() { // This is being run 1 tick after the runTaskLater() call... 20L would be 20 tick...
Separate names with a comma.