int pig_original_health = 30; int pig_new_health = 20; @EventHandler public void modifiedDamage(EntityDamageByEntityEvent e){...
Could you please describe it more detailed and somehow.. better understandable?
Try something like increasing the damage done to it, if the ways you tried since now didn't work. For example: Pig has 20 hearts and you hit it...
player.setItemInHand(new ItemStack(Material.getMaterial(123)).setData(23));
I would try it with right after "objective.setDisplayName(" §bQuests ");"
How about player.setScoreboard(Scoreboard) ? :)
I've been trying to solve this problem since a few hours now.. So basically what I'm doing is: - give the player a map on command - remove the...
The ressources section is not as much viewed as the other section. Sorry :* Already got it working.
http://forums.bukkit.org/threads/materialapi-create-new-items-and-blocks.123851/ I'm confused. I can't figure out how to use a map as "texture"....
I'm confused. I can't figure out how to use a map as "texture". Here's my code, pls help me out. I've been trying to get it working for 2 hours...
You shouldn't start with a plugin like this, if you don't even know what hashmaps are.. #no offense
An easier way would be to make a HashMap<String, Integer> , listen to the BlockPlaceEvent and every time a player places a block add one to his...
Add me on Skype please "ahmet.acikel2". I'll make it for you :)
Thanks for your informativ answer! I'll test different things out when I'm home again. Currently in the bus...
Separate names with a comma.