Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Format of the mcedit_waypoints.dat file
NBTFile: {2 Entries}
{
TAG_Compound(u'LastPosition'): {3 Entries}
{
TAG_Int(u'Dimension'): 0
TAG_List(u'Coordinates'): [3 TAG_Float(s)]
{
TAG_Float: 95.6182479858
TAG_Float: 59.3979263306
TAG_Float: -373.019592285
}
TAG_List(u'Rotation'): [2 TAG_Float(s)]
{
TAG_Float: -88.2006225586
TAG_Float: 10.59998703
}
}
TAG_List(u'Waypoints'): [3 TAG_Compound(s)]
{
TAG_Compound: {4 Entries}
{
TAG_String(u'Name'): Test_2
TAG_Int(u'Dimension'): 0
TAG_List(u'Coordinates'): [3 TAG_Float(s)]
{
TAG_Float: 95.6200027466
TAG_Float: 59.4000015259
TAG_Float: -373.019989014
}
TAG_List(u'Rotation'): [2 TAG_Float(s)]
{
TAG_Float: -88.2006225586
TAG_Float: 10.59998703
}
}
TAG_Compound: {4 Entries}
{
TAG_String(u'Name'): WithoutRot
TAG_Int(u'Dimension'): 0
TAG_List(u'Coordinates'): [3 TAG_Float(s)]
{
TAG_Float: 95.6200027466
TAG_Float: 59.4000015259
TAG_Float: -373.019989014
}
TAG_List(u'Rotation'): [2 TAG_Float(s)]
{
TAG_Float: 0.0
TAG_Float: 0.0
}
}
TAG_Compound: {4 Entries}
{
TAG_String(u'Name'): Test
TAG_Int(u'Dimension'): 0
TAG_List(u'Coordinates'): [3 TAG_Float(s)]
{
TAG_Float: 116.739997864
TAG_Float: 79.0199966431
TAG_Float: -389.190002441
}
TAG_List(u'Rotation'): [2 TAG_Float(s)]
{
TAG_Float: 175.799377441
TAG_Float: 2.09998607635
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment