Is there a way to test for an item that hasn't been renamed?

Solution 1:

I tried several commands but i could not find a way to check if a item was not renamed.

You can check, if a pickaxe was crafted:

Create a scoreboard:

/scoreboard objectives add craftedPick stat.craftItem.minecraft.wooden_pickaxe

Then the following commands in a chain:

/give @a[score_craftedPick_min=1] minecraft:wooden_pickaxe 1 1 {YOUR_TAGS}
/scoreboard players remove @a[score_craftedPick_min=1] craftedPick 1
/clear @a minecraft:wooden_pickaxe 0 1

enter image description here

Plugin to create those command block text entities: https://www.spigotmc.org/resources/commanddesciptor.23870/

Related: Replace the item crafted with a tag