@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...
Can anyone please tell me why whenever I kill somebody with this code active, if i have a diamond sword it skips straight to an iron sword and...
As requested, if the thread is just gonna mislead players, requesting thread delete.
Hiya, I'm here to teach all of you that don't know, how to make a /clearchat plugin! Basically, /clearchat just clears the whole chat and leaves...
I see a few errors but let's go from top to bottom. You dont need the ondisable stuff just do this. public void onEnable(){ } You also made a...
Any ideas on why it doesn't work then? I have none. The Gaming Grunts
Separate names with a comma.