This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
rikai's profile picture

Additional NBT data?

Started by rikai, 20 January 2013 - 07:28 AM
rikai #1
Posted 20 January 2013 - 08:28 AM
I was told this was possible to do in the IRC, so i figured i'd post it here.

I'd like to see the labels of computers/turtles/anything else relevant added to the NBT data of the tile entities if it's feasible possible.

I found myself in a situation today where i was trying to locate the location of several mysteriously missing turtles in the world (seemingly due to a bug) and wanted to verify they were actually no longer placed in the would and couldn't think of a way to locate them. Having the labels as NBT data would make this easy as it would allow me to search for the name as a value and find its location instantly.

I'm sure there are other uses but that's my use case, anyway. :)/>
Cloudy #2
Posted 20 January 2013 - 09:54 AM
The labels are stored in the labels.txt. From there you can find the ID and from there you can find it in the NBT.