auto: generated json schemas 2024-06-28
This commit is contained in:
@@ -1 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.animation_controller","defaultSnippets":[{"label":"New animation controller","body":{"format_version":"${1:1.10.0}","animation_controllers":{"controller.animation.${2:${TM_FILENAME/[\\.].*//}}":{"states":{"default":"^{$3}"}}}}}],"examples":[{"format_version":"1.20.41","animation_controllers":{"controller.animation.example":{"initial_state":"default","states":{"default":{"transitions":[{"state_1":"query.is_baby"}]},"state_1":{}}}}}],"definitions":{"animationspec":{"anyOf":[{"title":"Animation Specification","description":"A single string that specifies which animation there are.","type":"string"},{"type":"object","title":"Animation Specification","description":"A object specification on when to animate.","maxProperties":1,"minProperties":1,"additionalProperties":{"$ref":"#/definitions/A"}}]},"particle_effect_spec":{"additionalProperties":false,"type":"object","required":["effect"],"properties":{"bind_to_actor":{"type":"boolean","title":"Bind To Actor","description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).","const":false},"effect":{"type":"string","title":"Effect","description":"The name of a particle effect that should be played."},"locator":{"type":"string","title":"Locator","description":"The name of a locator on the actor where the effect should be located."},"pre_effect_script":{"type":"string","title":"Pre Effect Script","description":"A molang script that will be run when the particle emitter is initialized."}}},"commands":{"type":"string","description":"The event or commands to execute.","title":"Commands","anyOf":[{"pattern":"^@s .+$","title":"Event"},{"pattern":"^/.+$","title":"Command"},{"pattern":"^.+;$","title":"Molang"}]},"A":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"B":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.20.81","examples":["1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]}},"type":"object","title":"Animation Controller","description":"Animation controller for behaviors.","required":["format_version","animation_controllers"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/B"},"animation_controllers":{"type":"object","title":"Animation Controllers","description":"The animation controllers schema for.","propertyNames":{"pattern":"^controller\\.animation\\.[a-z\\.]+","examples":["controller.animation.example","controller.animation.example.foo"]},"additionalProperties":{"additionalProperties":false,"type":"object","title":"Animation Controller","description":"A single animation controller.","required":["states"],"minProperties":1,"properties":{"states":{"title":"States","description":"The states of this animation controller.","propertyNames":{"pattern":"[a-z\\.]+"},"minProperties":1,"type":"object","additionalProperties":{"additionalProperties":false,"title":"Animation State","description":"Animation state.","type":"object","examples":[{"animations":["anim.idle"],"transitions":[{"example":"query.is_sheared"}]}],"properties":{"animations":{"title":"Animations","description":"The animations definition for.","type":"array","items":{"$ref":"#/definitions/animationspec","description":"The key definition of an animation to play, defined in the entity.","title":"Animations"}},"on_entry":{"type":"array","description":"Events, commands or transitions to preform on entry of this state.","title":"On Entry","items":{"$ref":"#/definitions/commands"}},"on_exit":{"type":"array","description":"Events, commands or transitions to preform on exit of this state.","title":"On Exit","items":{"$ref":"#/definitions/commands"}},"transitions":{"title":"Transition","description":"The transition definition for.","minProperties":1,"type":"array","items":{"title":"Transition","description":"A transition to another state.","type":"object","maxProperties":1,"minProperties":1,"examples":[{"default":"query.is_chested"}],"additionalProperties":{"$ref":"#/definitions/A"}}}}}},"initial_state":{"title":"Initial State","description":"The state to start with, if not specified state at position 0 in the array is used.","type":"string","examples":["default"]}}}}}}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.animation_controller","defaultSnippets":[{"label":"New animation controller","body":{"format_version":"${1:1.10.0}","animation_controllers":{"controller.animation.${2:${TM_FILENAME/[\\.].*//}}":{"states":{"default":"^{$3}"}}}}}],"examples":[{"format_version":"1.10.0","animation_controllers":{"controller.animation.example":{"initial_state":"default","states":{"default":{"transitions":[{"state_1":"query.is_baby"}]},"state_1":{}}}}}],"definitions":{"animationspec":{"anyOf":[{"title":"Animation Specification","description":"A single string that specifies which animation there are.","type":"string"},{"type":"object","title":"Animation Specification","description":"A object specification on when to animate.","maxProperties":1,"minProperties":1,"additionalProperties":{"$ref":"#/definitions/A"}}]},"particle_effect_spec":{"additionalProperties":false,"type":"object","required":["effect"],"properties":{"bind_to_actor":{"type":"boolean","title":"Bind To Actor","description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).","const":false},"effect":{"type":"string","title":"Effect","description":"The name of a particle effect that should be played."},"locator":{"type":"string","title":"Locator","description":"The name of a locator on the actor where the effect should be located."},"pre_effect_script":{"type":"string","title":"Pre Effect Script","description":"A molang script that will be run when the particle emitter is initialized."}}},"commands":{"type":"string","description":"The event or commands to execute.","title":"Commands","anyOf":[{"pattern":"^@s .+$","title":"Event"},{"pattern":"^/.+$","title":"Command"},{"pattern":"^.+;$","title":"Molang"}]},"A":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]}},"type":"object","title":"Animation Controller","description":"Animation controller for behaviors.","required":["format_version","animation_controllers"],"additionalProperties":false,"properties":{"format_version":{"type":"string","const":"1.10.0"},"animation_controllers":{"type":"object","title":"Animation Controllers","description":"The animation controllers schema for.","propertyNames":{"pattern":"^controller\\.animation\\.[a-z\\.]+","examples":["controller.animation.example","controller.animation.example.foo"]},"additionalProperties":{"additionalProperties":false,"type":"object","title":"Animation Controller","description":"A single animation controller.","required":["states"],"minProperties":1,"properties":{"states":{"title":"States","description":"The states of this animation controller.","propertyNames":{"pattern":"[a-z\\.]+"},"minProperties":1,"type":"object","additionalProperties":{"additionalProperties":false,"title":"Animation State","description":"Animation state.","type":"object","examples":[{"animations":["anim.idle"],"transitions":[{"example":"query.is_sheared"}]}],"properties":{"animations":{"title":"Animations","description":"The animations definition for.","type":"array","items":{"$ref":"#/definitions/animationspec","description":"The key definition of an animation to play, defined in the entity.","title":"Animations"}},"on_entry":{"type":"array","description":"Events, commands or transitions to preform on entry of this state.","title":"On Entry","items":{"$ref":"#/definitions/commands"}},"on_exit":{"type":"array","description":"Events, commands or transitions to preform on exit of this state.","title":"On Exit","items":{"$ref":"#/definitions/commands"}},"transitions":{"title":"Transition","description":"The transition definition for.","minProperties":1,"type":"array","items":{"title":"Transition","description":"A transition to another state.","type":"object","maxProperties":1,"minProperties":1,"examples":[{"default":"query.is_chested"}],"additionalProperties":{"$ref":"#/definitions/A"}}}}}},"initial_state":{"title":"Initial State","description":"The state to start with, if not specified state at position 0 in the array is used.","type":"string","examples":["default"]}}}}}}
|
||||
2
behavior/animations/animations.json
generated
2
behavior/animations/animations.json
generated
@@ -1 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.animations","defaultSnippets":[{"label":"New animation","body":{"format_version":"${1:1.10.0}","animations":{"animation.${2:${TM_FILENAME/[\\.].*//}}":"^{$3}"}}}],"examples":[{"format_version":"1.20.41","animations":{"animation.example":{}}}],"definitions":{"animationspec":{"anyOf":[{"title":"Animation Specification","description":"A single string that specifies which animation there are.","type":"string"},{"type":"object","title":"Animation Specification","description":"A object specification on how to transition.","maxProperties":1,"minProperties":1,"additionalProperties":{"$ref":"#/definitions/A"}}]},"particle_effect_spec":{"additionalProperties":false,"type":"object","required":["effect"],"properties":{"bind_to_actor":{"title":"Bind To Actor","type":"boolean","description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).","const":false},"effect":{"type":"string","description":"The name of a particle effect that should be played.","title":"Effect"},"locator":{"type":"string","description":"The name of a locator on the actor where the effect should be located.","title":"Locator"},"pre_effect_script":{"type":"string","description":"A molang script that will be run when the particle emitter is initialized.","title":"Pre Effect Script"}}},"commands":{"type":"string","description":"The event or commands to execute.","title":"Commands","anyOf":[{"pattern":"^.*=.*;$","title":"Variable","description":"Sets the value to a molang variable."},{"pattern":"^/[a-z].*$","title":"Minecraft Command","description":"Executes a minecraft command."},{"pattern":"[A-Za-z][a-z]*\\.[a-z_0-9]*","title":"Molang"},{"pattern":"^@s .*$","title":"Event","description":"An event to be called upon within the executing entity."}]},"A":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"B":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.20.81","examples":["1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"C":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]}},"type":"object","title":"Animation","description":"Animation for behavior for.","required":["format_version","animations"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/B"},"animations":{"title":"Animations Schema","description":"The animation specification.","type":"object","propertyNames":{"pattern":"^animation\\.[a-z\\.]+"},"additionalProperties":{"title":"Animation","type":"object","description":"A single animation definition for.","additionalProperties":false,"propertyNames":{"examples":["animation.example.foo"]},"properties":{"animation_length":{"type":"number","description":"The time in seconds this animation will last.","title":"Animation Length"},"loop":{"type":"boolean","description":"Whenever this animation should loop once it reaches the end, will only happen if the animation is still active.","title":"Loop"},"timeline":{"title":"Timeline","description":"A timeline specification, property names are timestamps.","type":"object","propertyNames":{"pattern":"^(\\d+\\.\\d+|\\d+)$","examples":["0.0","1.0"]},"additionalProperties":{"oneOf":[{"type":"string","$ref":"#/definitions/commands"},{"type":"array","title":"Collection Timelime Items","items":{"$ref":"#/definitions/commands"}}]}},"anim_time_update":{"title":"Animation Time Update","description":"How does time pass when playing the animation. Defaults to `query.anim_time + query.delta_time` which means advance in seconds.","$ref":"#/definitions/C"}}}}}}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.animations","defaultSnippets":[{"label":"New animation","body":{"format_version":"${1:1.10.0}","animations":{"animation.${2:${TM_FILENAME/[\\.].*//}}":"^{$3}"}}}],"examples":[{"format_version":"1.10.0","animations":{"animation.example":{}}}],"definitions":{"animationspec":{"anyOf":[{"title":"Animation Specification","description":"A single string that specifies which animation there are.","type":"string"},{"type":"object","title":"Animation Specification","description":"A object specification on how to transition.","maxProperties":1,"minProperties":1,"additionalProperties":{"$ref":"#/definitions/A"}}]},"particle_effect_spec":{"additionalProperties":false,"type":"object","required":["effect"],"properties":{"bind_to_actor":{"title":"Bind To Actor","type":"boolean","description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).","const":false},"effect":{"type":"string","description":"The name of a particle effect that should be played.","title":"Effect"},"locator":{"type":"string","description":"The name of a locator on the actor where the effect should be located.","title":"Locator"},"pre_effect_script":{"type":"string","description":"A molang script that will be run when the particle emitter is initialized.","title":"Pre Effect Script"}}},"commands":{"type":"string","description":"The event or commands to execute.","title":"Commands","anyOf":[{"pattern":"^.*=.*;$","title":"Variable","description":"Sets the value to a molang variable."},{"pattern":"^/[a-z].*$","title":"Minecraft Command","description":"Executes a minecraft command."},{"pattern":"[A-Za-z][a-z]*\\.[a-z_0-9]*","title":"Molang"},{"pattern":"^@s .*$","title":"Event","description":"An event to be called upon within the executing entity."}]},"A":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"B":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]}},"type":"object","title":"Animation","description":"Animation for behavior for.","required":["format_version","animations"],"additionalProperties":false,"properties":{"format_version":{"type":"string","const":"1.10.0"},"animations":{"title":"Animations Schema","description":"The animation specification.","type":"object","propertyNames":{"pattern":"^animation\\.[a-z\\.]+"},"additionalProperties":{"title":"Animation","type":"object","description":"A single animation definition for.","additionalProperties":false,"propertyNames":{"examples":["animation.example.foo"]},"properties":{"animation_length":{"type":"number","description":"The time in seconds this animation will last.","title":"Animation Length"},"loop":{"type":"boolean","description":"Whenever this animation should loop once it reaches the end, will only happen if the animation is still active.","title":"Loop"},"timeline":{"title":"Timeline","description":"A timeline specification, property names are timestamps.","type":"object","propertyNames":{"pattern":"^(\\d+\\.\\d+|\\d+)$","examples":["0.0","1.0"]},"additionalProperties":{"oneOf":[{"type":"string","$ref":"#/definitions/commands"},{"type":"array","title":"Collection Timelime Items","items":{"$ref":"#/definitions/commands"}}]}},"anim_time_update":{"title":"Animation Time Update","description":"How does time pass when playing the animation. Defaults to `query.anim_time + query.delta_time` which means advance in seconds.","$ref":"#/definitions/B"}}}}}}
|
||||
2
behavior/biomes/biomes.json
generated
2
behavior/biomes/biomes.json
generated
File diff suppressed because one or more lines are too long
2
behavior/blocks/blocks.json
generated
2
behavior/blocks/blocks.json
generated
File diff suppressed because one or more lines are too long
2
behavior/cameras/presets/cameras.json
generated
2
behavior/cameras/presets/cameras.json
generated
@@ -1 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.cameras.preset","defaultSnippets":[{"format_version":"${1:1.20.41}","minecraft:npc_dialogue":{"identifier":"$2","inherit_from":"$3","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"examples":[{"format_version":"1.20.41","minecraft:npc_dialogue":{"identifier":"example:custom","inherit_from":"minecraft:free","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"type":"object","title":"Camera Preset","description":"A camera preset is a set of values that define a camera's position and rotation. This can be used to quickly set a camera to a specific position and rotation.","additionalProperties":false,"required":["format_version","minecraft:camera_preset"],"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:camera_preset":{"identifier":{"type":"string","description":"The identifier of the camera preset. This is used to reference the camera preset in other components.","$ref":"#/definitions/B"},"inherit_from":{"type":"string","description":"The identifier of the camera preset to inherit from. This will copy the values from the inherited camera preset and then apply the values from this camera preset.","$ref":"#/definitions/B"},"player_effects":{"type":"boolean","description":"If true, the camera will apply player effects such as nausea and blindness.","default":false},"listener":{"type":"string","description":"Specifies what / who acts as the ears for the camera.","examples":["player"]},"pos_x":{"type":"number","description":"The x position of the camera.","default":0},"pos_y":{"type":"number","description":"The y position of the camera.","default":0},"pos_z":{"type":"number","description":"The z position of the camera.","default":0},"rot_x":{"type":"number","description":"The pitch of the camera. positive values look down, negative values look up.","default":0,"examples":[0,22.5,45,67.5,90,-22.5,-45,-67.5,-90]},"rot_y":{"type":"number","description":"The yaw of the camera. This is the direction the camera is facing.","default":0,"examples":[0,90,180,270]}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.20.81","examples":["1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"description":"A minecraft camera identifier.","examples":["namespace:camera"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Camera Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]}}}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.cameras.preset","defaultSnippets":[{"format_version":"${1:1.20.80}","minecraft:npc_dialogue":{"identifier":"$2","inherit_from":"$3","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"examples":[{"format_version":"1.20.80","minecraft:npc_dialogue":{"identifier":"example:custom","inherit_from":"minecraft:free","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"type":"object","title":"Camera Preset","description":"A camera preset is a set of values that define a camera's position and rotation. This can be used to quickly set a camera to a specific position and rotation.","additionalProperties":false,"required":["format_version","minecraft:camera_preset"],"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:camera_preset":{"identifier":{"type":"string","description":"The identifier of the camera preset. This is used to reference the camera preset in other components.","$ref":"#/definitions/B"},"inherit_from":{"type":"string","description":"The identifier of the camera preset to inherit from. This will copy the values from the inherited camera preset and then apply the values from this camera preset.","$ref":"#/definitions/B"},"player_effects":{"type":"boolean","description":"If true, the camera will apply player effects such as nausea and blindness.","default":false},"listener":{"type":"string","description":"Specifies what / who acts as the ears for the camera.","examples":["player"]},"pos_x":{"type":"number","description":"The x position of the camera.","default":0},"pos_y":{"type":"number","description":"The y position of the camera.","default":0},"pos_z":{"type":"number","description":"The z position of the camera.","default":0},"rot_x":{"type":"number","description":"The pitch of the camera. positive values look down, negative values look up.","default":0,"examples":[0,22.5,45,67.5,90,-22.5,-45,-67.5,-90]},"rot_y":{"type":"number","description":"The yaw of the camera. This is the direction the camera is facing.","default":0,"examples":[0,90,180,270]}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.20.81","examples":["1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"description":"A minecraft camera identifier.","examples":["namespace:camera"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Camera Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]}}}
|
||||
2
behavior/dialogue/dialogue.json
generated
2
behavior/dialogue/dialogue.json
generated
File diff suppressed because one or more lines are too long
2
behavior/entities/entities.json
generated
2
behavior/entities/entities.json
generated
File diff suppressed because one or more lines are too long
2
behavior/feature_rules/feature_rules.json
generated
2
behavior/feature_rules/feature_rules.json
generated
File diff suppressed because one or more lines are too long
2
behavior/items/items.json
generated
2
behavior/items/items.json
generated
File diff suppressed because one or more lines are too long
2
behavior/recipes/recipes.json
generated
2
behavior/recipes/recipes.json
generated
File diff suppressed because one or more lines are too long
2
behavior/spawn_rules/spawn_rules.json
generated
2
behavior/spawn_rules/spawn_rules.json
generated
File diff suppressed because one or more lines are too long
2
behavior/volumes/volumes.json
generated
2
behavior/volumes/volumes.json
generated
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user