3

I have a mob(sheep) with custom name is "ABC" here:Sheep

I have tried this command : data get entity <sheep> CustomName enter image description here

But i want to it return ABC only, not {"text":"ABC"}. I also tried something like data get entity <sheep> CustomName.text but it didn't work. Thanks for any helps!

0

You must log in to answer this question.

Browse other questions tagged .