Read the replies. I can't get the BossBar object to .removeAll();
I don't have a problem with creating a new BossBar. When you spawn an ender dragon you get the purple bossbar at the top of your screen saying...
Yeah that's what I would use but I need to somehow get the actual Object of the BossBar so I can apply that method to it.
No such method :(
I've read that but my main problem is getting the original BossBar of the dragon and removing it. There's no EnderDragon.getBossBar() or anything.
Hello, I was wondering if anyone could help me in utilizing the different colored boss bars. When a new ender dragon is spawned I want to remove...
The getScheduler() is a BukkitScheduler, the scheduleSyncRepeatingTask is an int for some reason.
Runnable cancels after the 3 seconds and gives "Teleporting to guild home..." as intended. However, in the PlayerMoveEvent the "Teleport...
I got it to work, well sort of. It doesn't work when I delete my config.yml and reload the server but if I reload it again then it will work.
Originally I had the 2nd for loop within the first for loop and it worked fine, but then I realised that thats unnecessary and would make the 2nd...
Trying to make a plugin with the effect of having higher gravity pearls. Basically trying to make the pearl move down 1 block each time the...
So ever since 1.9 was released whenever you fill up your hunger bar, you heal a rediculous amount, like 2 health every second. I was wondering if...
Nevertheless, I followed what you suggested and it didn't work. Doesn't matter if it was redundant, your method didn't work either. If you don't...
@EventHandler public void onPotionDrink(PlayerItemConsumeEvent event) { Player player = event.getPlayer();...
I've already tried that. Potion is deprecated so that doesn't work.
if (item.getType().equals(Material.POTION) && item.getTypeId().equals(8257)) { Yeah I already tried that and it doesn't register it either. 1. The...
I'm extending the length of the regen potion to 2 minutes. Also I was having trouble testing whether it was a regen pot, as I tried...
Well I'm meant to be on 1.10.2 because I'm creating a PvP practice server for another server that I play on with the same setup like having...
I now have this: package me.vaape; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener;...
package me.vaape; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import...
Separate names with a comma.