The plugin has now been updated to v0.6! Changes are as follows: New mob type, ZombiePigman. New config option for Zombies. IsVillager Whether or...
Make it so the player has to be underwater for it to work.
To make it so it runs less often, make it so the player has to lose more air before incrementing the player's food level. @EventHandler public...
This code should be able to do it. public void moveTo(LivingEntity entity, Location moveTo, float speed) { EntityLiving nmsEntity =...
Digi I'm not doing stuff in the main thread between async tasks, I'm doing stuff in one, huge async task. I could separate them all up into...
Done. Is that just to improve performance, or will things break without it?
That works perfectly, thanks! I do need synchronous tasks, as I make several calls to the Bukkit API. Unless there's some way to make calls to...
Tirelessly Bukkit Tasks don't seem to have a join method Digi I can't run them all in one task because their's a bunch of calculations are going on...
Not exactly what you're asking, but you could probably adapt this to what you want to do with some math. public void moveTo(LivingEntity entity,...
Can't run them in a single task. How would I do that?
Alright, so I have a class that implements Runnable and is always called asynchronously. In that class's run method, I then run several synchronous...
The plugin has now been updated to v0.4! The changes are as follows: Now compiled with Java 6 for REAL this time. Built in kill counter added,...
ZArena v0.3.1 is now out! Changes are as follows: Updated to CB 1.4.7R0.1 Custom item enchantments are fixed. The ZArena player list for spout,...
ZArena v0.3 is now out! Changes are as follows: Added support for spout. Spout players can hit the 'o' key to open up ZArena spout options. Spout...
You have to loop through all entities in the world the block is in. If the entity is within x meters of the block, add it to a list of entities. When...
ZArena v0.2.3 is now out! Changes are as follows: Fixed bug where a FileNotFoundException will occasionally come up when stopping the server. Added...
[IMG] A fun arena based zombie survival game. Fight against wave after wave of unique, customizable zombies to see how far you can get before being...
The other threads make things fairly complicated. You can use one line of code to make an entity wear an item. ((CraftLivingEntity)...
Integer.toString(x).subString(0, 5);
String.format("%.2f", player.getLocation().getX()); Replace '2' in '%.2f' with however many decimal places you want.
Separate names with a comma.