Is there any good way to check for a critical hit? I'm puzzled on how to do it through a damage event. Thanks.
BlazeEyezz what is the error?
Herobrinedobem Stacktrace? IDE/Compile error? can you post the full code block with variables and such? it will just help wiyh finding the problem
Esophose Welp, that would seem like a good idea! It worked, thanks! :)
fireblast709 Ok, I tried that. I also tried setting the force boolean to true (update(true)). and tried each Size, but none of them changed the...
fireblast709 I could do that, however it still doesnt replace it with a small one if I call e.setCancelleled() right before cp.setSize(...); Any help?
fireblast709 Thanks! It still doesnt work though (it does print out 'block is ccoa.LARGE'): if(b.getType() == Material.COCOA) {...
TheMcScavenger if(b.getType() == Material.COCOA) { Bukkit.broadcastMessage("block is cocoa"); CocoaPlant cp = (CocoaPlant)...
Hi! I'm trying to make a cocoa plant small again, when someone breaks a cocoa plant block I do this (cp=CocoaPlant object, b=event#getBlock):...
aliano99 events registered? are you sure Wizard contains the attacker's name? (check)
travja I'm not sure what you mean, but ofcourse you can use implement CommandExecutor in differenty classes, register the same way. Annotation...
MCMatters .runTaskTimer(this, 0L, 40L);
AoH_Ruthless wow, thar was the problem! thanks ;)
AoH_Ruthless Nono :P I realized it looks that way. If I use a time in milliseconds I set it seems to work, but OfflinePlayer#getFirstPlayed()...
AoH_Ruthless Yeah, sorry - I was in a bit of a rush and I thought it would be a simple answer since It seemed to work when I didnt use the method....
So... I tried to calculate when a player first joined in days, hours, minutes and seconds. it went horribly wrong. this is my code: long time =...
AdamQpzm Because there isn't one - I think he thought that Method for regular teleportation, even though it would be pointless :p
xMinecraft you haven't registered your events?
Windows_i7_920 There's methods in World that you can gather entities from, such as World#getEntities() but I believe you can be more specific and...
:/ Really? Can't you guys just leave it be? If no-one really wanted to use it, or see it as useless, they won't bump it to the top.
Separate names with a comma.