WarmakerT Sure, just use this line instead of the other: e.setVelocity((new Vector(mloc.getX() - loc.getX(), 0, mloc.getZ() -...
WarmakerT Integer dist = 5; List<Entity> nearby = player.getNearbyEntities(dist, dist, dist); for (Entity e : nearby) { Location loc =...
I have an SSD! D: Any way of saving them within the plugin (to ram), then saving it to file at the end? EDIT: Nevermind, thought of a way to...
Bump / Extra info: After even more logging (log all the things!), I've found much of the time it takes is from unloading / saving the chunks. Is...
Bump
Code: http://pastebin.com/QH6yYX4P Goal of the code: Generating lots of chunks (I mean lots of chunks, like tens of thousands) in a new world...
Well I knew how to get an EntityCreature and what not, but actually setting their pathfinding goals eludes me.
Jnorr44 If you get this figured out, could you send me some code? I've been trying to figure out how to add pathfinding goals to a creature, but...
nitrousspark world.spawnEntity(new Location(world, x, y, z), EntityType.ZOMBIE);
So which line is line 40?
TheDirtyDan What line is Main.java:40?
TheDirtyDan Post the error and the line the error points to
The player can be floating above the block though, so you have to check if player.getLocation().getY() % 1 == 0, but then that doesn't work for...
The problem with detecting if a player is on the ground is that it can get extremely complicated with things like, standing off the edge of...
TheDirtyDan You're trying to put them in a folder named "guilds" from what I can tell? If that's the case it needs to be something like: File...
Separate names with a comma.