else if(player.getItemInHand().getItemMeta().getDisplayName().equals("Healing Wand") &&...
When I use this code:
List<Entity> inRange = player.getNearbyEntities(5,5,5);
I'm using PlayerInteractEvent because that fixes the name problem when it's in the crafted slot.
And after 10 hours of searching I read that...
Hmmm, but if you work with negative int's you can just make the > a < or is it something with bukkit ?
Hmmm Now I have this:
Now that I'm testing it.... it allready works the right way xD and no error.
the only thing that I have to do now is looking is the player need to...
I think that is my problem aswell, is there a good way to fix it, the block face thing I mean ?
It does work a lot better, thanks :)
Now the hard...
yea, but that isn't a big deal.
just make a:
Location location = event.getClickedBlock().GetLocation();
World world =...
I'm currenly creating a wall on a right click, but something weird happens.
First, this is my code:
can you give me a bit more information :X like an example or something xD :P
well, my question is in the title. I'm making a magic plugin (I know, done 1948093 times already but it is my second plugin, so...
That would be awesome xD but okay, then I need to thing of another way to do this, thank for the information/help :)
Could you give me an...
that is stupid :( are you 100% sure about that ?
Isn't there a way to make it with itemMeta or something ?
EDIT by Moderator: merged posts,...
And if the item has no durability, I'm using a stick xD
I'm making a custom item and everything is working, i'm destoring it when I used it 30 times.
but is there a way to have that health bar for a...
Have you tried setting it in a function, just for test reasons ?
try to use this.saveDefaultConfig(); on the onEnable instead of this.getconfig and this.saveconfig.
And do you get a config file or is that a...
Thanks :) it's working :)
desht, I don't get it, why is it in there then ? :S
But I have a stick in my hand :O
Separate names with a comma.