public class LPvP implements Listener{ public void addItem(UUID playerid){ Player player = Bukkit.getPlayer(playerid); ItemStack...
Well I have tried that but it still throwed NullPointerException since the inventory have no contents
Hello! I'm trying to update player inventory after creating it. In this code "player.updateInventory();" throws NullPointerException even though...
Hello again! On specific event I want to make mob spawn and make it attack player(or make it aggressive). That mob is IronGolem. How do I spawn...
Thanks! Solved my problem: ItemStack pothaste = new ItemStack(Material.POTION, 1); ItemMeta pothastemeta = pothaste.getItemMeta(); PotionMeta...
Hello! I was searching for a way to add potions effects to potion item. Found no answer to that. Basically what I'm trying to accomplish is to...
Separate names with a comma.