Some more misc fixes (#295)

* - Add mob effects enum

* - Add biome and biome tags to enum

* - Fix feature rules only showing with 1.13.0 format version

* - Replace 1.20.41 -> 1.20.80
- Make certain format versions restricted to 1.10.0

* - Remove example stick (having this here was annoying)

* - Fix

* - Remove empty sounds example

* - Misc fixes for entity components
This commit is contained in:
Xterionix
2024-06-29 00:06:53 +05:00
committed by GitHub
parent 39d1280d5c
commit 822ed538f9
50 changed files with 412 additions and 304 deletions

View File

@@ -18,7 +18,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": {
"initial_state": "default",
@@ -92,7 +92,7 @@
"required": ["format_version", "animation_controllers"],
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"format_version": { "type": "string", "const": "1.10.0" },
"animation_controllers": {
"type": "object",
"title": "Animation Controllers",

View File

@@ -12,7 +12,7 @@
}
}
],
"examples": [{ "format_version": "1.20.41", "animations": { "animation.example": {} } }],
"examples": [{ "format_version": "1.10.0", "animations": { "animation.example": {} } }],
"definitions": {
"animationspec": {
"anyOf": [
@@ -65,7 +65,7 @@
"required": ["format_version", "animations"],
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"format_version": { "type": "string", "const": "1.10.0" },
"animations": {
"title": "Animations Schema",
"description": "The animation specification.",

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "minecraft.behavior.biomes",
"type": "object",
"examples": [{ "plains": { "format_version": "1.20.41" } }],
"examples": [{ "plains": { "format_version": "1.20.80" } }],
"additionalProperties": {
"type": "object",
"title": "Biomes",

View File

@@ -15,7 +15,7 @@
{
"label": "New block",
"body": {
"format_version": "${1:1.20.41}",
"format_version": "${1:1.20.80}",
"minecraft:block": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}"

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.cameras.preset",
"defaultSnippets": [
{
"format_version": "${1:1.20.41}",
"format_version": "${1:1.20.80}",
"minecraft:npc_dialogue": {
"identifier": "$2",
"inherit_from": "$3",
@@ -17,7 +17,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:npc_dialogue": {
"identifier": "example:custom",
"inherit_from": "minecraft:free",

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.dialogue",
"defaultSnippets": [
{
"format_version": "${1:1.20.41}",
"format_version": "${1:1.20.80}",
"minecraft:npc_dialogue": {
"scenes": [
{
@@ -15,7 +15,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:npc_dialogue": {
"scenes": [
{

View File

@@ -5,7 +5,7 @@
{
"label": "New entity",
"body": {
"format_version": "${1:1.20.41}",
"format_version": "${1:1.20.80}",
"minecraft:entity": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
@@ -20,7 +20,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:entity": {
"description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true },
"component_groups": {},

View File

@@ -17,15 +17,16 @@
"$ref": "./types/subject.json"
},
"value": {
"description": "(Required) The tag to look for.",
"type": "string",
"title": "Value"
}
},
"examples": [
"description": "The tag to look for.",
"title": "Value",
"anyOf": [
{
"test": "has_biome_tag",
"value": "monster"
"$ref": "../../../../general/vanilla/biome_tag.json"
},
{
"$ref": "../../../../general/vanilla/biome.json"
}
]
}
}
}

View File

@@ -17,7 +17,7 @@
"$ref": "./types/subject.json"
},
"value": {
"type": "string",
"$ref": "../../../../general/vanilla/effect.json",
"description": "The specified mob effect.",
"title": "Value"
}

View File

@@ -17,35 +17,9 @@
"$ref": "./types/subject.json"
},
"value": {
"description": "The Biome type to test.",
"type": "string",
"enum": [
"beach",
"desert",
"extreme_hills",
"flat",
"forest",
"ice",
"jungle",
"mesa",
"mushroom_island",
"ocean",
"plain",
"river",
"savanna",
"stone_beach",
"swamp",
"taiga",
"the_end",
"the_nether"
],
"description": "The biome type to test.",
"$ref": "../../../../general/vanilla/biome.json",
"title": "Value"
}
},
"examples": [
{
"test": "is_biome",
"value": "beach"
}
]
}

View File

@@ -7,7 +7,6 @@
"properties": {
"priority": { "$ref": "types/priority.json" },
"celebration_sound": {
"default": "",
"description": "The sound event to trigger during the celebration.",
"title": "Celebration Sound",
"$ref": "../../../../general/sound_event.json"

View File

@@ -33,8 +33,7 @@
"loot_table": {
"title": "Loot Table",
"type": "string",
"description": "The loot table that contains the possible loot the entity can drop with this goal.",
"examples": ["loot_tables/"]
"description": "The loot table that contains the possible loot the entity can drop with this goal."
},
"max_head_look_at_height": {
"title": "Max Head Look At Height",

View File

@@ -16,13 +16,11 @@
"eat_mob_sound": {
"title": "Eat Mob Sound",
"$ref": "../../../../general/sound_event.json",
"default": "",
"description": "Sets the sound that should play when eating a mob."
},
"loot_table": {
"title": "Loot Table",
"type": "string",
"default": "",
"description": "The loot table for loot to be dropped when eating a mob."
},
"pull_in_force": {

View File

@@ -31,13 +31,13 @@
"title": "Lay Egg Sound",
"$ref": "../../../../general/sound_event.json",
"default": "lay_egg",
"description": "[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."
"description": "Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."
},
"lay_seconds": {
"title": "Lay Seconds",
"type": "number",
"default": 10.0,
"description": "[EXPERIMENTAL] Duration of the laying egg process in seconds."
"description": "Duration of the laying egg process in seconds."
},
"on_lay": {
"title": "On Lay",
@@ -61,20 +61,20 @@
"type": "array",
"default": ["minecraft:sand"],
"items": { "title": "Block ID", "$ref": "../../../../general/item/descriptor.json" },
"description": "[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."
"description": "Blocks that the mob can lay its eggs on top of."
},
"target_materials_above_block": {
"title": "Target Materials Above Block",
"type": "array",
"default": ["Air"],
"enum": ["Air", "Any", "Lava", "Water"],
"description": "[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."
"description": "Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."
},
"use_default_animation": {
"title": "Use Default Animation",
"type": "boolean",
"default": true,
"description": "[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."
"description": "Specifies if the default lay-egg animation should be played when the egg is placed or not."
}
},
"examples": [

View File

@@ -45,8 +45,7 @@
"item_table": {
"title": "Item Table",
"type": "string",
"default": "",
"description": "File path relative to the resource pack root for items to spawn list (loot table format)."
"description": "File path relative to the behavior pack root for items to spawn list (loot table format)."
},
"on_digging_start": {
"title": "On Digging Start",

View File

@@ -3,7 +3,7 @@
"additionalProperties": false,
"type": "object",
"title": "Sonic Boom",
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration",
"description": "Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration",
"properties": {
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },

View File

@@ -25,7 +25,7 @@
"type": "number",
"default": 45,
"description": "The Maximum time in seconds that the trader will be interested with showing it's trade items.",
"title": "Interest_time"
"title": "Interest Time"
},
"remove_item_time": {
"type": "number",

View File

@@ -23,7 +23,7 @@
"title": "Condition"
},
"event_name": {
"$ref": "../../../../general/sound_event.json",
"type": "string",
"description": "Level sound event to be played as the ambient sound.",
"title": "Event Name"
}

View File

@@ -12,7 +12,7 @@
"description": "The type of damage that is applied to entities that enter the damage range."
},
"damage_cooldown": {
"title": "damage cooldown",
"title": "Damage Cooldown",
"type": "number",
"default": 0,
"description": "Attack cooldown (in seconds) for how often this entity can attack a target."
@@ -35,7 +35,7 @@
"title": "Entity Filter"
},
"play_attack_sound": {
"title": "play attack sound",
"title": "Play Attack Sound",
"type": "boolean",
"default": 4.94066e-324,
"description": "If the entity should play their attack sound when attacking a target."

View File

@@ -13,8 +13,8 @@
},
"effect_name": {
"type": "string",
"$ref": "../../../../general/vanilla/effect.json",
"description": "Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.",
"examples": ["wither", "hunger"],
"title": "Effect Name"
},
"effect_duration": {

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.break_blocks",
"$id": "blockception.minecraft.behavior.entities.minecraft.break_blocks",
"type": "object",
"title": "Break Blocks",
"additionalProperties": false,

View File

@@ -92,7 +92,6 @@
},
"table": {
"type": "string",
"default": "",
"description": "File path relative to the resource pack root for this entity's trades.",
"title": "Table"
},

View File

@@ -11,23 +11,21 @@
"properties": {
"name": {
"title": "Name",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"description": "Effect name.",
"$ref": "../../../../general/vanilla/effect.json",
"type": "string"
},
"duration": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The duration of the effect.",
"$comment": "UNDOCUMENTED"
"description": "The duration of the effect."
},
"amplifier": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The amplifier of the effect.",
"$comment": "UNDOCUMENTED"
"description": "The amplifier of the effect."
}
}
}

View File

@@ -65,7 +65,6 @@
"interact_text": {
"title": "Interact Text",
"type": "string",
"default": "",
"description": "Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls."
},
"on_interact": {
@@ -98,13 +97,11 @@
"play_sounds": {
"title": "Play Sounds",
"$ref": "../../../../general/sound_event.json",
"default": "",
"description": "List of sounds to play when the interaction occurs."
},
"spawn_entities": {
"title": "Spawn Entities",
"type": "string",
"default": "",
"description": "List of entities to spawn when the interaction occurs."
},
"spawn_items": {

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.item_controllable",
"description": "Efines what items can be used to control this entity while ridden.",
"description": "Defines what items can be used to control this entity while ridden.",
"type": "object",
"title": "Item Controllable",
"additionalProperties": false,

View File

@@ -30,16 +30,8 @@
},
"mob_effect": {
"title": "Mob Effect",
"type": "string",
"default": "",
"$ref": "../../../../general/vanilla/effect.json",
"description": "The mob effect that is applied to entities that enter this entities effect range."
}
},
"examples": [
{
"effect_range": 0.2,
"effect_time": 10,
"mob_effect": ""
}
]
}

View File

@@ -12,13 +12,8 @@
"uniqueItems": true,
"minItems": 1,
"items": {
"type": "string"
"$ref": "../../../../general/vanilla/effect.json"
}
}
},
"examples": [
{
"mob_effects": [ "oozing" ]
}
]
}

View File

@@ -13,7 +13,6 @@
"properties": {
"name_filter": {
"type": "string",
"default": "",
"description": "List of special names that will cause the events defined in `on_named` to fire.",
"title": "Name Filter"
},

View File

@@ -37,7 +37,6 @@
},
"filter": {
"type": "string",
"default": "",
"description": "Entity Definitions defined here can't be hurt by the projectile.",
"title": "Filter"
},
@@ -429,8 +428,7 @@
},
"effect": {
"title": "Effect",
"type": "string",
"default": "not set",
"$ref": "../../../../general/vanilla/effect.json",
"description": "The identifier of the mob entity to affect."
},
"visible": {
@@ -696,7 +694,6 @@
}
},
"examples": [
{},
{
"anchor": 0,
"angle_offset": 0,

View File

@@ -1,7 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.shooter",
"description": "Defines the entity's ranged attack behavior.",
"$comment": "As of 1.19.60 & out of exp 1.20.10",
"type": "object",
"title": "Shooter",
"additionalProperties": false,
@@ -15,7 +14,6 @@
"def": {
"title": "Def",
"type": "string",
"examples": ["minecraft:arrow", "minecraft:small_fireball", "minecraft:thrown_trident"],
"description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"
},
"magic": {

View File

@@ -46,7 +46,6 @@
},
"spawn_entity": {
"type": "string",
"default": "",
"description": "Identifier of the entity to spawn, leave empty to spawn the item defined above instead.",
"title": "Spawn Entity"
},

View File

@@ -11,7 +11,7 @@
"description": "List of effects to add to this entity after adding this component.",
"items": {
"oneOf": [
{ "type": "string" },
{ "$ref": "../../../../general/vanilla/effect.json" },
{
"type": "object",
"additionalProperties": false,
@@ -41,7 +41,7 @@
"description": "Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."
},
"effect": {
"type": "string",
"$ref": "../../../../general/vanilla/effect.json",
"title": "Effect",
"description": "The string identifier of the status effect to add. These are the same as used in the /effect command."
},

View File

@@ -1,168 +0,0 @@
{
"$id": "blockception.minecraft.behavior.feature_rules.1.13.0",
"type": "object",
"title": "Feature Rules 1.13.0",
"description": "Each feature rule controls exactly one feature and serves as the root of a chain of feature data.",
"additionalProperties": false,
"required": ["format_version", "minecraft:feature_rules"],
"minProperties": 2,
"maxProperties": 2,
"definitions": {
"coord_dist": {
"title": "",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"oneOf": [
{
"$ref": "../../../molang/number.json",
"description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
},
{
"type": "object",
"description": "Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.",
"additionalProperties": false,
"examples": [{ "numerator": 1, "denominator": 1 }],
"properties": {
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
},
"denominator": {
"title": "Denominator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
}
}
}
]
}
},
"properties": {
"format_version": {
"const": "1.13.0",
"description": "Specifies the version of the game this entity was made in. Minimum supported version is 1.13.0. Current supported version is 1.13.0.",
"title": "Format Version"
},
"minecraft:feature_rules": {
"title": "Feature Rules",
"description": "Each feature rule controls exactly one feature and serves as the root of a chain of feature data.",
"type": "object",
"additionalProperties": false,
"required": ["description", "conditions"],
"properties": {
"description": {
"title": "Description",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"required": ["identifier", "places_feature"],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.",
"type": "string",
"$ref": "../../../general/feature/identifier.json"
},
"places_feature": {
"title": "Places Feature",
"description": "Named reference to the feature controlled by this rule.",
"type": "string"
}
}
},
"conditions": {
"title": "Conditions",
"description": "Parameters to control where and when the feature will be placed.",
"type": "object",
"additionalProperties": false,
"required": ["placement_pass"],
"properties": {
"placement_pass": {
"title": "Placement pass",
"description": "When the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.",
"type": "string",
"enum": [
"pregeneration_pass",
"first_pass",
"before_underground_pass",
"underground_pass",
"after_underground_pass",
"before_surface_pass",
"surface_pass",
"after_surface_pass",
"before_sky_pass",
"sky_pass",
"after_sky_pass",
"final_pass"
]
},
"minecraft:biome_filter": {
"title": "Placement pass",
"description": "List of filter tests to determine which biomes this rule will attach to.",
"$ref": "../../entities/filters/filters.json"
}
}
},
"distribution": {
"title": "Distribution",
"description": "Parameters controlling the initial scatter of the feature.",
"type": "object",
"additionalProperties": false,
"required": ["iterations"],
"properties": {
"coordinate_eval_order": {
"title": "Coordinate Eval Order",
"description": "The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to `xzy`.",
"type": "string",
"enum": ["xyz", "xzy", "yxz", "yzx", "zxy", "zyx"]
},
"iterations": {
"title": "Iterations",
"description": "Number of scattered positions to generate.",
"$ref": "../../../molang/number.json"
},
"scatter_chance": {
"title": "Scatter Chance",
"oneOf": [
{
"$ref": "../../../molang/number.json",
"description": "Probability (0-100] that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."
},
{
"type": "object",
"description": "Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.",
"additionalProperties": false,
"properties": {
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
},
"denominator": {
"title": "Denominator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
}
}
}
]
},
"x": { "title": "X", "$ref": "#/definitions/coord_dist" },
"z": { "title": "Y", "$ref": "#/definitions/coord_dist" },
"y": { "title": "Z", "$ref": "#/definitions/coord_dist" }
}
}
}
}
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.feature_rules",
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:feature_rules": {
"minecraft:ore_feature": {
"description": {
@@ -15,8 +15,13 @@
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.13.0" } } }, "then": { "$ref": "./1.13.0/feature_rules.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
"type": "object",
"title": "Feature Rules",
"description": "Each feature rule controls exactly one feature and serves as the root of a chain of feature data.",
"required": ["format_version", "minecraft:feature_rules"],
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"minecraft:feature_rules": { "$ref": "./format/minecraft.feature_rules.json" }
}
}

View File

@@ -0,0 +1,149 @@
{
"$id": "blockception.minecraft.behavior.feature_rules.minecraft.feature_rules",
"type": "object",
"title": "Feature Rules",
"additionalProperties": false,
"definitions": {
"coord_dist": {
"title": "",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"oneOf": [
{
"$ref": "../../../molang/number.json",
"description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
},
{
"type": "object",
"description": "Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.",
"additionalProperties": false,
"examples": [ { "numerator": 1, "denominator": 1 } ],
"properties": {
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
},
"denominator": {
"title": "Denominator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
}
}
}
]
}
},
"properties": {
"description": {
"title": "Description",
"description": "The description of this feature rule.",
"type": "object",
"additionalProperties": false,
"required": [ "identifier", "places_feature" ],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.",
"type": "string",
"$ref": "../../../general/feature/identifier.json"
},
"places_feature": {
"title": "Places Feature",
"description": "Named reference to the feature controlled by this rule.",
"type": "string"
}
}
},
"conditions": {
"title": "Conditions",
"description": "Parameters to control where and when the feature will be placed.",
"type": "object",
"additionalProperties": false,
"required": [ "placement_pass" ],
"properties": {
"placement_pass": {
"title": "Placement Pass",
"description": "When the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.",
"type": "string",
"enum": [
"pregeneration_pass",
"first_pass",
"before_underground_pass",
"underground_pass",
"after_underground_pass",
"before_surface_pass",
"surface_pass",
"after_surface_pass",
"before_sky_pass",
"sky_pass",
"after_sky_pass",
"final_pass"
]
},
"minecraft:biome_filter": {
"title": "Biome Filter",
"description": "List of filter tests to determine which biomes this rule will attach to.",
"$ref": "../../entities/filters/filters.json"
}
}
},
"distribution": {
"title": "Distribution",
"description": "Parameters controlling the initial scatter of the feature.",
"type": "object",
"additionalProperties": false,
"required": [ "iterations" ],
"properties": {
"coordinate_eval_order": {
"title": "Coordinate Eval Order",
"description": "The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to `xzy`.",
"type": "string",
"enum": [ "xyz", "xzy", "yxz", "yzx", "zxy", "zyx" ]
},
"iterations": {
"title": "Iterations",
"description": "Number of scattered positions to generate.",
"$ref": "../../../molang/number.json"
},
"scatter_chance": {
"title": "Scatter Chance",
"oneOf": [
{
"$ref": "../../../molang/number.json",
"description": "Probability (0-100] that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."
},
{
"type": "object",
"description": "Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.",
"additionalProperties": false,
"properties": {
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
},
"denominator": {
"title": "Denominator",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 1
}
}
}
]
},
"x": { "title": "X", "$ref": "#/definitions/coord_dist" },
"z": { "title": "Y", "$ref": "#/definitions/coord_dist" },
"y": { "title": "Z", "$ref": "#/definitions/coord_dist" }
}
}
}
}

View File

@@ -4,7 +4,7 @@
{
"label": "New item",
"body": {
"format_version": "${1:1.20.41}",
"format_version": "${1:1.20.80}",
"minecraft:item": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",

View File

@@ -11,7 +11,6 @@
"item": {
"type": "string",
"title": "Item",
"examples": ["minecraft:stick"],
"description": "The item to unlock"
},
"data": {

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.volumes",
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:volume": {
"description": {
"identifier": "example:foo"

View File

@@ -4,7 +4,6 @@
"title": "Sound Event",
"description": "Reference to a sound definition in \"sound_definitions.json\".",
"examples": [
"",
"add.chest",
"admire",
"agitated",

View File

@@ -0,0 +1,92 @@
{
"title": "Biome",
"description": "An in game biome",
"enum": [
"bamboo_jungle",
"bamboo_jungle_hills",
"basalt_deltas",
"beach",
"birch_forest",
"birch_forest_hills",
"birch_forest_hills_mutated",
"birch_forest_mutated",
"cherry_grove",
"cold_beach",
"cold_ocean",
"cold_taiga",
"cold_taiga_hills",
"cold_taiga_mutated",
"crimson_forest",
"deep_cold_ocean",
"deep_frozen_ocean",
"deep_lukewarm_ocean",
"deep_ocean",
"deep_warm_ocean",
"deep_dark",
"desert",
"desert_hills",
"desert_mutated",
"dripstone_caves",
"extreme_hills",
"extreme_hills_edge",
"extreme_hills_mutated",
"extreme_hills_plus_trees",
"extreme_hills_plus_trees_mutated",
"flower_forest",
"forest",
"forest_hills",
"frozen_ocean",
"frozen_peaks",
"frozen_river",
"grove",
"hell",
"ice_mountains",
"ice_plains",
"ice_plains_spikes",
"jagged_peaks",
"jungle",
"jungle_edge",
"jungle_edge_mutated",
"jungle_hills",
"jungle_mutated",
"legacy_frozen_ocean",
"lukewarm_ocean",
"lush_caves",
"mangrove_swamp",
"meadow",
"mega_taiga",
"mega_taiga_hills",
"mesa",
"mesa_bryce",
"mesa_plateau",
"mesa_plateau_mutated",
"mesa_plateau_stone",
"mesa_plateau_stone_mutated",
"mushroom_island",
"mushroom_island_shore",
"ocean",
"plains",
"redwood_taiga_hills_mutated",
"redwood_taiga_mutated",
"river",
"roofed_forest",
"roofed_forest_mutated",
"savanna",
"savanna_mutated",
"savanna_plateau",
"savanna_plateau_mutated",
"snowy_slopes",
"soulsand_valley",
"stone_beach",
"stony_peaks",
"sunflower_plains",
"swampland",
"swampland_mutated",
"taiga",
"taiga_hills",
"taiga_mutated",
"the_end",
"warm_ocean",
"warped_forest"
]
}

View File

@@ -0,0 +1,44 @@
{
"title": "Biome Tag",
"description": "An in game biome's tags",
"enum": [
"animal",
"bamboo",
"bee_habitat",
"birch",
"caves",
"cold",
"deep",
"edge",
"frozen",
"hills",
"ice",
"lukewarm",
"mega",
"monster",
"mountain",
"mountains",
"mutated",
"nether",
"netherwart_forest",
"no_legacy_worldgen",
"ocean",
"overworld",
"overworld_generation",
"plateau",
"rare",
"roofed",
"shore",
"spawn_endermen",
"spawn_few_piglins",
"spawn_few_zombified_piglins",
"spawn_ghast",
"spawn_magma_cubes",
"spawn_many_magma_cubes",
"spawn_piglin",
"spawn_zombified_piglin",
"stone",
"swamp",
"warm"
]
}

View File

@@ -0,0 +1,44 @@
{
"$id": "blockception.minecraft.general.vanilla.effect",
"type": "string",
"title": "Effect",
"description": "A mob effect",
"enum": [
"absorption",
"bad_omen",
"blindness",
"conduit_power",
"darkness",
"fatal_poison",
"fire_resistance",
"haste",
"health_boost",
"hunger",
"infested",
"instant_damage",
"instant_health",
"invisibility",
"jump_boost",
"levitation",
"mining_fatigue",
"nausea",
"night_vision",
"oozing",
"poison",
"raid_omen",
"regeneration",
"resistance",
"saturation",
"slow_falling",
"slowness",
"speed",
"strength",
"trial_omen",
"village_hero",
"water_breathing",
"weakness",
"weaving",
"wind_charged",
"wither"
]
}

View File

@@ -18,7 +18,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": {
"states": {
@@ -78,7 +78,7 @@
"required": ["format_version", "animation_controllers"],
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"format_version": { "type": "string", "const": "1.10.0" },
"animation_controllers": {
"type": "object",
"title": "Animation Controllers Schema",

View File

@@ -12,7 +12,7 @@
}
}
],
"examples": [{ "format_version": "1.20.41", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }],
"examples": [{ "format_version": "1.10.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }],
"additionalProperties": false,
"type": "object",
"title": "Actor Animation",
@@ -94,7 +94,7 @@
},
"required": ["format_version", "animations"],
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"format_version": { "type": "string", "const": "1.10.0" },
"animations": {
"title": "Animations Schema",
"description": "The animation specification.",

View File

@@ -26,7 +26,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "minecraft:item",

View File

@@ -26,7 +26,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:entity",

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.resource.items",
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:item": {
"description": { "identifier": "blockception:item", "category": "Equipment" },
"components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.resource.model",
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"minecraft:geometry": [
{
"description": {

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.resource.particle",
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.20.80",
"particle_effect": {
"description": {
"identifier": "example:particle",

View File

@@ -18,7 +18,7 @@
],
"examples": [
{
"format_version": "1.20.41",
"format_version": "1.10.0",
"render_controllers": {
"controller.render.example": { "geometry": "Geometry.default", "materials": [{ "*": "Material.default" }], "textures": ["Texture.default"] }
}
@@ -37,7 +37,7 @@
}
},
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"format_version": { "type": "string", "const": "1.10.0" },
"render_controllers": {
"title": "Render Controllers",
"description": "The collection of render controllers, each property is the identifier of a render controller.",