Bukkit.getOnlinePlayers().size() EDIT: It might be Bukkit.getOnlinePlayers().length depending on what build you use IIRC
Well the goal is actually 3 blocks above in that case. It is getting high enough though. You can tell because I am able to push them onto the...
Yeah it seems to be jumping up but not also moving forward which is an issue... Looking for a possible fix though
I am creating a custom pathfinder. The pathfinder works, except when the entity reaches a block it needs to jump over it does this: [MEDIA] Here...
I changed it to use unique id's.
I guess I could use world UUID's. Although, it isn't too often people have two worlds with the same name as far as I know. Also, just so you all...
I like that idea @RingOfStorms and I will add comments to help out the developers. Working on rewriting a bit as we speak. EDIT: Updated the post...
Aimed towards beginning developers [SPOILER] So here is the new code. Special thanks to @RingOfStorms and @ChipDev for the suggestions: All in one...
Running with spigot.
Yeah I'm just confused as I use super similar code for a custom event I'm working on and have tested to work fine. public class...
What other events are you listening to in the MyListener class?
How are you getting negative numbers? xD What is the code you are using?
What do you mean the creation of the event?
What is line 64 of Main.java?
Looks like an error with registering events...
Errors?
--Snipped for wrong answer--
Sorry I missed your post, but how would I attach data to ItemMeta without modifying the lore or display name?
Okay thanks for the info. How do you all suggest I go about keeping a certain variable with an itemstack? Also, lores won't work because I don't...
I have made a subclass of ItemStack: public class SpecialStack extends ItemStack { public String warpName; public SpecialStack(Material...
Separate names with a comma.