When I look at the stack trace you gave, it seems like your CraftPack.getName method throws a nullpointerexception at line 78. The reason you get...
Oh, it's using the old structure for EntityDamaged, it's a little outdated.. [IMG]
I did it like this (Note that this will only stop boat to block breaking, not boat to entity): import org.bukkit.event.vehicle.VehicleListener;...
The /help command only gives the standard Minecraft help message, not the Essentials one. Also, /tp seems to use the server command instead too,...
Thanks :) That was not the thing I really was looking for, but by searching for the stick and wood dropping in the source file, I got around to...
Hi, I'm trying to stop a boat to be damaged by a block, is that possible? I've looked at the source files and it seems like the event just passes...
Try using index++ or index += 1 instead of index = +1 as that will cause index to be 1 all the time, which is not the intended behaviour.
It looks like you forgot to register the event in the main class. --- merged: Jan 30, 2011 5:11 PM --- And this.
Nice to hear :)
I was thinking about this too. But as I don't know everything about Java arrays, I thought that was okay, somehow. However, if you go with x and y...
It looks fine to me. If i get this right, the hole array is used for filling this back afterwards? Also, you might want to consider using this if...
Did you change the i+1 on the line below too?
As the y position of blocks is stored in an index-like format (0-127), this line will start with getting block #1, the 2nd lowest block in the...
Extremely useful! As this is the first time I'm developing plugins for a Minecraft mod, I haven't been quite sure on how to handle those...
That's odd, a Creeper should at least call the event..
It pretty much seems like the onDamage methods are not fully working yet, if you try standing next to an exploding Creeper, would that damage you?
I think you can use this Entity entity = event.getEntity(); if (entity instanceof Player) { //Important: The class Player, not a variable. This...
Ya, I've been creating Android Apps with Java and made some small Bukkit plugin, so I'm quite familiar. I should be able to create a plugin like...
If they added the CREATURE_SPAWN event (which is in the java docs but not in Bukkit yet), this would be a whole lot easier. Then one could not...
Separate names with a comma.