Skip to content

Instantly share code, notes, and snippets.

@Podshot
Created September 8, 2015 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Podshot/c30d9b980cde4e7485d6 to your computer and use it in GitHub Desktop.
Save Podshot/c30d9b980cde4e7485d6 to your computer and use it in GitHub Desktop.
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