Try also this... but i cant see anything wrong with that code... new Location(p.getWorld(), x , y , z).getBlock().setTypeId(0);
you cant (or shouldnt) extend the player class. This means you cant do this: player.doSomethingNew() What you could do is:...
try to print those coordinates
TheTinySpider , maybe you could get the Location of the entity that you get the yaw, and use getDirection() Or toVector() I think that includes...
I think he means this: Block The function getData() or the setData() or maybe try with the bukkit metadata?
i don't understand your problem The player has one sword, and then you take it all and give him some wool? but when you restore it, it only...
// Items Indestructibles @EventHandler public void noWeaponBreakDamage( EntityDamageByEntityEvent event){ if( event.getDamager() instanceof...
Thanks Digi. I'll do that, and post it here in case someone needs it.
That seems a bit unefficient and unpractical, but it's a possibility...
If someone knows some better way, it'd be nice :) Thanks btw
Hi, i was wondering if there is a way to make an item (preferable a weapon) unbreakable. for example, a sword that never gets damaged (the damage...
Gungsu , thanks for the help. I wanted just that.
Thanks. Anyway, i tried using the external library craftbukkit (the server) for my proyect, and all of this worked.
I'm sorry i'm new in this, but i got this error, and i googled it and nothing. I was hoping you could help me understand why this happens:...
Separate names with a comma.