@Funergy If I'm not mistaken, you won't get Concurrent modification exception when using Iterator.
Well, it's better to have it all in one place, so it doesn't get messy. @ChucknorisSR Try using switch(e.getSlot()) and check the slot instead of...
Do you register the Events in your main class?
@ChucknorisSR Could you please provide whole class where you show the GUIs?
@Konato_K Does it even matter? I supose he's not going to have like 500 people online on server, so the difference won't even matter.
@Funergy Whoops, my bad, those are suposed to be static methods. Going to fix it.
By guess is this is caused by PathfinderGoalHurtByTarget in targetSelector, which means you would need to clear it. public DTCWither(World world)...
Here is the WASD riding tutorial. He also refers to the custom entity tutorials.
This would be probably impossible, because the bat it self has a method which makes him move randomly when player is nearby. You would need to...
Well, first of, your constructor should look only like this: public DTCWither(World world) { super(world); // No need to setup goalSelector, it's...
You can use the HashMap, you just need to count them manualy. Use the entrySet() and Entry<String, String> in a foreach, check those who have the...
@Koningpeter meta.setDisplayName(""); works perfectly for me, what happens when you use it?
Here you go. if (args[0].equalsIgnoreCase("fly")){ if (args.length == 1){ Player p = (Player) sender;...
File folder = new File(Bukkit.getPluginManager().getPlugin("PlacementLimiter").getDataFolder() + File.separator + "UserData"); File f = new...
You're welcome :)
Separate names with a comma.