跳转至

未命名

文档版本:1.21.0.24

架构

attachables:
{
  string "format_version" : opt
  object "minecraft:attachable" : opt
  {
    object "description" : opt
    {
      object "animations" : opt
      {
        string "<any object property>" : opt
      }
      array "animation_controllers" : opt
      {
        object "<any array element>" : opt
        {
          string "<any object property>" : opt
        }
      }
      boolean "enable_attachables" : opt
      object "geometry" : opt
      {
        string "<any object property>" : opt
      }
      identifier "identifier"
      object "item" : opt
      {
        string "<any object property>" : opt
      }
      object "materials" : opt
      {
        string "<any object property>" : opt
      }
      string "min_engine_version" : opt
      object "particle_effects" : opt
      {
        string "<any object property>" : opt
      }
      object "particle_emitters" : opt
      {
        string "<any object property>" : opt
      }
      array "render_controllers" : opt
      {
        string "<any array element>" : opt
      }
      array "sound_effects" : opt
      {
        string "<any array element>" : opt
      }
      object "spawn_egg" : opt
      {
        string "base_colour" : opt
        string "overlay_color" : opt
        string "texture" : opt
        integer "texture_index" : opt
      }
      object "scripts" : opt
      {
        array "pre_animation" : opt
        {
          0 "<any array element>"
        }
        string "scale" : opt
        array "animate" : opt
        {
          string "<any array element>" : opt
          object "<any array element>" : opt
          {
            string "<any object property>" : opt
          }
        }
        0 "parent_setup"
      }
      object "textures" : opt
      {
        string "<any object property>" : opt
      }
    }
  }
}
format_versionstring
A version that tells minecraft what type of data format can be expected when reading this file.
minecraft:attachableobject
The attachables definition for 1.8.0
minecraft:attachable
descriptionobject
UNDOCUMENTED: description.
description
animationsobject
The connecting of animations in animations controllers with the actuall animations, names should corosponds.
animations
<any object property>string
UNDOCUMENTED: additionalProperties.
animation_controllersarray
UNDOCUMENTED: animation controllers.
animation_controllers
<any array element>object
UNDOCUMENTED: animation controllers.
<any array element>
<any object property>string
UNDOCUMENTED: additionalProperties.
enable_attachablesboolean
UNDOCUMENTED: enable attachables.
geometryobject
UNDOCUMENTED: geometry.
geometry
<any object property>string
UNDOCUMENTED: additionalProperties.
identifieridentifier
UNDOCUMENTED: identifier.
identifier:
string
itemobject
UNDOCUMENTED.
item
<any object property>string
UNDOCUMENTED.
materialsobject
UNDOCUMENTED: materials.
materials
<any object property>string
UNDOCUMENTED: additionalProperties.
min_engine_versionstring
UNDOCUMENTED: Minimum engine version.
particle_effectsobject
UNDOCUMENTED: particle effects.
particle_effects
<any object property>string
UNDOCUMENTED: additionalProperties.
particle_emittersobject
UNDOCUMENTED: particle emitters.
particle_emitters
<any object property>string
UNDOCUMENTED: additionalProperties.
render_controllersarray
UNDOCUMENTED: render controllers.
render_controllers
<any array element>string
UNDOCUMENTED: render controllers.
sound_effectsarray
UNDOCUMENTED: sound effects.
sound_effects
<any array element>string
UNDOCUMENTED: sound effects.
spawn_eggobject
UNDOCUMENTED: spawn egg.
spawn_egg
base_colourstring
UNDOCUMENTED: base colour.
overlay_colorstring
UNDOCUMENTED: overlay color.
texturestring
UNDOCUMENTED: texture.
texture_indexinteger
UNDOCUMENTED: texture index.
scriptsobject
UNDOCUMENTED: scripts.
scripts
pre_animationarray
UNDOCUMENTED: pre aninamtion.
pre_animation
<any array element>0
UNDOCUMENTED: pre aninamtion.
0:
string
0:
number
scalestring
UNDOCUMENTED: scale.
animatearray
UNDOCUMENTED: animate.
animate
<any array element>string
UNDOCUMENTED: oneOf[0].
<any array element>object
UNDOCUMENTED: oneOf[1].
<any array element>
<any object property>string
UNDOCUMENTED: additionalProperties.
parent_setup0
texturesobject
UNDOCUMENTED: textures.
textures
<any object property>string
UNDOCUMENTED: additionalProperties.
attachables:
{
  string "format_version" : opt
  object "minecraft:attachable" : opt
  {
    object "description" : opt
    {
      object "animations" : opt
      {
        string "<any object property>" : opt
      }
      array "animation_controllers" : opt
      boolean "enable_attachables" : opt
      object "geometry" : opt
      {
        string "[a-zA-Z0-9_\.\-]+" : opt
      }
      identifier "identifier"
      object "item" : opt
      {
        string "<any object property>" : opt
      }
      object "materials" : opt
      {
        string "<any object property>" : opt
      }
      string "min_engine_version" : opt
      object "particle_effects" : opt
      {
        string "<any object property>" : opt
      }
      object "particle_emitters" : opt
      {
        string "<any object property>" : opt
      }
      array "render_controllers" : opt
      {
        string "<any array element>" : opt
      }
      object "scripts" : opt
      {
        array "animate" : opt
        {
          string "<any array element>" : opt
          object "<any array element>" : opt
          {
            string "<any object property>" : opt
          }
        }
        array "initialize" : opt
        {
          0 "<any array element>"
        }
        array "pre_animation" : opt
        {
          0 "<any array element>"
        }
        0 "parent_setup"
        0 "scale"
      }
      array "sound_effects" : opt
      {
        string "<any array element>" : opt
      }
      object "spawn_egg" : opt
      {
        string "base_colour" : opt
        string "overlay_color" : opt
        string "texture" : opt
        integer "texture_index" : opt
      }
      object "textures" : opt
      {
        string "<any object property>" : opt
      }
    }
  }
}
format_versionstring
A version that tells minecraft what type of data format can be expected when reading this file.
minecraft:attachableobject
The attachables definition.
minecraft:attachable
descriptionobject
UNDOCUMENTED: description.
description
animationsobject
The collection of animations references.
animations
<any object property>string
A single animation reference.
animation_controllersarray
The specification of animation controllers.
animation_controllers
enable_attachablesboolean
UNDOCUMENTED: enable attachables.
geometryobject
The geometry specification.
geometry
[a-zA-Z0-9_\.\-]+string
A single geometry reference.
identifieridentifier
UNDOCUMENTED: identifier.
itemobject
UNDOCUMENTED.
item
<any object property>string
UNDOCUMENTED.
materialsobject
A collection of material references.
materials
<any object property>string
A single material reference.
min_engine_versionstring
The minimum engine needed to use this.
particle_effectsobject
A collection of particle effect references.
particle_effects
<any object property>string
A single particle effect reference.
particle_emittersobject
UNDOCUMENTED: particle emitters.
particle_emitters
<any object property>string
UNDOCUMENTED: additionalProperties.
render_controllersarray
UNDOCUMENTED: render controllers.
render_controllers
<any array element>string
UNDOCUMENTED: render controllers.
scriptsobject
UNDOCUMENTED: scripts.
scripts
animatearray
UNDOCUMENTED: animate.
animate
<any array element>string
UNDOCUMENTED: oneOf[0].
<any array element>object
UNDOCUMENTED: oneOf[1].
<any array element>
<any object property>string
UNDOCUMENTED: additionalProperties.
initializearray
UNDOCUMENTED: initialize.
initialize
<any array element>0
UNDOCUMENTED: initialize.
pre_animationarray
UNDOCUMENTED: pre aninamtion.
pre_animation
<any array element>0
UNDOCUMENTED: pre aninamtion.
parent_setup0
UNDOCUMENTED: parent setup.
scale0
UNDOCUMENTED: scale.
sound_effectsarray
UNDOCUMENTED: sound effects.
sound_effects
<any array element>string
UNDOCUMENTED: sound effects.
spawn_eggobject
UNDOCUMENTED: spawn egg.
spawn_egg
base_colourstring
UNDOCUMENTED: base colour.
overlay_colorstring
UNDOCUMENTED: overlay color.
texturestring
UNDOCUMENTED: texture.
texture_indexinteger
UNDOCUMENTED: texture index.
texturesobject
UNDOCUMENTED: textures.
textures
<any object property>string
UNDOCUMENTED: additionalProperties.
attachables:
{
  format_version "format_version"
}
format_versionformat_version
format_version:
string