Filter negative values for all items.

Remapped by Srg2Source from Bukkit/CraftBukkit@39576c55c58c8146f1611942b01979a7e231b5e6