Only filter data on block items, not all items.

Remapped by Srg2Source from Bukkit/CraftBukkit@5ebee02e4ac51bf8df11c75584d4dbd161666581