未命名¶
文档版本:1.21.50.25
架构¶
0:
{
boolean "debug" : opt
format_version "format_version"
array "minecraft:geometry" : opt
{
object "<any array element>" : opt
{
object "description" : opt
{
string "identifier" : opt
number "texture_width" : opt
number "texture_height" : opt
array "visible_bounds_offset" : opt
{
number "<any array element>" : opt
}
number "visible_bounds_width" : opt
number "visible_bounds_height" : opt
}
array "bones" : opt
{
object "<any array element>" : opt
{
0 "binding"
array "cubes" : opt
{
object "<any array element>" : opt
{
number "inflate" : opt
boolean "mirror" : opt
array "origin" : opt
{
number "<any array element>" : opt
}
array "pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
boolean "reset" : opt
array "rotation" : opt
{
number "<any array element>" : opt
}
array "size" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
object "uv" : opt
{
object "north" : opt
{
array "uv" : opt
{
number "0..0" : opt
number "1..1" : opt
}
array "uv_size" : opt
string "material_instance" : opt
}
object "south" : opt
{
}
object "east" : opt
{
}
object "west" : opt
{
}
object "up" : opt
{
}
object "down" : opt
{
}
}
array "uv" : opt
{
number "0..0" : opt
number "1..1" : opt
}
}
}
boolean "debug" : opt
number "inflate" : opt
object "locators" : opt
{
object "<any object property>" : opt
{
array "offset" : opt
{
number "<any array element>" : opt
}
array "rotation" : opt
{
number "<any array element>" : opt
}
boolean "ignore_inherited_scale" : opt
}
array "<any object property>" : opt
{
number "<any array element>" : opt
}
}
boolean "mirror" : opt
string "name" : opt
string "parent" : opt
array "pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
object "poly_mesh" : opt
{
boolean "normalized_uvs" : opt
array "normals" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
}
}
string "polys" : opt
array "polys" : opt
{
array "<any array element>" : opt
{
array "<any array element>" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
}
array "positions" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
}
}
array "uvs" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
}
}
}
integer "render_group_id" : opt
array "rotation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "texture_meshes" : opt
{
object "<any array element>" : opt
{
array "local_pivot" : opt
{
number "<any array element>" : opt
}
array "position" : opt
{
number "<any array element>" : opt
}
array "rotation" : opt
{
number "<any array element>" : opt
}
array "scale" : opt
{
number "<any array element>" : opt
}
string "texture" : opt
}
}
}
}
string "cape" : opt
object "item_display_transforms" : opt
{
"gui" : opt
"firstperson_righthand" : opt
"firstperson_lefthand" : opt
"thirdperson_righthand" : opt
"thirdperson_lefthand" : opt
"ground" : opt
"fixed" : opt
"head" : opt
}
}
}
}
debug
:boolean- UNDOCUMENTED.
format_version
:format_version
minecraft:geometry
:array- The collection of geometries.
minecraft:geometry
<any array element>
:object- Model specification.
<any array element>
description
:object- The descriptions of the geometry.
description
identifier
:string- Entity definition and Client Block definition files refer to this geometry via this identifier.
texture_width
:number- Assumed width in texels of the texture that will be bound to this geometry.
texture_height
:number- Assumed height in texels of the texture that will be bound to this geometry.
visible_bounds_offset
:array- Offset of the visibility bounding box from the entity location point (in model space units).
visible_bounds_offset
<any array element>
:number
visible_bounds_width
:number- Width of the visibility bounding box (in model space units).
visible_bounds_height
:number- Height of the visible bounding box (in model space units).
bones
:array- Bones define the
skeleton
of the mob: the parts that can be animated, and to which geometry and other bones are attached.
bones
<any array element>
:object- A bones specification.
<any array element>
binding
:0- useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the
parent
field). If that is also missing, it will attach to the owning entity's root transform.
cubes
:array- This is the list of cubes associated with this bone.
cubes
<any array element>
:object- A single cube.
<any array element>
inflate
:number- Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only.
mirror
:boolean- Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's
mirror
setting for this cube.
origin
:array
origin
<any array element>
:number- This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units).
pivot
:array- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
pivot
0..0
:number- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
1..1
:number- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
2..2
:number- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
reset
:boolean- UNDOCUMENTED.
rotation
:array
rotation
<any array element>
:number- The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot.
size
:array- The cube extends this amount relative to its origin (in model space units).
size
0..0
:number- The cube extends this amount relative to its origin (in model space units).
1..1
:number- The cube extends this amount relative to its origin (in model space units).
2..2
:number- The cube extends this amount relative to its origin (in model space units).
uv
:object- This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.
uv
north
:object- Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis.
north
uv
:array- Specifies the uv origin for the face. For this face, it is the upper-left corner, when looking at the face with y being up.
uv
0..0
:number- The x component of the uv.
1..1
:number- The y component of the uv.
uv_size
:array- The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.
uv_size
material_instance
:string- Specifies the UV's for the face that stretches.
south
:object- Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis.
south
east
:object- Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis.
east
west
:object- Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis.
west
up
:object- Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis.
up
down
:object- Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis.
down
uv
:array- This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.
uv
0..0
:number- The x component of the uv.
1..1
:number- The y component of the uv.
debug
:boolean
inflate
:number- Grow this box by this additive amount in all directions (in model space units).
locators
:object- This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).
locators
<any object property>
:object
<any object property>
offset
:array- Position of the locator in model space.
offset
<any array element>
:number- Position of the locator in model space.
rotation
:array- Rotation of the locator in model space.
rotation
<any array element>
:number- Rotation of the locator in model space.
ignore_inherited_scale
:boolean- Discard scale inherited from parent bone.
<any object property>
:array- This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).
<any object property>
<any array element>
:number- Position of the locator in model space.
mirror
:boolean- Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped.
name
:string- Animation files refer to this bone via this identifier.
parent
:string- Bone that this bone is relative to. If the parent bone moves, this bone will move along with it.
pivot
:array- The bone pivots around this point (in model space units).
pivot
0..0
:number
1..1
:number
2..2
:number
poly_mesh
:object- EXPERIMENTAL A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.
poly_mesh
normalized_uvs
:boolean- If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively.
normals
:array- Vertex normals. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.
normals
<any array element>
:array- Vertex normals. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.
<any array element>
<any array element>
:number- Vertex normals. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.
polys
:string- If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either
tri_list
orquad_list
.
polys
:array- Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).
polys
<any array element>
:array- Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).
<any array element>
<any array element>
:array
<any array element>
0..0
:number- The index of the position.
1..1
:number- The index of the normal vertex.
2..2
:number- The index of the uv vertex.
positions
:array
positions
<any array element>
:array
<any array element>
<any array element>
:number- Vertex positions for the mesh. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections.
uvs
:array- Vertex UVs. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.
uvs
<any array element>
:array- Vertex UVs. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.
<any array element>
<any array element>
:number- Vertex UVs. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.
render_group_id
:integer
rotation
:array- This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order).
rotation
0..0
:number- in degrees.
1..1
:number- in degrees.
2..2
:number- in degrees.
texture_meshes
:array- EXPERIMENTAL Adds a mesh to the bone's geometry by converting texels in a texture into boxes.
texture_meshes
<any array element>
:object
<any array element>
local_pivot
:array- The pivot point on the texture (in texture space not entity or bone space) of the texture geometry.
local_pivot
<any array element>
:number- The pivot point on the texture (in texture space not entity or bone space) of the texture geometry.
position
:array- The position of the pivot point after rotation (in entity space not texture or bone space) of the texture geometry.
position
<any array element>
:number- The position of the pivot point after rotation (in entity space not texture or bone space) of the texture geometry.
rotation
:array- The rotation (in degrees) of the texture geometry relative to the offset.
rotation
<any array element>
:number- The rotation (in degrees) of the texture geometry relative to the offset.
scale
:array- The scale (in degrees) of the texture geometry relative to the offset.
scale
<any array element>
:number- The scale (in degrees) of the texture geometry relative to the offset.
texture
:string- The friendly-named texture to use.
cape
:string- UNDOCUMENTED.
item_display_transforms
:object
item_display_transforms
gui
firstperson_righthand
firstperson_lefthand
thirdperson_righthand
thirdperson_lefthand
ground
fixed
head
0:
{
boolean "debug" : opt
string "format_version" : opt
object "(^geometry.[\:a-zA-Z0-9_\-\.]+|format_version)" : opt
{
array "bones" : opt
{
object "<any array element>" : opt
{
array "bind_pose_rotation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "cubes" : opt
{
object "<any array element>" : opt
{
number "inflate" : opt
boolean "mirror" : opt
array "origin" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "size" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "uv" : opt
{
number "0..0" : opt
number "1..1" : opt
}
}
}
boolean "debug" : opt
number "inflate" : opt
object "locators" : opt
{
array "<any object property>" : opt
{
number "<any array element>" : opt
}
}
boolean "mirror" : opt
string "name" : opt
boolean "neverRender" : opt
string "parent" : opt
array "pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
object "poly_mesh" : opt
{
boolean "normalized_uvs" : opt
array "positions" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "normals" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "polys" : opt
{
array "<any array element>" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
}
integer "render_group_id" : opt
boolean "reset" : opt
array "rotation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "texture_meshes" : opt
{
object "<any array element>" : opt
{
string "texture" : opt
array "local_pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "position" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "rotation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "scale" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
}
}
}
string "cape" : opt
boolean "debug" : opt
integer "texturewidth" : opt
integer "textureheight" : opt
number "visible_bounds_width" : opt
number "visible_bounds_height" : opt
array "visible_bounds_offset" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
}
debug
:boolean- UNDOCUMENTED.
format_version
:string- A version that tells minecraft what type of data format can be expected when reading this file.
(^geometry.[\:a-zA-Z0-9_\-\.]+|format_version)
:object- Geometry specification.
(^geometry.[\:a-zA-Z0-9_\-\.]+|format_version)
bones
:array- The bones definitions.
bones
<any array element>
:object- The bone definition.
<any array element>
bind_pose_rotation
:array
bind_pose_rotation
0..0
:number
1..1
:number
2..2
:number
cubes
:array
cubes
<any array element>
:object
<any array element>
inflate
:number
mirror
:boolean
origin
:array
origin
0..0
:number
1..1
:number
2..2
:number
size
:array
size
0..0
:number
1..1
:number
2..2
:number
uv
:array
uv
0..0
:number
1..1
:number
debug
:boolean
inflate
:number
locators
:object
locators
<any object property>
:array
<any object property>
<any array element>
:number
mirror
:boolean
name
:string
neverRender
:boolean
parent
:string
pivot
:array
pivot
0..0
:number
1..1
:number
2..2
:number
poly_mesh
:object- UNDOCUMENTED.
poly_mesh
normalized_uvs
:boolean- UNDOCUMENTED.
positions
:array- UNDOCUMENTED.
positions
0..0
:number
1..1
:number
2..2
:number
normals
:array- UNDOCUMENTED.
normals
0..0
:number
1..1
:number
2..2
:number
polys
:array- UNDOCUMENTED.
polys
<any array element>
:array
<any array element>
0..0
:number
1..1
:number
2..2
:number
render_group_id
:integer- UNDOCUMENTED.
reset
:boolean- UNDOCUMENTED.
rotation
:array- UNDOCUMENTED.
rotation
0..0
:number
1..1
:number
2..2
:number
texture_meshes
:array- UNDOCUMENTED.
texture_meshes
<any array element>
:object
<any array element>
texture
:string
local_pivot
:array
local_pivot
0..0
:number
1..1
:number
2..2
:number
position
:array
position
0..0
:number
1..1
:number
2..2
:number
rotation
:array
rotation
0..0
:number
1..1
:number
2..2
:number
scale
:array
scale
0..0
:number
1..1
:number
2..2
:number
cape
:string- UNDOCUMENTED.
debug
:boolean- UNDOCUMENTED.
texturewidth
:integer- UNDOCUMENTED: texturewidth.
textureheight
:integer- UNDOCUMENTED: textureheight.
visible_bounds_width
:number- UNDOCUMENTED: visible bounds width.
visible_bounds_height
:number- UNDOCUMENTED: visible bounds height.
visible_bounds_offset
:array- UNDOCUMENTED: visible bounds offset.
visible_bounds_offset
0..0
:number
1..1
:number
2..2
:number
0:
{
boolean "debug" : opt
format_version "format_version"
array "minecraft:geometry" : opt
{
object "<any array element>" : opt
{
object "description" : opt
{
string "identifier" : opt
number "texture_width" : opt
number "texture_height" : opt
array "visible_bounds_offset" : opt
{
number "<any array element>" : opt
}
number "visible_bounds_width" : opt
number "visible_bounds_height" : opt
}
array "bones" : opt
{
object "<any array element>" : opt
{
0 "binding"
array "cubes" : opt
{
object "<any array element>" : opt
{
number "inflate" : opt
boolean "mirror" : opt
array "origin" : opt
{
number "<any array element>" : opt
}
array "pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
boolean "reset" : opt
array "rotation" : opt
{
number "<any array element>" : opt
}
array "size" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
object "uv" : opt
{
object "north" : opt
{
array "uv" : opt
{
number "0..0" : opt
number "1..1" : opt
}
array "uv_size" : opt
string "material_instance" : opt
}
object "south" : opt
{
}
object "east" : opt
{
}
object "west" : opt
{
}
object "up" : opt
{
}
object "down" : opt
{
}
}
array "uv" : opt
{
number "0..0" : opt
number "1..1" : opt
}
}
}
boolean "debug" : opt
number "inflate" : opt
object "locators" : opt
{
object "<any object property>" : opt
{
array "offset" : opt
{
number "<any array element>" : opt
}
array "rotation" : opt
{
number "<any array element>" : opt
}
boolean "ignore_inherited_scale" : opt
}
array "<any object property>" : opt
{
number "<any array element>" : opt
}
}
boolean "mirror" : opt
string "name" : opt
string "parent" : opt
array "pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
object "poly_mesh" : opt
{
boolean "normalized_uvs" : opt
array "normals" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
}
}
string "polys" : opt
array "polys" : opt
{
array "<any array element>" : opt
{
array "<any array element>" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
}
array "positions" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
}
}
array "uvs" : opt
{
array "<any array element>" : opt
{
number "<any array element>" : opt
}
}
}
integer "render_group_id" : opt
array "rotation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "texture_meshes" : opt
{
object "<any array element>" : opt
{
array "local_pivot" : opt
{
number "<any array element>" : opt
}
array "position" : opt
{
number "<any array element>" : opt
}
array "rotation" : opt
{
number "<any array element>" : opt
}
array "scale" : opt
{
number "<any array element>" : opt
}
string "texture" : opt
}
}
}
}
string "cape" : opt
}
}
}
debug
:boolean- UNDOCUMENTED.
format_version
:format_version
minecraft:geometry
:array- The collection of geometries.
minecraft:geometry
<any array element>
:object- Model specification.
<any array element>
description
:object- The descriptions of the geometry.
description
identifier
:string- Entity definition and Client Block definition files refer to this geometry via this identifier.
texture_width
:number- Assumed width in texels of the texture that will be bound to this geometry.
texture_height
:number- Assumed height in texels of the texture that will be bound to this geometry.
visible_bounds_offset
:array- Offset of the visibility bounding box from the entity location point (in model space units).
visible_bounds_offset
<any array element>
:number
visible_bounds_width
:number- Width of the visibility bounding box (in model space units).
visible_bounds_height
:number- Height of the visible bounding box (in model space units).
bones
:array- Bones define the
skeleton
of the mob: the parts that can be animated, and to which geometry and other bones are attached.
bones
<any array element>
:object- A bones specification.
<any array element>
binding
:0- useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the
parent
field). If that is also missing, it will attach to the owning entity's root transform.
cubes
:array- This is the list of cubes associated with this bone.
cubes
<any array element>
:object- A single cube.
<any array element>
inflate
:number- Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only.
mirror
:boolean- Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's
mirror
setting for this cube.
origin
:array
origin
<any array element>
:number- This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units).
pivot
:array- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
pivot
0..0
:number- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
1..1
:number- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
2..2
:number- If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.
reset
:boolean- UNDOCUMENTED.
rotation
:array
rotation
<any array element>
:number- The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot.
size
:array- The cube extends this amount relative to its origin (in model space units).
size
0..0
:number- The cube extends this amount relative to its origin (in model space units).
1..1
:number- The cube extends this amount relative to its origin (in model space units).
2..2
:number- The cube extends this amount relative to its origin (in model space units).
uv
:object- This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.
uv
north
:object- Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis.
north
south
:object- Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis.
south
east
:object- Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis.
east
west
:object- Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis.
west
up
:object- Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis.
up
down
:object- Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis.
down
uv
:array- This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.
uv
0..0
:number- The x component of the uv.
1..1
:number- The y component of the uv.
debug
:boolean
inflate
:number- Grow this box by this additive amount in all directions (in model space units).
locators
:object- This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).
locators
<any object property>
:object
<any object property>
offset
:array- Position of the locator in model space.
offset
<any array element>
:number- Position of the locator in model space.
rotation
:array- Rotation of the locator in model space.
rotation
<any array element>
:number- Rotation of the locator in model space.
ignore_inherited_scale
:boolean- Discard scale inherited from parent bone.
<any object property>
:array- This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).
<any object property>
<any array element>
:number- Position of the locator in model space.
mirror
:boolean- Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped.
name
:string- Animation files refer to this bone via this identifier.
parent
:string- Bone that this bone is relative to. If the parent bone moves, this bone will move along with it.
pivot
:array- The bone pivots around this point (in model space units).
pivot
0..0
:number
1..1
:number
2..2
:number
poly_mesh
:object- EXPERIMENTAL A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.
poly_mesh
normalized_uvs
:boolean- If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively.
normals
:array- Vertex normals. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.
normals
<any array element>
:array- Vertex normals. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.
<any array element>
<any array element>
:number- Vertex normals. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.
polys
:string- If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either
tri_list
orquad_list
.
polys
:array- Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).
polys
<any array element>
:array- Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).
<any array element>
<any array element>
:array
<any array element>
0..0
:number- The index of the position.
1..1
:number- The index of the normal vertex.
2..2
:number- The index of the uv vertex.
positions
:array
positions
<any array element>
:array
<any array element>
<any array element>
:number- Vertex positions for the mesh. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections.
uvs
:array- Vertex UVs. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.
uvs
<any array element>
:array- Vertex UVs. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.
<any array element>
<any array element>
:number- Vertex UVs. Can be either indexed via the
polys
section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.
render_group_id
:integer
rotation
:array- This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order).
rotation
0..0
:number- in degrees.
1..1
:number- in degrees.
2..2
:number- in degrees.
texture_meshes
:array- EXPERIMENTAL Adds a mesh to the bone's geometry by converting texels in a texture into boxes.
texture_meshes
<any array element>
:object
<any array element>
local_pivot
:array- The pivot point on the texture (in texture space not entity or bone space) of the texture geometry.
local_pivot
<any array element>
:number- The pivot point on the texture (in texture space not entity or bone space) of the texture geometry.
position
:array- The position of the pivot point after rotation (in entity space not texture or bone space) of the texture geometry.
position
<any array element>
:number- The position of the pivot point after rotation (in entity space not texture or bone space) of the texture geometry.
rotation
:array- The rotation (in degrees) of the texture geometry relative to the offset.
rotation
<any array element>
:number- The rotation (in degrees) of the texture geometry relative to the offset.
scale
:array- The scale (in degrees) of the texture geometry relative to the offset.
scale
<any array element>
:number- The scale (in degrees) of the texture geometry relative to the offset.
texture
:string- The friendly-named texture to use.
cape
:string- UNDOCUMENTED.