That's what I'm doing, but doesn't matter anymore, though.
So, I'm utilizing the wither to create a custom boss bar. However, when it's health goes below half HP, it's starts glowing and you see it's...
boolean found = false; for (ItemStack stack : inv.getContents()) { if (stack != null && contraband.contains(stack.getType().name())) { found =...
bump, any help would be appreciated
So how would I set a ghast's path if I can't treat it as a creature? @97WaterPolo the code you gave me did not work, I got the same error. :c...
public void run() { if(GamePlayer.players.size() > 0) { for(GamePlayer player : GamePlayer.players) {...
Make them target players and such? Jnorr44
I'm currently working on a minigame, and two teams have a mob as their "guardian". When that guardian is in attack mode, it will go and attack...
Oh, my bad. I'm creating a new inventory each time with the same item contents. So, I'll refurbish the code and let you know if I'm still...
I'm creating the inventory when the command is ran, there is no inventory holder. If two people have the inv opened nobody and someone takes an...
Hello, So I'm trying to figure out how to do live inventory updates. When two players are currently in the same inventory, if one of them...
I get an ArrayIndexOutOfBounds exception whenever I try and do /kit in my plugin. public void giveKit(Player p, String kitname) {...
Can you show me an example of this? Thanks.
Must be an ArrayList<Location>
Command: if(cmd.getName().equalsIgnoreCase("savechest")) { if(!(sender instanceof Player)) return true; Player p = (Player) sender; Block tBlock...
if(cmd.getName().equalsIgnoreCase("savechest")) { if(!(sender instanceof Player)) return true; Player p = (Player) sender; Block b =...
SpongyBacon if you are too confused with what xTrollxDudex is telling you, try and do something simpler such as registering all the chests in an...
Do this to set a lore to an item. ItemStack i = new ItemStack(Material.COOKIE); ItemMeta iMeta = i.getItemMeta();...
Here's an example of what I'm currently doing(not exact code). Bukkit.getServer().getScheduler() .runTaskTimerAsynchronously(instance, new...
Title says it all. I can provide the code for which I remove blocks async if you really need it...but yea. Any suggestions or help?
Separate names with a comma.