Forums » Help » I need help with a blockdata command!


I am currently making a clicker like minigame in a minecraft single player world. I am trying to get this command to work:

/blockdata -1 58 14 {Command:"/summon pig ~ ~1 ~ {CustomName:"Pig ($5)",CustomNameVisible:1,NoAI:1,Glowing:1b}"}

It gives me an error when I do it. I found out that if I change it to this:

/blockdata -1 58 14 {Command:"/summon pig ~ ~1 ~ {CustomName:Pig ($5),CustomNameVisible:1,NoAI:1,Glowing:1b}"}

It works but the command it changes won't work because the CustomName is not in "". Please help me if you have an answer.


The first command was correct, however if your having problems with the first command you should tell me what the error is and then if it continues to not work than escape quotes.

The command with escaped quotes would be:

/blockdata -1 58 14 {Command:"/blockdata -1 58 14 {Command:\"/summon pig ~ ~1 ~ {CustomName:"Pig ($5)",CustomNameVisible:1,NoAI:1,Glowing:1b}\"}"}

If that doesn't work than explain to me why the first command of your's didn't work.

Hope I've helped. grinning


Engineering as a subject combines mathematics, logic and science to find solutions to our daily life problems. Over the last few decades, engineering as a profession has seen vast expansion.
top engineering college in chandigarh
engineering college in punjab
civil engineering college in chandigarh
Online cgc
top agriculture college in Punjab
Best MBA college in chandigarh


Moonlight Films and Theatre Studio operates under the Moonlight Films and Theatre Society , a non-profit association whose goals are to spread knowledge of and interest in theatrical and media arts through education.
Acting school in mumbai
Acting classes in delhi


Our academic pursuits, along with a range of extracurricular activities, help in honing a child's skills and ensuring that he/she grows to be a mature and responsible citizen.
cbse public school in greater noida
admission 2019 top school in greater noida


Apple products are revered for its quality, precision and great design. SRSG started its operations as Apple technology partners in the year 1997.
Apple reseller bhubaneswar
Radio station consultants
turnkey transmission service
ipad service center in bhubaneswar
Macbook air reseller in guwahati
Mac pro service center in Kolkata


The Health system is created in a proficient way of expanding the network in the multispecialty services. With the ever-growing population, the hospital has announced many ambitious plans that have ultimately lead to the excellence.
maternity Hospital in hisar
best IVF center in hisar
laparoscopy surgery in hisar
best play school in hisar


We offer calculated visibility for the design and development of technology platforms through ourintensive research-based approach, consistency in performance, and adept decision-making caliber.
online digital marketing in malaysia
top search engine optimization companies in malaysia
web design company in malaysia


Counter-Strike: Global Offensive is one of the most popular multiplayer games at the moment. For any CS GO fan out there, a good, well-reputed account is an absolute necessity. csgo accounts