How to detect if a player has a Lime Carpet named "$5"
//ads -- adsterra.com -- native banner
?>
I'm working on a map, and at one part of it, you have to have a Lime Green Carpet in your inventory (I know the data for that is 14), and then it takes it and removes some blocks using /fill. I was using this:
/testfor @a {Inventory:[{id:<minecraft:carpet>,Damage:<14>s}]}
I got that off another question, but it has to be named: $5
Anyone know what I'm doing wrong? I'm no command expert, so I need some help.
Pictures about "How to detect if a player has a Lime Carpet named "$5""



$5 - $50 5A YoYo Buyers Guide 2020
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Charlotte May, Vidal Balielo Jr., Keegan Checks, Arina Krasnikova
