Minecraft / testfor command. How can I differentiate between Op Goldapfel and normal Goldapfel?

ka
- in Servers
2

I have a minecraft Varo server and I don't want to be able to work with gold ops. I can use the testfor comman to check whether someone has a gold apple in their inventory. However, the game can't differentiate between OP gold apple and normal gold apple. If anyone knows how to use a testfor command to search only for op gold apples and not normal gold apples then I would also be helped. Of course, the best thing would still be to ban the item directly

Be

As if you want to remove the op golden apple entirely, you can simply use this command

/ clear @a enchanted_golden_apple

ka

Enchanted_golden_apple does not exist in 1.8.9. That is exactly my problem