diff --git a/source/behavior/blocks/1.17.0/blocks.json b/source/behavior/blocks/1.17.0/blocks.json new file mode 100644 index 00000000..4e4a9a56 --- /dev/null +++ b/source/behavior/blocks/1.17.0/blocks.json @@ -0,0 +1,148 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.blocks", + "description": "Minecraft blocks 1.17.0", + "required": ["format_version", "minecraft:block"], + "title": "Block", + "type": "object", + "additionalProperties": false, + "definitions": { + "components_ref": { + "type": "object", + "title": "Component", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "minecraft:block_light_absorption": { "$ref": "./components/minecraft.block_light_absorption.json" }, + "minecraft:block_light_emission": { "$ref": "./components/minecraft.block_light_emission.json" }, + "minecraft:breakonpush": { "$ref": "./components/minecraft.breakonpush.json" }, + "minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" }, + "minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" }, + "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, + "minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" }, + "minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" }, + "minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" }, + "minecraft:friction": { "$ref": "./components/minecraft.friction.json" }, + "minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" }, + "minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" }, + "minecraft:loot": { "$ref": "./components/minecraft.loot.json" }, + "minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" }, + "minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" }, + "minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" }, + "minecraft:on_fall_on": { "$ref": "./components/minecraft.on_fall_on.json" }, + "minecraft:on_interact": { "$ref": "./components/minecraft.on_interact.json" }, + "minecraft:on_placed": { "$ref": "./components/minecraft.on_placed.json" }, + "minecraft:on_player_destroyed": { "$ref": "./components/minecraft.on_player_destroyed.json" }, + "minecraft:on_player_placing": { "$ref": "./components/minecraft.on_player_placing.json" }, + "minecraft:on_step_off": { "$ref": "./components/minecraft.on_step_off.json" }, + "minecraft:on_step_on": { "$ref": "./components/minecraft.on_step_on.json" }, + "minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" }, + "minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" }, + "minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" }, + "minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" }, + "minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" }, + "minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" }, + "minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" }, + "minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" } + } + } + }, + "properties": { + "format_version": { + "title": "1.17.0 Format Version", + "type": "string", + "const": "1.17.0", + "description": "A version that tells minecraft what type of data format can be expected when reading this file." + }, + "minecraft:block": { + "title": "Block Definitions", + "description": "A custom block definition", + "type": "object", + "additionalProperties": false, + "required": ["description", "components"], + + "properties": { + "description": { + "title": "Block Description", + "description": "The description for this block", + "type": "object", + "additionalProperties": false, + "required": ["identifier"], + "properties": { + "identifier": { + "type": "string", + "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", + "title": "Identifier", + "$ref": "../../../general/block/identifier.json" + }, + "is_experimental": { + "type": "boolean", + "default": false, + "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", + "title": "Is Experimental" + }, + "register_to_creative_menu": { + "type": "boolean", + "default": false, + "description": "Whether or not to register this block to the creative inventory menu.", + "title": "Register To Creative Menu" + }, + "properties": { + "title": "Properties", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, + "additionalProperties": { + "title": "Property", + "description": "A block property", + "oneOf": [ + { + "type": "array", + "items": { + "title": "Property Value", + "description": "The value of this property", + "anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] + } + }, + { "type": "object" } + ] + } + } + } + }, + "events": { "$ref": "./events.json" }, + "components": { + "type": "object", + "title": "Component", + "$ref": "#/definitions/components_ref" + }, + "permutations": { + "type": "array", + "title": "Permutations", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "items": { + "title": "Permutation", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "condition": { + "title": "Condition", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "../../../molang/string.json" + }, + "components": { + "type": "object", + "title": "Component", + "$ref": "#/definitions/components_ref" + } + } + } + } + } + } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.block_light_absorption.json b/source/behavior/blocks/1.17.0/components/minecraft.block_light_absorption.json new file mode 100644 index 00000000..3fbd3eab --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.block_light_absorption.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.block_light_absorption", + "additionalProperties": false, + "type": "integer", + "title": "Block Light Absorption 1.17.0", + "description": "The amount of light this block will absorb.", + "default": 0 +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.block_light_emission.json b/source/behavior/blocks/1.17.0/components/minecraft.block_light_emission.json new file mode 100644 index 00000000..cb86c0fd --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.block_light_emission.json @@ -0,0 +1,10 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.block_light_emission", + "additionalProperties": false, + "type": "number", + "title": "Block Light Emission 1.17.0", + "description": "The amount of light this block will emit in a range [0.0, 1.0].", + "minimum": 0, + "maximum": 1, + "default": 0.0 +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.breakonpush.json b/source/behavior/blocks/1.17.0/components/minecraft.breakonpush.json new file mode 100644 index 00000000..63b9f830 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.breakonpush.json @@ -0,0 +1,7 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.breakonpush", + "additionalProperties": false, + "type": "boolean", + "title": "Break On Push 1.17.0", + "description": "When pushed by a piston the block breaks." +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.breathability.json b/source/behavior/blocks/1.17.0/components/minecraft.breathability.json new file mode 100644 index 00000000..d66a2ef4 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.breathability.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.breathability", + "additionalProperties": false, + "type": "string", + "title": "Breathability 1.17.0", + "description": "Property describing the breathability of the block, and whether it's treated as a solid block or a block of air", + "enum": ["solid", "air"], + "default": "solid" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.destroy_time.json b/source/behavior/blocks/1.17.0/components/minecraft.destroy_time.json new file mode 100644 index 00000000..ab26d049 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.destroy_time.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.destroy_time", + "additionalProperties": false, + "type": "number", + "title": "Destroy Time 1.17.0", + "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times.", + "default": 0.0 +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.display_name.json b/source/behavior/blocks/1.17.0/components/minecraft.display_name.json new file mode 100644 index 00000000..19d98948 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.display_name.json @@ -0,0 +1,7 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.display_name", + "additionalProperties": false, + "type": "string", + "title": "Display Name 1.17.0", + "description": "Specifies the display name id for the block." +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.entity_collision.json b/source/behavior/blocks/1.17.0/components/minecraft.entity_collision.json new file mode 100644 index 00000000..ef7599cb --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.entity_collision.json @@ -0,0 +1,36 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.entity_collision", + "title": "Entity Collision 1.17.0", + "description": "Can only be set to false or an object, it disables the collision of the block with entities.", + "oneOf": [ + { "type": "boolean", "const": false }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "origin": { + "type": "array", + "title": "Origin", + "description": "Minimal position Bounds of the collision box", + "default": [-8.0, 0.0, -8.0], + "items": [ + { "type": "number", "title": "X", "description": "The x offset" }, + { "type": "number", "title": "Y", "description": "The y offset" }, + { "type": "number", "title": "Z", "description": "The z offset" } + ] + }, + "size": { + "type": "array", + "title": "Size", + "description": "Size of each side of the box of the component", + "default": [16.0, 16.0, 16.0], + "items": [ + { "type": "number", "title": "X", "description": "The x size" }, + { "type": "number", "title": "Y", "description": "The y size" }, + { "type": "number", "title": "Z", "description": "The z size" } + ] + } + } + } + ] +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.explosion_resistance.json b/source/behavior/blocks/1.17.0/components/minecraft.explosion_resistance.json new file mode 100644 index 00000000..e4e5fd0b --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.explosion_resistance.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.explosion_resistance", + "additionalProperties": false, + "type": "number", + "title": "Explosion Resistance 1.17.0", + "description": "Sets the explosion resistance for this block.", + "default": 0.0 +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.flammable.json b/source/behavior/blocks/1.17.0/components/minecraft.flammable.json new file mode 100644 index 00000000..10108c59 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.flammable.json @@ -0,0 +1,22 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.flammable", + "additionalProperties": false, + "type": "object", + "title": "Flammable 1.17.0", + "description": "Describes the flammable properties for this block.", + "additionalItems": false, + "properties": { + "burn_odds": { + "type": "integer", + "default": 0, + "description": "How likely the block will be destroyed by flames when on fire.", + "title": "Burn Odds" + }, + "flame_odds": { + "type": "integer", + "default": 0, + "description": "How likely the block will catch flame when next to a fire.", + "title": "Flame Odds" + } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.friction.json b/source/behavior/blocks/1.17.0/components/minecraft.friction.json new file mode 100644 index 00000000..df69ee7f --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.friction.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.friction", + "additionalProperties": false, + "type": "number", + "title": "Friction 1.17.0", + "description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.", + "default": 0.1 +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.geometry.json b/source/behavior/blocks/1.17.0/components/minecraft.geometry.json new file mode 100644 index 00000000..66c18635 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.geometry.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.geometry", + "additionalProperties": false, + "type": "string", + "title": "Geometry 1.17.0", + "description": "The geometry definition name to use.", + "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.immovable.json b/source/behavior/blocks/1.17.0/components/minecraft.immovable.json new file mode 100644 index 00000000..292cd5f4 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.immovable.json @@ -0,0 +1,7 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.immovable", + "additionalProperties": false, + "type": "boolean", + "title": "Immovable 1.17.0", + "description": "An Immovable block cannot be pushed by pistons" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.loot.json b/source/behavior/blocks/1.17.0/components/minecraft.loot.json new file mode 100644 index 00000000..d49a483d --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.loot.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.loot", + "additionalProperties": false, + "type": "string", + "title": "Loot 1.17.0", + "description": "The path of the loot table that this component will use when the block is destroyed.", + "pattern": "loot_tables/.*\\.json$" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.map_color.json b/source/behavior/blocks/1.17.0/components/minecraft.map_color.json new file mode 100644 index 00000000..fa3f51ea --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.map_color.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.map_color", + "additionalProperties": false, + "type": "string", + "title": "Map Color 1.17.0", + "description": "A color represented as a hex value. This will be the color rendered to a map.", + "format": "color-hex", + "examples": ["#FFFFFF"] +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.material_instances.json b/source/behavior/blocks/1.17.0/components/minecraft.material_instances.json new file mode 100644 index 00000000..26411c3a --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.material_instances.json @@ -0,0 +1,37 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.material_instances", + "type": "object", + "title": "Material Instances 1.17.0", + "description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance", + "definitions": { + "material_instance": { + "title": "Material Instance", + "description": "A single material instance", + "additionalProperties": false, + "properties": { + "ambient_occlusion": { + "title": "Ambient Occlusion", + "type": "boolean", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + }, + "face_dimming": { + "title": "Face Dimming", + "type": "boolean", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + }, + "render_method": { + "type": "string", + "title": "Render Method", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "enum": ["blend", "opaque", "alpha_test"] + }, + "texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } + } + }, + "properties": { "*": { "$ref": "#/definitions/material_instance" } }, + "additionalProperties": { "$ref": "#/definitions/material_instance" } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_fall_on.json b/source/behavior/blocks/1.17.0/components/minecraft.on_fall_on.json new file mode 100644 index 00000000..f06a8350 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_fall_on.json @@ -0,0 +1,17 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_fall_on", + "type": "object", + "title": "On Fall On", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "min_fall_distance": { + "type": "number", + "default": 0, + "description": "The minimum distance in blocks that an actor needs to fall to trigger this event.", + "title": "Minimum Fall Distance" + }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_interact.json b/source/behavior/blocks/1.17.0/components/minecraft.on_interact.json new file mode 100644 index 00000000..3cd685da --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_interact.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_interact", + "type": "object", + "title": "On Fall On", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_placed.json b/source/behavior/blocks/1.17.0/components/minecraft.on_placed.json new file mode 100644 index 00000000..057bedcd --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_placed.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_placed", + "type": "object", + "title": "On Placed 1.17.0", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_player_destroyed.json b/source/behavior/blocks/1.17.0/components/minecraft.on_player_destroyed.json new file mode 100644 index 00000000..7b7f650f --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_player_destroyed.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_player_destroyed", + "type": "object", + "title": "On Player Destroyed 1.17.0", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_player_placing.json b/source/behavior/blocks/1.17.0/components/minecraft.on_player_placing.json new file mode 100644 index 00000000..5fe5f901 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_player_placing.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_player_placing", + "type": "object", + "title": "On Player Placing 1.17.0", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_step_off.json b/source/behavior/blocks/1.17.0/components/minecraft.on_step_off.json new file mode 100644 index 00000000..8499b231 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_step_off.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_step_off", + "type": "object", + "title": "On Step Off 1.17.0", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_step_on.json b/source/behavior/blocks/1.17.0/components/minecraft.on_step_on.json new file mode 100644 index 00000000..2b4089dd --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.on_step_on.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_step_on", + "type": "object", + "title": "On Step On 1.17.0", + "description": "Describes event for this block.", + "properties": { + "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, + "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, + "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.onlypistonpush.json b/source/behavior/blocks/1.17.0/components/minecraft.onlypistonpush.json new file mode 100644 index 00000000..22217b8d --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.onlypistonpush.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.onlypistonpush", + "type": "boolean", + "title": "Only Piston Push 1.17.0", + "description": "Blocks with those components won't stick to stickyPistons" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.pick_collision.json b/source/behavior/blocks/1.17.0/components/minecraft.pick_collision.json new file mode 100644 index 00000000..326c9ba2 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.pick_collision.json @@ -0,0 +1,36 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.pick_collision", + "title": "Pick Collision 1.17.0", + "description": "Can only be set to false, it disables the collision of the block with entities", + "oneOf": [ + { "type": "boolean", "const": false }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "origin": { + "type": "array", + "title": "Origin", + "description": "Minimal position Bounds of the collision box", + "default": [-8.0, 0.0, -8.0], + "items": [ + { "type": "number", "title": "X", "description": "The x offset" }, + { "type": "number", "title": "Y", "description": "The y offset" }, + { "type": "number", "title": "Z", "description": "The z offset" } + ] + }, + "size": { + "type": "array", + "title": "Size", + "description": "Size of each side of the box of the component", + "default": [16.0, 16.0, 16.0], + "items": [ + { "type": "number", "title": "X", "description": "The x size" }, + { "type": "number", "title": "Y", "description": "The y size" }, + { "type": "number", "title": "Z", "description": "The z size" } + ] + } + } + } + ] +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.placement_filter.json b/source/behavior/blocks/1.17.0/components/minecraft.placement_filter.json new file mode 100644 index 00000000..469a4161 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.placement_filter.json @@ -0,0 +1,38 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.placement_filter", + "title": "Placement Filter 1.17.0", + "description": "Sets rules for under what conditions the block can be placed/survive", + "type": "object", + "properties": { + "conditions": { + "title": "Conditions", + "description": "List of conditions where the block can be placed/survive", + "type": "array", + "items": { + "type": "object", + "title": "Condition", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "properties": { + "allowed_faces": { + "title": "Allowed Faces", + "description": "List of any of the following strings: up, down, north, south, east, west, side, all", + "type": "array", + "items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] } + }, + "block_filter": { + "title": "Block Filter", + "description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction", + "type": "array", + "items": { + "type": "string", + "title": "Block Identifier", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + } + } + } + } + } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.preventsjumping.json b/source/behavior/blocks/1.17.0/components/minecraft.preventsjumping.json new file mode 100644 index 00000000..106c053a --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.preventsjumping.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.preventsjumping", + "title": "Prevents Jumping 1.17.0", + "description": "This component makes it so actors can't jump when walking on this block", + "type": "boolean" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.random_ticking.json b/source/behavior/blocks/1.17.0/components/minecraft.random_ticking.json new file mode 100644 index 00000000..2a15b20e --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.random_ticking.json @@ -0,0 +1,38 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.random_ticking", + "title": "Random Ticking 1.17.0", + "description": "Describes the component that will trigger an even at a regular interval between two values", + "type": "object", + "additionalProperties": false, + "properties": { + "on_tick": { + "title": "On Tick", + "description": "Describes the component that will trigger an even at a regular interval between two values", + "type": "string", + "additionalProperties": false, + "properties": { + "condition": { + "title": "Condition", + "type": "string", + "default": "1", + "description": "The condition of event to be executed on the block. Molang" + }, + "event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." }, + "range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, + "target": { + "title": "Target", + "description": "The target of event executed on the block.", + "type": "string", + "enum": ["block", "damager", "other", "parent", "player", "self", "target"] + } + } + }, + "looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" }, + "range": { + "type": "array", + "default": [10, 10], + "description": "The Range between which the component will trigger his event.", + "title": "Range" + } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.rotation.json b/source/behavior/blocks/1.17.0/components/minecraft.rotation.json new file mode 100644 index 00000000..60d9417f --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.rotation.json @@ -0,0 +1,12 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.rotation", + "title": "Rotation 1.17.0", + "description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.", + "type": "array", + "additionalProperties": false, + "items": [ + { "type": "number", "title": "X" }, + { "type": "number", "title": "Y" }, + { "type": "number", "title": "Z" } + ] +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.ticking.json b/source/behavior/blocks/1.17.0/components/minecraft.ticking.json new file mode 100644 index 00000000..29246d05 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.ticking.json @@ -0,0 +1,29 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.ticking", + "title": "Ticking 1.17.0", + "description": "Describes the component that will trigger an even at a regular interval between two values", + "type": "object", + "additionalProperties": false, + "properties": { + "looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" }, + "range": { + "title": "Range", + "description": "The Range between which the component will trigger his event.", + "type": "array", + "items": [{ "type": "integer" }, { "type": "integer" }] + }, + "on_tick": { + "type": "object", + "title": "On Tick", + "description": "Describes the component that will trigger an even at a regular interval between two values", + "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, + "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, + "target": { + "title": "Target", + "description": "The target of event executed on the block.", + "type": "string", + "enum": ["block", "damager", "other", "parent", "player", "self", "target"] + } + } + } +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.unit_cube.json b/source/behavior/blocks/1.17.0/components/minecraft.unit_cube.json new file mode 100644 index 00000000..290ecad2 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.unit_cube.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.unit_cube", + "title": "Unit Cube 1.17.0", + "description": "Specifies that a unit cube is to be used with tessellation.", + "type": "string" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.unwalkable.json b/source/behavior/blocks/1.17.0/components/minecraft.unwalkable.json new file mode 100644 index 00000000..7e5f1026 --- /dev/null +++ b/source/behavior/blocks/1.17.0/components/minecraft.unwalkable.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.unwalkable", + "title": "Unwalkable 1.17.0", + "description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true", + "type": "boolean" +} diff --git a/source/behavior/blocks/1.17.0/events.json b/source/behavior/blocks/1.17.0/events.json new file mode 100644 index 00000000..6f159a9b --- /dev/null +++ b/source/behavior/blocks/1.17.0/events.json @@ -0,0 +1,100 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events", + "title": "Events", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "properties": { + "minecraft:on_interact": { "$ref": "#/definitions/event_base" }, + "minecraft:on_step_on": { "$ref": "#/definitions/event_base" }, + "minecraft:on_step_off": { "$ref": "#/definitions/event_base" }, + "minecraft:on_fall_on": { "$ref": "#/definitions/event_base" }, + "minecraft:on_placed": { "$ref": "#/definitions/event_base" }, + "minecraft:on_player_placing": { "$ref": "#/definitions/event_base" }, + "minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" }, + "minecraft:ticking": { "$ref": "#/definitions/event_base" }, + "minecraft:random_ticking": { "$ref": "#/definitions/event_base" } + }, + "additionalProperties": { "$ref": "#/definitions/event_base" }, + "definitions": { + "event_base": { + "title": "Event", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "$ref": "#/definitions/event_functions", + "properties": { + "sequence": { + "title": "Sequence", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { + "title": "Sequence", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "$ref": "#/definitions/event_functions" + } + }, + "randomize": { + "title": "Randomize", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { + "title": "Randomize", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "$ref": "#/definitions/event_functions", + "required": ["weight"], + "properties": { + "weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 } + } + } + }, + "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, + "damage": { "$ref": "./events/damage.json" }, + "decrement_stack": { "$ref": "./events/decrement_stack.json" }, + "die": { "$ref": "./events/die.json" }, + "play_effect": { "$ref": "./events/play_effect.json" }, + "play_sound": { "$ref": "./events/play_sound.json" }, + "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, + "run_command": { "$ref": "./events/run_command.json" }, + "set_block": { "$ref": "./events/set_block.json" }, + "set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" }, + "set_block_property": { "$ref": "./events/set_block_property.json" }, + "spawn_loot": { "$ref": "./events/spawn_loot.json" }, + "swing": { "$ref": "./events/swing.json" }, + "teleport": { "$ref": "./events/teleport.json" }, + "transform_item": { "$ref": "./events/transform_item.json" } + } + }, + "event_functions": { + "title": "Event", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": true, + "properties": { + "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, + "damage": { "$ref": "./events/damage.json" }, + "decrement_stack": { "$ref": "./events/decrement_stack.json" }, + "die": { "$ref": "./events/die.json" }, + "play_effect": { "$ref": "./events/play_effect.json" }, + "play_sound": { "$ref": "./events/play_sound.json" }, + "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, + "run_command": { "$ref": "./events/run_command.json" }, + "set_block": { "$ref": "./events/set_block.json" }, + "set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" }, + "set_block_property": { "$ref": "./events/set_block_property.json" }, + "spawn_loot": { "$ref": "./events/spawn_loot.json" }, + "swing": { "$ref": "./events/swing.json" }, + "teleport": { "$ref": "./events/teleport.json" }, + "transform_item": { "$ref": "./events/transform_item.json" } + } + } + } +} diff --git a/source/behavior/blocks/1.17.0/events/add_mob_effect.json b/source/behavior/blocks/1.17.0/events/add_mob_effect.json new file mode 100644 index 00000000..123ab650 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/add_mob_effect.json @@ -0,0 +1,13 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.add_mob_effect", + "type": "object", + "description": "Apply mob effect to target.", + "title": "Add Mob Effect 1.17.0", + "additionalProperties": false, + "properties": { + "amplifier": { "type": "integer", "default": 0, "description": "The amplifier for the mob effect.", "title": "Amplifier" }, + "duration": { "type": "number", "default": 0, "description": "The duration of the mob effect.", "title": "Duration" }, + "effect": { "type": "string", "default": "", "description": "The mob effect to apply.", "title": "Effect" }, + "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/damage.json b/source/behavior/blocks/1.17.0/events/damage.json new file mode 100644 index 00000000..07fbf2af --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/damage.json @@ -0,0 +1,12 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.damage", + "type": "object", + "description": "Deals damage to the target.", + "title": "Damage 1.17.0", + "additionalProperties": false, + "properties": { + "amount": { "type": "integer", "default": 0, "description": "The amount of damage to deal.", "title": "Amount" }, + "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }, + "type": { "type": "string", "default": "", "description": "The type of damage to deal.", "title": "Type" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/decrement_stack.json b/source/behavior/blocks/1.17.0/events/decrement_stack.json new file mode 100644 index 00000000..026895b3 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/decrement_stack.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.decrement_stack", + "type": "object", + "description": "Decrement item stack.", + "title": "Decrement Stack 1.17.0", + "additionalProperties": false, + "properties": {} +} diff --git a/source/behavior/blocks/1.17.0/events/die.json b/source/behavior/blocks/1.17.0/events/die.json new file mode 100644 index 00000000..929163dd --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/die.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.die", + "type": "object", + "description": "Kill target. If target is self and this is run from a block then destroy the block.", + "title": "Die 1.17.0", + "additionalProperties": false, + "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } +} diff --git a/source/behavior/blocks/1.17.0/events/play_effect.json b/source/behavior/blocks/1.17.0/events/play_effect.json new file mode 100644 index 00000000..449a4cd1 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/play_effect.json @@ -0,0 +1,12 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.play_effect", + "type": "object", + "description": "Spawns a particle effect relative to target position.", + "title": "Play Effect 1.17.0", + "additionalProperties": false, + "properties": { + "data": { "type": "integer", "default": 0, "description": "Particle data value.", "title": "Data" }, + "effect": { "type": "string", "default": "", "description": "The name of the particle effect to create.", "title": "Effect" }, + "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/play_sound.json b/source/behavior/blocks/1.17.0/events/play_sound.json new file mode 100644 index 00000000..43265d90 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/play_sound.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.playsound", + "type": "object", + "description": "Play a sound relative to target position.", + "title": "Playsound 1.17.0", + "additionalProperties": false, + "properties": { + "sound": { "type": "string", "default": "", "description": "The name of the sound to play.", "title": "Sound" }, + "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/remove_mob_effect.json b/source/behavior/blocks/1.17.0/events/remove_mob_effect.json new file mode 100644 index 00000000..0e551ee1 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/remove_mob_effect.json @@ -0,0 +1,16 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.remove_mob_effect", + "type": "object", + "description": "Removes mob effect from target.", + "title": "Remove Mob Effect 1.17.0", + "additionalProperties": false, + "properties": { + "effect": { + "type": "string", + "default": "", + "description": "The mob effect to remove. Use `all` to remove all mob effects from target.", + "title": "Effect" + }, + "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/run_command.json b/source/behavior/blocks/1.17.0/events/run_command.json new file mode 100644 index 00000000..cc3e63c9 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/run_command.json @@ -0,0 +1,16 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.run_command", + "type": "object", + "description": "Triggers a slash command or a list of slash commands.", + "title": "Run Command 1.17.0", + "additionalProperties": false, + "properties": { + "command": { + "default": "", + "description": "Slash command to run.", + "title": "Command", + "oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }] + }, + "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/set_block.json b/source/behavior/blocks/1.17.0/events/set_block.json new file mode 100644 index 00000000..90899b01 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/set_block.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.set_block", + "type": "object", + "description": "Sets this block to another block type.", + "title": "Set Block 1.17.0", + "additionalProperties": false, + "properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } +} diff --git a/source/behavior/blocks/1.17.0/events/set_block_at_pos.json b/source/behavior/blocks/1.17.0/events/set_block_at_pos.json new file mode 100644 index 00000000..fb1942ff --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/set_block_at_pos.json @@ -0,0 +1,21 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.set_block_at_pos", + "type": "object", + "description": "Sets a block relative to this block to another block type.", + "title": "Set Block At Pos 1.17.0", + "additionalProperties": false, + "properties": { + "block_offset": { + "type": "array", + "default": [0.0, 0.0, 0.0], + "description": "The offset from the block's center.", + "title": "Block Offset", + "items": [ + { "type": "number", "title": "X", "description": "The x offset from the block's center." }, + { "type": "number", "title": "Y", "description": "The y offset from the block's center." }, + { "type": "number", "title": "Z", "description": "The z offset from the block's center." } + ] + }, + "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/set_block_property.json b/source/behavior/blocks/1.17.0/events/set_block_property.json new file mode 100644 index 00000000..c6cc5ed8 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/set_block_property.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.set_block_property", + "type": "object", + "description": "Sets a block property on this block", + "title": "Set Block Property 1.17.0", + "additionalProperties": false, + "properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } } +} diff --git a/source/behavior/blocks/1.17.0/events/spawn_loot.json b/source/behavior/blocks/1.17.0/events/spawn_loot.json new file mode 100644 index 00000000..18c797c2 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/spawn_loot.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.spawn_loot", + "type": "object", + "description": "Spawn loot from block.", + "title": "Spawn Loot 1.17.0", + "required": ["table"], + "additionalProperties": false, + "properties": { + "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/swing.json b/source/behavior/blocks/1.17.0/events/swing.json new file mode 100644 index 00000000..ab5dfd61 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/swing.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.swing", + "type": "object", + "description": "Event causes the actor to swing.", + "title": "Swing 1.17.0", + "additionalProperties": false, + "properties": {} +} diff --git a/source/behavior/blocks/1.17.0/events/teleport.json b/source/behavior/blocks/1.17.0/events/teleport.json new file mode 100644 index 00000000..6e2219ec --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/teleport.json @@ -0,0 +1,42 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.teleport", + "type": "object", + "description": "Teleport target randomly around destination point.", + "title": "Teleport 1.17.0", + "additionalProperties": false, + "properties": { + "avoid_water": { + "type": "boolean", + "default": true, + "description": "Determines if the teleport avoids putting the target in water.", + "title": "Avoid Water" + }, + "destination": { + "default": [0.0, 0.0, 0.0], + "description": "Origin destination of the teleport.", + "title": "Destination", + "items": [ + { "type": "number", "title": "X", "description": "The x offset from the block's center." }, + { "type": "number", "title": "Y", "description": "The y offset from the block's center." }, + { "type": "number", "title": "Z", "description": "The z offset from the block's center." } + ] + }, + "land_on_block": { + "type": "boolean", + "default": true, + "description": "Determines if the teleport places the target on a block.", + "title": "Land On Block" + }, + "max_range": { + "default": [8.0, 8.0, 8.0], + "description": "Maximum range the target can teleport relative to the origin destination.", + "title": "Maximum Range", + "items": [ + { "type": "number", "title": "X", "description": "The x offset from the block's center." }, + { "type": "number", "title": "Y", "description": "The y offset from the block's center." }, + { "type": "number", "title": "Z", "description": "The z offset from the block's center." } + ] + }, + "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } + } +} diff --git a/source/behavior/blocks/1.17.0/events/transform_item.json b/source/behavior/blocks/1.17.0/events/transform_item.json new file mode 100644 index 00000000..9f621678 --- /dev/null +++ b/source/behavior/blocks/1.17.0/events/transform_item.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.17.0.block.events.transform_item", + "type": "object", + "description": "Transforms item into another item.", + "title": "Transform Item 1.17.0", + "additionalProperties": false, + "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } +} diff --git a/source/behavior/blocks/blocks.json b/source/behavior/blocks/blocks.json index c3cf07a6..383b9087 100644 --- a/source/behavior/blocks/blocks.json +++ b/source/behavior/blocks/blocks.json @@ -13,6 +13,7 @@ { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/blocks.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/blocks.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.200" } } }, "then": { "$ref": "./1.16.200/blocks.json" } }, + { "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "./1.17.0/blocks.json" } }, { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } ] } diff --git a/source/resource/biomes_client.json b/source/resource/biomes_client.json index 9f3a40df..84dd865a 100644 --- a/source/resource/biomes_client.json +++ b/source/resource/biomes_client.json @@ -50,7 +50,7 @@ } } }, - "colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex" } + "colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex", "examples": ["#FFFFFF"] } }, "properties": { "biomes": { diff --git a/source/resource/entity/1.10.0/entity.json b/source/resource/entity/1.10.0/entity.json index efb367a2..f29c4fbb 100644 --- a/source/resource/entity/1.10.0/entity.json +++ b/source/resource/entity/1.10.0/entity.json @@ -205,7 +205,13 @@ "title": "Spawn Egg", "dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] }, "properties": { - "base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" }, + "base_color": { + "type": "string", + "description": "The basic color of the egg", + "title": "Base Color", + "format": "color-hex", + "examples": ["#FFFFFF"] + }, "overlay_color": { "type": "string", "description": "The colors of the dots on the egg", diff --git a/source/resource/entity/1.8.0/entity.json b/source/resource/entity/1.8.0/entity.json index ff8505fb..94a36ff9 100644 --- a/source/resource/entity/1.8.0/entity.json +++ b/source/resource/entity/1.8.0/entity.json @@ -163,12 +163,19 @@ "title": "Spawn Egg", "dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] }, "properties": { - "base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" }, + "base_color": { + "type": "string", + "description": "The basic color of the egg", + "title": "Base Color", + "format": "color-hex", + "examples": ["#FFFFFF"] + }, "overlay_color": { "type": "string", "description": "The colors of the dots on the egg", "title": "Overlay Color", - "format": "color-hex" + "format": "color-hex", + "examples": ["#FFFFFF"] }, "texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" }, "texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 } diff --git a/source/resource/fog/1.16.100/fog.json b/source/resource/fog/1.16.100/fog.json index e4cbcf2f..93dd1695 100644 --- a/source/resource/fog/1.16.100/fog.json +++ b/source/resource/fog/1.16.100/fog.json @@ -38,7 +38,13 @@ "type": "number", "minimum": 0 }, - "fog_color": { "title": "Fog Color", "description": "The color that the fog will take on.", "type": "string", "format": "color-hex" }, + "fog_color": { + "title": "Fog Color", + "description": "The color that the fog will take on.", + "type": "string", + "format": "color-hex", + "examples": ["#FFFFFF"] + }, "render_distance_type": { "title": "Render Distance Type", "description": "Determines how distance value is used. Fixed distance is measured in blocks. Dynamic distance is multiplied by the current render distance.", diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json b/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json index 86826d81..b14347a1 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json @@ -21,13 +21,13 @@ { "description": "An array of colors", "type": "array", - "items": { "type": "string", "description": "Color", "title": "Color", "format": "color-hex" } + "items": { "type": "string", "description": "Color", "title": "Color", "format": "color-hex", "examples": ["#FFFFFF"] } }, { "description": "An object of colors", "type": "object", "propertyNames": { "pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" }, - "additionalProperties": { "type": "string", "description": "Color", "format": "color-hex" } + "additionalProperties": { "type": "string", "description": "Color", "format": "color-hex", "examples": ["#FFFFFF"] } }, { "description": "An array of colors", diff --git a/source/resource/textures/item_texture.json b/source/resource/textures/item_texture.json index db37de0c..c089603f 100644 --- a/source/resource/textures/item_texture.json +++ b/source/resource/textures/item_texture.json @@ -15,13 +15,19 @@ "description": "A collection of texture files", "title": "Texture", "properties": { - "overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "format": "color-hex" }, + "overlay_color": { + "description": "The color to apply to the texture", + "title": "Overlay Color", + "format": "color-hex", + "examples": ["#FFFFFF"] + }, "path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" }, "tint_color": { "title": "Tint Color", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "format": "color-hex", + "examples": ["#FFFFFF"], "type": "string" }, "variations": { diff --git a/source/resource/textures/terrain_texture.json b/source/resource/textures/terrain_texture.json index 9424d6e9..11f9665a 100644 --- a/source/resource/textures/terrain_texture.json +++ b/source/resource/textures/terrain_texture.json @@ -15,13 +15,19 @@ "description": "A collection of texture files", "title": "Texture", "properties": { - "overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "format": "color-hex" }, + "overlay_color": { + "description": "The color to apply to the texture", + "title": "Overlay Color", + "format": "color-hex", + "examples": ["#FFFFFF"] + }, "path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" }, "tint_color": { "title": "Tint Color", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "format": "color-hex", + "examples": ["#FFFFFF"], "type": "string" }, "variations": {