maybe declare a boolean, set it to false, and use a bukkit scheduled event to put it to true again after required cooldown time, and make the...
listen to PlayerMoveEvent and teleport the zombie to the to() location? Edit: you should probally only listen to location movement to teleport...
Cant you use an modified version of PathfinderGoalFollowOwner (or whatever the name was)?
My zombie won't move at all with only the custom pathfind goal, this is my PathfinderGoalWalktoTile: public class PathfinderGoalWalktoTile extends...
thanks for all your help! i ended up getting this: [IMG] with this code: VoronoiGenerator gen1 = new VoronoiGenerator(world.getSeed(),...
I now get this: [IMG] with this code: VoronoiGenerator gen1 = new VoronoiGenerator(world.getSeed(), (short) 0); for...
Ah, Thanks!! It'd be awesome if i could see the generateBlockSections aswell, since i can't seem to get that right
I'd really want a source to see this in action.. it confuses me.. How would i apply Difference21 to my chunkgenerator, from what i see, all i can...
well, the this.i() doesnt actually change the speed of it flying,running(mounted or unmounted).. so yeh... And for the health, i found this:...
I got it somewhat working, but the bat keeps its "awkward" flying (doesnt run in a straight line on floor), the bat has to disable bh() once a...
One Question though: How would i use this on for example a bat, since the EntityBat uses bh() instead of e() (because of the flying?)
I was just looking through EntityHorse yesterday, but couldn't find how this worked, thanks alot for this tutorial!
So is there any easy way to change the original code to the one for the ender dragon? Changing the entity id does change it to an ender dragon,...
I already have a custom mob class.. but i have no clue where to put the a*... do it like this? this.goalSelector.a(0, new PathfinderGoalFloat(this));
so.. how would i add this to the pathfinding of a custom mob..?
I tried that but somehow "some" tnt's would act normal while others work the way theyre intended... my code: @EventHandler(priority =...
In this plugin i'm making, i need the "activator" of a TNT block for my score system, how would i be able to get the player who activated the TNT?
nvm~ fixed
I got that in other functions, this is only the code related to it.. 14:58:53 [INFO] removed=true | contains=true And i might try that...
I have this list of players for a plugin i'm making.. but the size of the list stays the same when i remove something from the list(i assume that...
Separate names with a comma.