@mythbusterma Yup didn't do that either, assuming you mean I used "implements Listener" across multiple classes.
@mythbusterma @Tecno_Wizard Sorry friends, couldn't reply on time. And no didn't listen for the event more than once, I checked all o my classes....
@SuperSniper Still 2 outputs
@EventHandler public void onEntityDeath(EntityDeathEvent e) { if (!(e.getEntity() instanceof Pig)) {...
@au2001 Still doesn't work :/ Does that normally work for you? It still gives me that same error: "Health must be between 0 and 20.0" @au2001...
@au2001 Yes. I think .setHealth just confuses the code into thinking I want to set its health to a number within its normal max health, nothing more.
@Ahmet094 Would this be in EntityDamageEntity event? And instead of multiplying the damage would dividing it to lower the damage work? I would...
i was wondering if it's possible to give a mob custom health? Meaning instead of the average amount of health they have I could set it to...
@nj2miami It's already basically done honestly. This was the last bit I needed. And thanks.
@nj2miami It's just a small chunk of it, it's for a minigame. When a player kills another player with a certain weapon the killer's weapon becomes...
@nj2miami huh, interesting, never looked at it that way. Man I can't believe I missed that that makes it so much simpler.
@nj2miami So I should just create an itemstack for the diamond sword and every other weapon used in getItemInHand().equals(ItemStack) is what...
@nj2miami As I said, those if conditions are not supposed to be the final product, they're just a mumble jumble in my desperate attempt at getting...
@nj2miami I promise you the code looks MUCH better when I started it. This is just me adding a BUNCH of different ethods in my desperate attempt...
@john2342 Erm thanks for testing my code I guess and yeah those variables are kinda for the future and @caderape everything else works but the...
Separate names with a comma.