spigot item break

Solutions on MaxInterview for spigot item break by the best coders in the world

showing results for - "spigot item break"
Enrico
01 Oct 2020
1ItemStack defaultBow = new ItemStack(Material.BOW);
2defaultBow.getItemMeta().setUnbreakable(true);
Annabelle
22 Aug 2019
1@EventHandler
2public void ItemBreak(PlayerItemBreakEvent e){
3	e.getPlayer().getInventory().addItem(e.getBrokenItem());
4}