Don't know if this is classified as spoon feeding:p
Check this thread: http://bukkit.org/threads/entity-collision-event.170299/
Show the code where you made the heroin injection item please.
Seems easy enough. I'll do it if I have the time.
Where exactly is your problem?
Also, in your commands class, you are checking if the sender ISN'T a player and then giving the items. You need to...
Well an endercrystal is an entity, so do zombie.setTarget(endercrystal)
Guess that isnt an option though :P. How do I skip the transformation thing though?
Doesn't BarAPI give the ability to remove it?
I was wondering how to remove the bossbar that shows up at the top of the screen when a wither is spawned.
Also, is it possible to make the wither...
Maybe use a PlayerMoveEvent?
Something like this should work:
If cmd.getname equals set hub then
loc = player.getLocation();//get the player first
To be honest, I don't know, I don't use config a lot.
Can't you just get the location instead of x, y, z, etc.?
Getting a bit off topic? :)
Also, playerinteractevent e and e.getPlayer and if player .getiteminhand.getType == firework then e.setCancelled...
And for others in case they need this as well:
Location loc = entity.getLocation();//this is the location on spawn
Separate names with a comma.