https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/player/PlayerItemDamageEvent.html Do some checks and then use #setCancelled
You can also spawn the items in with the unbreakable modifier. ItemMeta.spigot().setUnbreakable(true);