diff --git a/source/behavior/animation_controllers/animation_controller.json b/source/behavior/animation_controllers/animation_controller.json index ec4b2607..e7e800e5 100644 --- a/source/behavior/animation_controllers/animation_controller.json +++ b/source/behavior/animation_controllers/animation_controller.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.animation_controller", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "animation_controllers": { "controller.animation.example": { "initial_state": "default", diff --git a/source/behavior/animations/animations.json b/source/behavior/animations/animations.json index 65635a0d..d20d6755 100644 --- a/source/behavior/animations/animations.json +++ b/source/behavior/animations/animations.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": "blockception.minecraft.behavior.animations", - "examples": [{ "format_version": "1.18.0", "animations": { "animation.example": {} } }], + "examples": [{ "format_version": "1.19.0", "animations": { "animation.example": {} } }], "definitions": { "animationspec": { "anyOf": [ diff --git a/source/behavior/biomes/biomes.json b/source/behavior/biomes/biomes.json index cce8f07a..147e2649 100644 --- a/source/behavior/biomes/biomes.json +++ b/source/behavior/biomes/biomes.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema", "$id": "minecraft.behavior.biomes", "type": "object", - "examples": [{ "plains": { "format_version": "1.17.0" } }], + "examples": [{ "plains": { "format_version": "1.19.0" } }], "additionalProperties": { "type": "object", "title": "Biomes", diff --git a/source/behavior/blocks/1.10.0/blocks.json b/source/behavior/blocks/1.10.0/blocks.json deleted file mode 100644 index a4d653e8..00000000 --- a/source/behavior/blocks/1.10.0/blocks.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.10.0.blocks", - "description": "Minecraft blocks 1.10.0", - "required": ["format_version", "minecraft:block"], - "title": "Block", - "type": "object", - "additionalProperties": false, - "properties": { - "format_version": { - "title": "1.10.0 Format Version", - "type": "string", - "const": "1.10.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" - } - } - }, - "components": { "$ref": "./components.json" } - } - } - } -} diff --git a/source/behavior/blocks/1.10.0/components.json b/source/behavior/blocks/1.10.0/components.json deleted file mode 100644 index 61e58eee..00000000 --- a/source/behavior/blocks/1.10.0/components.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.10.0.blocks.components", - "title": "Components", - "description": "The components of that define this block", - - "type": "object", - "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: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" } - } -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.block_light_absorption.json b/source/behavior/blocks/1.10.0/components/minecraft.block_light_absorption.json deleted file mode 100644 index a8c629d8..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.block_light_absorption.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.block_light_absorption", - "additionalProperties": false, - "type": "integer", - "title": "Block Light Absorption 1.10.0", - "description": "The amount of light this block will absorb.", - "default": 0 -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.block_light_emission.json b/source/behavior/blocks/1.10.0/components/minecraft.block_light_emission.json deleted file mode 100644 index 4bdfce37..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.block_light_emission.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.block_light_emission", - "additionalProperties": false, - "type": "number", - "title": "Block Light Emission 1.10.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.10.0/components/minecraft.breakonpush.json b/source/behavior/blocks/1.10.0/components/minecraft.breakonpush.json deleted file mode 100644 index 06e62f75..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.breakonpush.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.breakonpush", - "additionalProperties": false, - "type": "boolean", - "title": "Break On Push 1.10.0", - "description": "When pushed by a piston the block breaks." -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.breathability.json b/source/behavior/blocks/1.10.0/components/minecraft.breathability.json deleted file mode 100644 index 52e854fc..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.breathability.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.breathability", - "additionalProperties": false, - "type": "string", - "title": "Breathability 1.10.0", - "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", - "enum": ["solid", "air"], - "default": "solid" -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.destroy_time.json b/source/behavior/blocks/1.10.0/components/minecraft.destroy_time.json deleted file mode 100644 index cb0a2c72..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.destroy_time.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.destroy_time", - "additionalProperties": false, - "type": "number", - "title": "Destroy Time 1.10.0", - "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times. Time is measured in seconds with base equipment." -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.display_name.json b/source/behavior/blocks/1.10.0/components/minecraft.display_name.json deleted file mode 100644 index 655b0c3b..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.display_name.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.display_name", - "additionalProperties": false, - "type": "string", - "title": "Display Name 1.10.0", - "description": "Specifies the language file key that maps to what text will be displayed when you hover over the block." -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.entity_collision.json b/source/behavior/blocks/1.10.0/components/minecraft.entity_collision.json deleted file mode 100644 index 91a8d565..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.entity_collision.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.entity_collision", - "additionalProperties": false, - "title": "Entity Collision 1.10.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.10.0/components/minecraft.explosion_resistance.json b/source/behavior/blocks/1.10.0/components/minecraft.explosion_resistance.json deleted file mode 100644 index d9ed0380..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.explosion_resistance.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.explosion_resistance", - "additionalProperties": false, - "type": "number", - "title": "Explosion Resistance 1.10.0", - "description": "Sets the explosion resistance for this block.", - "default": 0.0 -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.flammable.json b/source/behavior/blocks/1.10.0/components/minecraft.flammable.json deleted file mode 100644 index 38ea91ba..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.flammable.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.flammable", - "additionalProperties": false, - "type": "object", - "title": "Flammable 1.10.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. Value must be greater than or equal to 0.", - "title": "Burn Odds" - }, - "flame_odds": { - "type": "integer", - "default": 0, - "description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.", - "title": "Flame Odds" - } - } -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.friction.json b/source/behavior/blocks/1.10.0/components/minecraft.friction.json deleted file mode 100644 index d1313aef..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.friction.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.friction", - "additionalProperties": false, - "type": "number", - "title": "Friction 1.10.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.10.0/components/minecraft.geometry.json b/source/behavior/blocks/1.10.0/components/minecraft.geometry.json deleted file mode 100644 index 3d30d5d1..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.geometry.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.geometry", - "additionalProperties": false, - "type": "string", - "title": "Geometry 1.10.0", - "description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.", - "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.immovable.json b/source/behavior/blocks/1.10.0/components/minecraft.immovable.json deleted file mode 100644 index e4f84c7d..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.immovable.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.immovable", - "additionalProperties": false, - "type": "boolean", - "title": "Immovable 1.10.0", - "description": "An Immovable block cannot be pushed by pistons" -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.loot.json b/source/behavior/blocks/1.10.0/components/minecraft.loot.json deleted file mode 100644 index 4b2a37b5..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.loot.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.loot", - "additionalProperties": false, - "type": "string", - "title": "Loot 1.10.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.10.0/components/minecraft.map_color.json b/source/behavior/blocks/1.10.0/components/minecraft.map_color.json deleted file mode 100644 index e71c2857..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.map_color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.map_color", - "additionalProperties": false, - "type": "string", - "title": "Map Color 1.10.0", - "description": "A color represented as a hex value. This will be the color rendered to a map.", - "format": "color-hex" -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.material_instances.json b/source/behavior/blocks/1.10.0/components/minecraft.material_instances.json deleted file mode 100644 index 2be5cda6..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.material_instances.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.material_instances", - "type": "object", - "title": "Material Instances 1.10.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.10.0/components/minecraft.onlypistonpush.json b/source/behavior/blocks/1.10.0/components/minecraft.onlypistonpush.json deleted file mode 100644 index 9bb5683b..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.onlypistonpush.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.onlypistonpush", - "type": "boolean", - "title": "Only Piston Push 1.10.0", - "description": "Blocks with those components won't stick to stickyPistons" -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.pick_collision.json b/source/behavior/blocks/1.10.0/components/minecraft.pick_collision.json deleted file mode 100644 index a6414107..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.pick_collision.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.pick_collision", - "title": "Pick Collision 1.10.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.10.0/components/minecraft.placement_filter.json b/source/behavior/blocks/1.10.0/components/minecraft.placement_filter.json deleted file mode 100644 index 60dd16b3..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.placement_filter.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.placement_filter", - "title": "Placement Filter 1.10.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.10.0/components/minecraft.preventsjumping.json b/source/behavior/blocks/1.10.0/components/minecraft.preventsjumping.json deleted file mode 100644 index f026d763..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.preventsjumping.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.preventsjumping", - "title": "Prevents Jumping 1.10.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.10.0/components/minecraft.random_ticking.json b/source/behavior/blocks/1.10.0/components/minecraft.random_ticking.json deleted file mode 100644 index d58b5df5..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.random_ticking.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.random_ticking", - "title": "Random Ticking 1.10.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", "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." }, - "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"] - } - } - } - } -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.rotation.json b/source/behavior/blocks/1.10.0/components/minecraft.rotation.json deleted file mode 100644 index 5d29f1f3..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.rotation.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.rotation", - "title": "Rotation 1.10.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.10.0/components/minecraft.ticking.json b/source/behavior/blocks/1.10.0/components/minecraft.ticking.json deleted file mode 100644 index efabbbde..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.ticking.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.ticking", - "title": "Ticking 1.10.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.10.0/components/minecraft.unit_cube.json b/source/behavior/blocks/1.10.0/components/minecraft.unit_cube.json deleted file mode 100644 index 6fbe43bc..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.unit_cube.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.unit_cube", - "title": "Unit Cube 1.10.0", - "description": "Specifies that a unit cube is to be used with tessellation.", - "type": "string" -} diff --git a/source/behavior/blocks/1.10.0/components/minecraft.unwalkable.json b/source/behavior/blocks/1.10.0/components/minecraft.unwalkable.json deleted file mode 100644 index 1ee6f613..00000000 --- a/source/behavior/blocks/1.10.0/components/minecraft.unwalkable.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.unwalkable", - "title": "Unwalkable 1.10.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.12.0/blocks.json b/source/behavior/blocks/1.12.0/blocks.json deleted file mode 100644 index 982cc5e5..00000000 --- a/source/behavior/blocks/1.12.0/blocks.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.12.0.blocks", - "description": "Minecraft blocks 1.12.0", - "required": ["format_version", "minecraft:block"], - "title": "Block", - "type": "object", - "additionalProperties": false, - "properties": { - "format_version": { - "title": "1.12.0 Format Version", - "type": "string", - "const": "1.12.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" - } - } - }, - "components": { "$ref": "../1.10.0/components.json" } - } - } - } -} diff --git a/source/behavior/blocks/1.16.0/blocks.json b/source/behavior/blocks/1.16.0/blocks.json deleted file mode 100644 index 92074e1c..00000000 --- a/source/behavior/blocks/1.16.0/blocks.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.0.blocks", - "description": "Minecraft blocks 1.16.0", - "required": ["format_version", "minecraft:block"], - "title": "Block", - "type": "object", - "additionalProperties": false, - "properties": { - "format_version": { - "title": "1.16.0 Format Version", - "type": "string", - "const": "1.16.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" } - ] - } - } - } - }, - "components": { "$ref": "../1.10.0/components.json" } - } - } - } -} diff --git a/source/behavior/blocks/1.16.100/blocks.json b/source/behavior/blocks/1.16.100/blocks.json deleted file mode 100644 index 53b6c0de..00000000 --- a/source/behavior/blocks/1.16.100/blocks.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.blocks", - "description": "Minecraft blocks 1.16.100", - "required": ["format_version", "minecraft:block"], - "title": "Block", - "type": "object", - "additionalProperties": false, - "definitions": { - "components_ref": { - "type": "object", - "title": "Component", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "propertyNames": { "examples": ["tag:foo"] }, - "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" } - }, - "additionalProperties": { - "type": "object" - } - } - }, - "properties": { - "format_version": { - "title": "1.16.100 Format Version", - "type": "string", - "const": "1.16.100", - "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_\\-]+)$", "examples": ["self:foo"] }, - "type": "object", - "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.16.100/components/minecraft.block_light_absorption.json b/source/behavior/blocks/1.16.100/components/minecraft.block_light_absorption.json deleted file mode 100644 index b654a81e..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.block_light_absorption.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.block_light_absorption", - "additionalProperties": false, - "type": "integer", - "title": "Block Light Absorption 1.16.100", - "description": "The amount of light this block will absorb.", - "default": 0 -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.block_light_emission.json b/source/behavior/blocks/1.16.100/components/minecraft.block_light_emission.json deleted file mode 100644 index b099cf36..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.block_light_emission.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.block_light_emission", - "additionalProperties": false, - "type": "number", - "title": "Block Light Emission 1.16.100", - "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.16.100/components/minecraft.breakonpush.json b/source/behavior/blocks/1.16.100/components/minecraft.breakonpush.json deleted file mode 100644 index b8c34137..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.breakonpush.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.breakonpush", - "additionalProperties": false, - "type": "boolean", - "title": "Break On Push 1.16.100", - "description": "When pushed by a piston the block breaks." -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.breathability.json b/source/behavior/blocks/1.16.100/components/minecraft.breathability.json deleted file mode 100644 index 8e9bb3a7..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.breathability.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.breathability", - "additionalProperties": false, - "type": "string", - "title": "Breathability 1.16.100", - "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", - "enum": ["solid", "air"], - "default": "solid" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.destroy_time.json b/source/behavior/blocks/1.16.100/components/minecraft.destroy_time.json deleted file mode 100644 index 315c6d28..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.destroy_time.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.destroy_time", - "additionalProperties": false, - "type": "number", - "title": "Destroy Time 1.16.100", - "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times. Time is measured in seconds with base equipment." -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.display_name.json b/source/behavior/blocks/1.16.100/components/minecraft.display_name.json deleted file mode 100644 index 1f727f52..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.display_name.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.display_name", - "additionalProperties": false, - "type": "string", - "title": "Display Name 1.16.100", - "description": "Specifies the language file key that maps to what text will be displayed when you hover over the block." -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.entity_collision.json b/source/behavior/blocks/1.16.100/components/minecraft.entity_collision.json deleted file mode 100644 index e239da1a..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.entity_collision.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.entity_collision", - "title": "Entity Collision 1.16.100", - "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.16.100/components/minecraft.explosion_resistance.json b/source/behavior/blocks/1.16.100/components/minecraft.explosion_resistance.json deleted file mode 100644 index 136615a8..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.explosion_resistance.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.explosion_resistance", - "additionalProperties": false, - "type": "number", - "title": "Explosion Resistance 1.16.100", - "description": "Sets the explosion resistance for this block.", - "default": 0.0 -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.flammable.json b/source/behavior/blocks/1.16.100/components/minecraft.flammable.json deleted file mode 100644 index 0afdb2a7..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.flammable.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.flammable", - "additionalProperties": false, - "type": "object", - "title": "Flammable 1.16.100", - "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. Value must be greater than or equal to 0.", - "title": "Burn Odds" - }, - "flame_odds": { - "type": "integer", - "default": 0, - "description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.", - "title": "Flame Odds" - } - } -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.friction.json b/source/behavior/blocks/1.16.100/components/minecraft.friction.json deleted file mode 100644 index 0d7cdfd0..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.friction.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.friction", - "additionalProperties": false, - "type": "number", - "title": "Friction 1.16.100", - "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.16.100/components/minecraft.geometry.json b/source/behavior/blocks/1.16.100/components/minecraft.geometry.json deleted file mode 100644 index 0b3a5aa2..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.geometry.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.geometry", - "additionalProperties": false, - "type": "string", - "title": "Geometry 1.16.100", - "description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.", - "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.immovable.json b/source/behavior/blocks/1.16.100/components/minecraft.immovable.json deleted file mode 100644 index 0bc1fc81..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.immovable.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.immovable", - "additionalProperties": false, - "type": "boolean", - "title": "Immovable 1.16.100", - "description": "An Immovable block cannot be pushed by pistons" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.loot.json b/source/behavior/blocks/1.16.100/components/minecraft.loot.json deleted file mode 100644 index e6184eaa..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.loot.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.loot", - "additionalProperties": false, - "type": "string", - "title": "Loot 1.16.100", - "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.16.100/components/minecraft.map_color.json b/source/behavior/blocks/1.16.100/components/minecraft.map_color.json deleted file mode 100644 index 2b92bfee..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.map_color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.map_color", - "additionalProperties": false, - "type": "string", - "title": "Map Color 1.16.100", - "description": "A color represented as a hex value. This will be the color rendered to a map.", - "format": "color-hex" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.material_instances.json b/source/behavior/blocks/1.16.100/components/minecraft.material_instances.json deleted file mode 100644 index 9fea9e59..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.material_instances.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.material_instances", - "type": "object", - "title": "Material Instances 1.16.100", - "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.16.100/components/minecraft.on_fall_on.json b/source/behavior/blocks/1.16.100/components/minecraft.on_fall_on.json deleted file mode 100644 index 3bbc0c42..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_fall_on.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.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.16.100/components/minecraft.on_interact.json b/source/behavior/blocks/1.16.100/components/minecraft.on_interact.json deleted file mode 100644 index 81be6905..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_interact.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.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.16.100/components/minecraft.on_placed.json b/source/behavior/blocks/1.16.100/components/minecraft.on_placed.json deleted file mode 100644 index bd0454ee..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_placed.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_placed", - "type": "object", - "title": "On Placed 1.16.100", - "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.16.100/components/minecraft.on_player_destroyed.json b/source/behavior/blocks/1.16.100/components/minecraft.on_player_destroyed.json deleted file mode 100644 index f167c381..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_player_destroyed.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_player_destroyed", - "type": "object", - "title": "On Player Destroyed 1.16.100", - "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.16.100/components/minecraft.on_player_placing.json b/source/behavior/blocks/1.16.100/components/minecraft.on_player_placing.json deleted file mode 100644 index 38c5d227..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_player_placing.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_player_placing", - "type": "object", - "title": "On Player Placing 1.16.100", - "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.16.100/components/minecraft.on_step_off.json b/source/behavior/blocks/1.16.100/components/minecraft.on_step_off.json deleted file mode 100644 index 6840001f..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_step_off.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_step_off", - "type": "object", - "title": "On Step Off 1.16.100", - "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.16.100/components/minecraft.on_step_on.json b/source/behavior/blocks/1.16.100/components/minecraft.on_step_on.json deleted file mode 100644 index 7774ad54..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.on_step_on.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_step_on", - "type": "object", - "title": "On Step On 1.16.100", - "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.16.100/components/minecraft.onlypistonpush.json b/source/behavior/blocks/1.16.100/components/minecraft.onlypistonpush.json deleted file mode 100644 index d47fd6fe..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.onlypistonpush.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.onlypistonpush", - "type": "boolean", - "title": "Only Piston Push 1.16.100", - "description": "Blocks with those components won't stick to stickyPistons" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.pick_collision.json b/source/behavior/blocks/1.16.100/components/minecraft.pick_collision.json deleted file mode 100644 index 6a918388..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.pick_collision.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.pick_collision", - "title": "Pick Collision 1.16.100", - "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.16.100/components/minecraft.placement_filter.json b/source/behavior/blocks/1.16.100/components/minecraft.placement_filter.json deleted file mode 100644 index c29c2496..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.placement_filter.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.placement_filter", - "title": "Placement Filter 1.16.100", - "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.16.100/components/minecraft.preventsjumping.json b/source/behavior/blocks/1.16.100/components/minecraft.preventsjumping.json deleted file mode 100644 index 0bd767b5..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.preventsjumping.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.preventsjumping", - "title": "Prevents Jumping 1.16.100", - "description": "This component makes it so actors can't jump when walking on this block", - "type": "boolean" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.random_ticking.json b/source/behavior/blocks/1.16.100/components/minecraft.random_ticking.json deleted file mode 100644 index 3d052496..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.random_ticking.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.random_ticking", - "title": "Random Ticking 1.16.100", - "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.16.100/components/minecraft.rotation.json b/source/behavior/blocks/1.16.100/components/minecraft.rotation.json deleted file mode 100644 index bae1494e..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.rotation.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.rotation", - "title": "Rotation 1.16.100", - "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.16.100/components/minecraft.ticking.json b/source/behavior/blocks/1.16.100/components/minecraft.ticking.json deleted file mode 100644 index b0555c82..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.ticking.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.ticking", - "title": "Ticking 1.16.100", - "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.16.100/components/minecraft.unit_cube.json b/source/behavior/blocks/1.16.100/components/minecraft.unit_cube.json deleted file mode 100644 index 583bdc1b..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.unit_cube.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.unit_cube", - "title": "Unit Cube 1.16.100", - "description": "Specifies that a unit cube is to be used with tessellation.", - "type": "string" -} diff --git a/source/behavior/blocks/1.16.100/components/minecraft.unwalkable.json b/source/behavior/blocks/1.16.100/components/minecraft.unwalkable.json deleted file mode 100644 index b39e5239..00000000 --- a/source/behavior/blocks/1.16.100/components/minecraft.unwalkable.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.unwalkable", - "title": "Unwalkable 1.16.100", - "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.16.100/events.json b/source/behavior/blocks/1.16.100/events.json deleted file mode 100644 index fb3a656e..00000000 --- a/source/behavior/blocks/1.16.100/events.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.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": "Randomly selects one of the following items based upon their weight and the total weights", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { - "title": "Randomize", - "description": "Randomly selects one of the following items based upon their weight and the total weights", - "$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.16.100/events/set_block_property.json b/source/behavior/blocks/1.16.100/events/set_block_property.json deleted file mode 100644 index cbe5a4a7..00000000 --- a/source/behavior/blocks/1.16.100/events/set_block_property.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block_property", - "type": "object", - "description": "Sets a block property on this block", - "title": "Set Block Property", - "propertyNames": { "examples": ["self:foo"] }, - "additionalProperties": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } -} diff --git a/source/behavior/blocks/1.16.100/events/teleport.json b/source/behavior/blocks/1.16.100/events/teleport.json deleted file mode 100644 index 7e13dac9..00000000 --- a/source/behavior/blocks/1.16.100/events/teleport.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.teleport", - "type": "object", - "description": "Teleport target randomly around destination point.", - "title": "Teleport", - "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.16.100/events/transform_item.json b/source/behavior/blocks/1.16.100/events/transform_item.json deleted file mode 100644 index 98848456..00000000 --- a/source/behavior/blocks/1.16.100/events/transform_item.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.transform_item", - "type": "object", - "description": "Transforms item into another item.", - "title": "Transform Item 1.16.100", - "additionalProperties": false, - "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } -} diff --git a/source/behavior/blocks/1.16.200/blocks.json b/source/behavior/blocks/1.16.200/blocks.json deleted file mode 100644 index 3067dde4..00000000 --- a/source/behavior/blocks/1.16.200/blocks.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.blocks", - "description": "Minecraft blocks 1.16.200", - "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:creative_category": { "$ref": "./components/minecraft.creative_category.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.16.200 Format Version", - "type": "string", - "const": "1.16.200", - "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.16.200/components/minecraft.block_light_absorption.json b/source/behavior/blocks/1.16.200/components/minecraft.block_light_absorption.json deleted file mode 100644 index 9c1075eb..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.block_light_absorption.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.block_light_absorption", - "additionalProperties": false, - "type": "integer", - "title": "Block Light Absorption 1.16.200", - "description": "The amount of light this block will absorb.", - "default": 0 -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.block_light_emission.json b/source/behavior/blocks/1.16.200/components/minecraft.block_light_emission.json deleted file mode 100644 index 428529b2..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.block_light_emission.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.block_light_emission", - "additionalProperties": false, - "type": "number", - "title": "Block Light Emission 1.16.200", - "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.16.200/components/minecraft.breakonpush.json b/source/behavior/blocks/1.16.200/components/minecraft.breakonpush.json deleted file mode 100644 index 5258ee5a..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.breakonpush.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.breakonpush", - "additionalProperties": false, - "type": "boolean", - "title": "Break On Push 1.16.200", - "description": "When pushed by a piston the block breaks." -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.breathability.json b/source/behavior/blocks/1.16.200/components/minecraft.breathability.json deleted file mode 100644 index 31cce1aa..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.breathability.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.breathability", - "additionalProperties": false, - "type": "string", - "title": "Breathability 1.16.200", - "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", - "enum": ["solid", "air"], - "default": "solid" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.creative_category.json b/source/behavior/blocks/1.16.200/components/minecraft.creative_category.json deleted file mode 100644 index 7bca6fc3..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.creative_category.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.creative_category", - "additionalProperties": false, - "type": "boolean", - "title": "Creative Category 1.17.0", - "description": "Specifies the creative group for the block." -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.destroy_time.json b/source/behavior/blocks/1.16.200/components/minecraft.destroy_time.json deleted file mode 100644 index 99fc514c..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.destroy_time.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.destroy_time", - "additionalProperties": false, - "type": "number", - "title": "Destroy Time 1.16.200", - "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times. Time is measured in seconds with base equipment." -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.display_name.json b/source/behavior/blocks/1.16.200/components/minecraft.display_name.json deleted file mode 100644 index ad7a8ea8..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.display_name.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.display_name", - "additionalProperties": false, - "type": "string", - "title": "Display Name 1.16.200", - "description": "Specifies the language file key that maps to what text will be displayed when you hover over the block." -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.entity_collision.json b/source/behavior/blocks/1.16.200/components/minecraft.entity_collision.json deleted file mode 100644 index b4bd0f0c..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.entity_collision.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.entity_collision", - "title": "Entity Collision 1.16.200", - "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.16.200/components/minecraft.explosion_resistance.json b/source/behavior/blocks/1.16.200/components/minecraft.explosion_resistance.json deleted file mode 100644 index 8c6b3868..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.explosion_resistance.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.explosion_resistance", - "additionalProperties": false, - "type": "number", - "title": "Explosion Resistance 1.16.200", - "description": "Sets the explosion resistance for this block.", - "default": 0.0 -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.flammable.json b/source/behavior/blocks/1.16.200/components/minecraft.flammable.json deleted file mode 100644 index e088fa6f..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.flammable.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.flammable", - "additionalProperties": false, - "type": "object", - "title": "Flammable 1.16.200", - "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. Value must be greater than or equal to 0.", - "title": "Burn Odds" - }, - "flame_odds": { - "type": "integer", - "default": 0, - "description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.", - "title": "Flame Odds" - } - } -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.friction.json b/source/behavior/blocks/1.16.200/components/minecraft.friction.json deleted file mode 100644 index ce7007a5..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.friction.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.friction", - "additionalProperties": false, - "type": "number", - "title": "Friction 1.16.200", - "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.16.200/components/minecraft.geometry.json b/source/behavior/blocks/1.16.200/components/minecraft.geometry.json deleted file mode 100644 index db75ca74..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.geometry.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.geometry", - "additionalProperties": false, - "type": "string", - "title": "Geometry 1.16.200", - "description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.", - "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.immovable.json b/source/behavior/blocks/1.16.200/components/minecraft.immovable.json deleted file mode 100644 index 4aca42cb..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.immovable.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.immovable", - "additionalProperties": false, - "type": "boolean", - "title": "Immovable 1.16.200", - "description": "An Immovable block cannot be pushed by pistons" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.loot.json b/source/behavior/blocks/1.16.200/components/minecraft.loot.json deleted file mode 100644 index eab7e3a2..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.loot.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.loot", - "additionalProperties": false, - "type": "string", - "title": "Loot 1.16.200", - "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.16.200/components/minecraft.map_color.json b/source/behavior/blocks/1.16.200/components/minecraft.map_color.json deleted file mode 100644 index 1ed672be..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.map_color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.map_color", - "additionalProperties": false, - "type": "string", - "title": "Map Color 1.16.200", - "description": "A color represented as a hex value. This will be the color rendered to a map.", - "format": "color-hex" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.material_instances.json b/source/behavior/blocks/1.16.200/components/minecraft.material_instances.json deleted file mode 100644 index df9df35a..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.material_instances.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.material_instances", - "type": "object", - "title": "Material Instances 1.16.200", - "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.16.200/components/minecraft.on_fall_on.json b/source/behavior/blocks/1.16.200/components/minecraft.on_fall_on.json deleted file mode 100644 index 6efc6c9f..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_fall_on.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.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.16.200/components/minecraft.on_interact.json b/source/behavior/blocks/1.16.200/components/minecraft.on_interact.json deleted file mode 100644 index f2aadf88..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_interact.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.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.16.200/components/minecraft.on_placed.json b/source/behavior/blocks/1.16.200/components/minecraft.on_placed.json deleted file mode 100644 index c08db5b2..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_placed.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.on_placed", - "type": "object", - "title": "On Placed 1.16.200", - "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.16.200/components/minecraft.on_player_destroyed.json b/source/behavior/blocks/1.16.200/components/minecraft.on_player_destroyed.json deleted file mode 100644 index 30b0c9a1..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_player_destroyed.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.on_player_destroyed", - "type": "object", - "title": "On Player Destroyed 1.16.200", - "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.16.200/components/minecraft.on_player_placing.json b/source/behavior/blocks/1.16.200/components/minecraft.on_player_placing.json deleted file mode 100644 index cf4e44d2..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_player_placing.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.on_player_placing", - "type": "object", - "title": "On Player Placing 1.16.200", - "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.16.200/components/minecraft.on_step_off.json b/source/behavior/blocks/1.16.200/components/minecraft.on_step_off.json deleted file mode 100644 index bdbd9c2f..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_step_off.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.on_step_off", - "type": "object", - "title": "On Step Off 1.16.200", - "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.16.200/components/minecraft.on_step_on.json b/source/behavior/blocks/1.16.200/components/minecraft.on_step_on.json deleted file mode 100644 index 4208960b..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.on_step_on.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.on_step_on", - "type": "object", - "title": "On Step On 1.16.200", - "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.16.200/components/minecraft.onlypistonpush.json b/source/behavior/blocks/1.16.200/components/minecraft.onlypistonpush.json deleted file mode 100644 index 7f8e449f..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.onlypistonpush.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.onlypistonpush", - "type": "boolean", - "title": "Only Piston Push 1.16.200", - "description": "Blocks with those components won't stick to stickyPistons" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.pick_collision.json b/source/behavior/blocks/1.16.200/components/minecraft.pick_collision.json deleted file mode 100644 index 38fecc5e..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.pick_collision.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.pick_collision", - "title": "Pick Collision 1.16.200", - "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.16.200/components/minecraft.placement_filter.json b/source/behavior/blocks/1.16.200/components/minecraft.placement_filter.json deleted file mode 100644 index cf5c5de7..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.placement_filter.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.placement_filter", - "title": "Placement Filter 1.16.200", - "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.16.200/components/minecraft.preventsjumping.json b/source/behavior/blocks/1.16.200/components/minecraft.preventsjumping.json deleted file mode 100644 index 8d1019c3..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.preventsjumping.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.preventsjumping", - "title": "Prevents Jumping 1.16.200", - "description": "This component makes it so actors can't jump when walking on this block", - "type": "boolean" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.random_ticking.json b/source/behavior/blocks/1.16.200/components/minecraft.random_ticking.json deleted file mode 100644 index 8c3412c2..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.random_ticking.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.random_ticking", - "title": "Random Ticking 1.16.200", - "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.16.200/components/minecraft.rotation.json b/source/behavior/blocks/1.16.200/components/minecraft.rotation.json deleted file mode 100644 index 02bbd887..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.rotation.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.rotation", - "title": "Rotation 1.16.200", - "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.16.200/components/minecraft.ticking.json b/source/behavior/blocks/1.16.200/components/minecraft.ticking.json deleted file mode 100644 index 4856f637..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.ticking.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.ticking", - "title": "Ticking 1.16.200", - "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.16.200/components/minecraft.unit_cube.json b/source/behavior/blocks/1.16.200/components/minecraft.unit_cube.json deleted file mode 100644 index 0bf4e725..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.unit_cube.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.unit_cube", - "title": "Unit Cube 1.16.200", - "description": "Specifies that a unit cube is to be used with tessellation.", - "type": "string" -} diff --git a/source/behavior/blocks/1.16.200/components/minecraft.unwalkable.json b/source/behavior/blocks/1.16.200/components/minecraft.unwalkable.json deleted file mode 100644 index 6af8d962..00000000 --- a/source/behavior/blocks/1.16.200/components/minecraft.unwalkable.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.16.200.minecraft.unwalkable", - "title": "Unwalkable 1.16.200", - "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.16.200/events.json b/source/behavior/blocks/1.16.200/events.json deleted file mode 100644 index a7dd6dcd..00000000 --- a/source/behavior/blocks/1.16.200/events.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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.16.200/events/add_mob_effect.json b/source/behavior/blocks/1.16.200/events/add_mob_effect.json deleted file mode 100644 index 798134bf..00000000 --- a/source/behavior/blocks/1.16.200/events/add_mob_effect.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.add_mob_effect", - "type": "object", - "description": "Apply mob effect to target.", - "title": "Add Mob Effect 1.16.200", - "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.16.200/events/damage.json b/source/behavior/blocks/1.16.200/events/damage.json deleted file mode 100644 index 89a00c41..00000000 --- a/source/behavior/blocks/1.16.200/events/damage.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.damage", - "type": "object", - "description": "Deals damage to the target.", - "title": "Damage 1.16.200", - "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.16.200/events/decrement_stack.json b/source/behavior/blocks/1.16.200/events/decrement_stack.json deleted file mode 100644 index 802bf3a3..00000000 --- a/source/behavior/blocks/1.16.200/events/decrement_stack.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.decrement_stack", - "type": "object", - "description": "Decrement item stack.", - "title": "Decrement Stack 1.16.200", - "additionalProperties": false, - "properties": {} -} diff --git a/source/behavior/blocks/1.16.200/events/die.json b/source/behavior/blocks/1.16.200/events/die.json deleted file mode 100644 index 4100b084..00000000 --- a/source/behavior/blocks/1.16.200/events/die.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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.16.200", - "additionalProperties": false, - "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } -} diff --git a/source/behavior/blocks/1.16.200/events/play_effect.json b/source/behavior/blocks/1.16.200/events/play_effect.json deleted file mode 100644 index a107b1b4..00000000 --- a/source/behavior/blocks/1.16.200/events/play_effect.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.play_effect", - "type": "object", - "description": "Spawns a particle effect relative to target position.", - "title": "Play Effect 1.16.200", - "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.16.200/events/play_sound.json b/source/behavior/blocks/1.16.200/events/play_sound.json deleted file mode 100644 index e21f7104..00000000 --- a/source/behavior/blocks/1.16.200/events/play_sound.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.playsound", - "type": "object", - "description": "Play a sound relative to target position.", - "title": "Playsound 1.16.200", - "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.16.200/events/remove_mob_effect.json b/source/behavior/blocks/1.16.200/events/remove_mob_effect.json deleted file mode 100644 index dcae7b41..00000000 --- a/source/behavior/blocks/1.16.200/events/remove_mob_effect.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.remove_mob_effect", - "type": "object", - "description": "Removes mob effect from target.", - "title": "Remove Mob Effect 1.16.200", - "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.16.200/events/run_command.json b/source/behavior/blocks/1.16.200/events/run_command.json deleted file mode 100644 index ceb6928f..00000000 --- a/source/behavior/blocks/1.16.200/events/run_command.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.run_command", - "type": "object", - "description": "Triggers a slash command or a list of slash commands.", - "title": "Run Command 1.16.200", - "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.16.200/events/set_block.json b/source/behavior/blocks/1.16.200/events/set_block.json deleted file mode 100644 index 693feee1..00000000 --- a/source/behavior/blocks/1.16.200/events/set_block.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.set_block", - "type": "object", - "description": "Sets this block to another block type.", - "title": "Set Block 1.16.200", - "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.16.200/events/set_block_at_pos.json b/source/behavior/blocks/1.16.200/events/set_block_at_pos.json deleted file mode 100644 index ba535c4c..00000000 --- a/source/behavior/blocks/1.16.200/events/set_block_at_pos.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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.16.200", - "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.16.200/events/set_block_property.json b/source/behavior/blocks/1.16.200/events/set_block_property.json deleted file mode 100644 index 78ac4c97..00000000 --- a/source/behavior/blocks/1.16.200/events/set_block_property.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.set_block_property", - "type": "object", - "description": "Sets a block property on this block", - "title": "Set Block Property 1.16.200", - "additionalProperties": false, - "properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } } -} diff --git a/source/behavior/blocks/1.16.200/events/spawn_loot.json b/source/behavior/blocks/1.16.200/events/spawn_loot.json deleted file mode 100644 index bf8424dc..00000000 --- a/source/behavior/blocks/1.16.200/events/spawn_loot.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.spawn_loot", - "type": "object", - "description": "Spawn loot from block.", - "title": "Spawn Loot 1.16.200", - "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.16.200/events/swing.json b/source/behavior/blocks/1.16.200/events/swing.json deleted file mode 100644 index c61d2fc2..00000000 --- a/source/behavior/blocks/1.16.200/events/swing.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.swing", - "type": "object", - "description": "Event causes the actor to swing.", - "title": "Swing 1.16.200", - "additionalProperties": false, - "properties": {} -} diff --git a/source/behavior/blocks/1.16.200/events/teleport.json b/source/behavior/blocks/1.16.200/events/teleport.json deleted file mode 100644 index a8e679d3..00000000 --- a/source/behavior/blocks/1.16.200/events/teleport.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.teleport", - "type": "object", - "description": "Teleport target randomly around destination point.", - "title": "Teleport 1.16.200", - "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.16.200/events/transform_item.json b/source/behavior/blocks/1.16.200/events/transform_item.json deleted file mode 100644 index d1aed2c4..00000000 --- a/source/behavior/blocks/1.16.200/events/transform_item.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.block.events.transform_item", - "type": "object", - "description": "Transforms item into another item.", - "title": "Transform Item 1.16.200", - "additionalProperties": false, - "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } -} diff --git a/source/behavior/blocks/1.17.0/blocks.json b/source/behavior/blocks/1.17.0/blocks.json deleted file mode 100644 index d0492989..00000000 --- a/source/behavior/blocks/1.17.0/blocks.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "$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:creative_category": { "$ref": "./components/minecraft.creative_category.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:part_visibility.json": { "$ref": "./components/minecraft.part_visibility.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_\\-]+)$" }, - "type": "object", - "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 deleted file mode 100644 index 3fbd3eab..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.block_light_absorption.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$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.creative_category.json b/source/behavior/blocks/1.17.0/components/minecraft.creative_category.json deleted file mode 100644 index 7bca6fc3..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.creative_category.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.creative_category", - "additionalProperties": false, - "type": "boolean", - "title": "Creative Category 1.17.0", - "description": "Specifies the creative group for the block." -} 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 deleted file mode 100644 index 7b7f650f..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_player_destroyed.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$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 deleted file mode 100644 index 5fe5f901..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_player_placing.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$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.onlypistonpush.json b/source/behavior/blocks/1.17.0/components/minecraft.onlypistonpush.json deleted file mode 100644 index 22217b8d..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.onlypistonpush.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$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.preventsjumping.json b/source/behavior/blocks/1.17.0/components/minecraft.preventsjumping.json deleted file mode 100644 index 106c053a..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.preventsjumping.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$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.unit_cube.json b/source/behavior/blocks/1.17.0/components/minecraft.unit_cube.json deleted file mode 100644 index dea0e768..00000000 --- a/source/behavior/blocks/1.17.0/components/minecraft.unit_cube.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$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": "object" -} diff --git a/source/behavior/blocks/1.17.0/events.json b/source/behavior/blocks/1.17.0/events.json deleted file mode 100644 index 6f159a9b..00000000 --- a/source/behavior/blocks/1.17.0/events.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "$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 deleted file mode 100644 index 123ab650..00000000 --- a/source/behavior/blocks/1.17.0/events/add_mob_effect.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$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 deleted file mode 100644 index 07fbf2af..00000000 --- a/source/behavior/blocks/1.17.0/events/damage.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$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 deleted file mode 100644 index 026895b3..00000000 --- a/source/behavior/blocks/1.17.0/events/decrement_stack.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$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 deleted file mode 100644 index 929163dd..00000000 --- a/source/behavior/blocks/1.17.0/events/die.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$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 deleted file mode 100644 index 449a4cd1..00000000 --- a/source/behavior/blocks/1.17.0/events/play_effect.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$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 deleted file mode 100644 index 43265d90..00000000 --- a/source/behavior/blocks/1.17.0/events/play_sound.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$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 deleted file mode 100644 index 0e551ee1..00000000 --- a/source/behavior/blocks/1.17.0/events/remove_mob_effect.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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 deleted file mode 100644 index cc3e63c9..00000000 --- a/source/behavior/blocks/1.17.0/events/run_command.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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 deleted file mode 100644 index 90899b01..00000000 --- a/source/behavior/blocks/1.17.0/events/set_block.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$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 deleted file mode 100644 index fb1942ff..00000000 --- a/source/behavior/blocks/1.17.0/events/set_block_at_pos.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$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/spawn_loot.json b/source/behavior/blocks/1.17.0/events/spawn_loot.json deleted file mode 100644 index 18c797c2..00000000 --- a/source/behavior/blocks/1.17.0/events/spawn_loot.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$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 deleted file mode 100644 index ab5dfd61..00000000 --- a/source/behavior/blocks/1.17.0/events/swing.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$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/blocks.json b/source/behavior/blocks/blocks.json index ba4b2590..ea447a1b 100644 --- a/source/behavior/blocks/blocks.json +++ b/source/behavior/blocks/blocks.json @@ -1,20 +1,14 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "blockception.minecraft.behavior.blocks", - "examples": [ - { - "format_version": "1.16.200", - "minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} } - } - ], - "allOf": [ - { "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/blocks.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/blocks.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/blocks.json" } }, - { "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" } } } - ] + "$id": "blockception.minecraft.behavior.block", + "$comment": "UNDOCUMENTED", + "required": ["format_version", "minecraft:block"], + "type": "object", + "title": "Block Behavior", + "description": "The minecraft block behavior specification", + "additionalProperties": false, + "properties": { + "format_version": { "$ref": "../../general/format_version.json" }, + "minecraft:block": { "$ref": "./format/minecraft.block.json" } + } } diff --git a/source/behavior/blocks/1.17.0/components/minecraft.block_light_emission.json b/source/behavior/blocks/format/components/block_light_emission.json similarity index 59% rename from source/behavior/blocks/1.17.0/components/minecraft.block_light_emission.json rename to source/behavior/blocks/format/components/block_light_emission.json index cb86c0fd..20f55967 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.block_light_emission.json +++ b/source/behavior/blocks/format/components/block_light_emission.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.block_light_emission", + "$id": "blockception.minecraft.behavior.blocks.minecraft.block_light_emission", "additionalProperties": false, "type": "number", - "title": "Block Light Emission 1.17.0", + "title": "Block Light Emission", "description": "The amount of light this block will emit in a range [0.0, 1.0].", "minimum": 0, "maximum": 1, diff --git a/source/behavior/blocks/format/components/block_light_filter.json b/source/behavior/blocks/format/components/block_light_filter.json new file mode 100644 index 00000000..c72c2725 --- /dev/null +++ b/source/behavior/blocks/format/components/block_light_filter.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.block_light_absorption", + "additionalProperties": false, + "type": "integer", + "title": "Block Light Absorption", + "description": "The amount of light this block will filter out. Higher value means more light will be filtered out (0 - 15).", + "default": 0 +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.breakonpush.json b/source/behavior/blocks/format/components/breakonpush.json similarity index 50% rename from source/behavior/blocks/1.17.0/components/minecraft.breakonpush.json rename to source/behavior/blocks/format/components/breakonpush.json index 63b9f830..e78172c2 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.breakonpush.json +++ b/source/behavior/blocks/format/components/breakonpush.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.breakonpush", + "$id": "blockception.minecraft.behavior.blocks.minecraft.breakonpush", "additionalProperties": false, "type": "boolean", - "title": "Break On Push 1.17.0", + "title": "Break On Push", "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/format/components/breathability.json similarity index 67% rename from source/behavior/blocks/1.17.0/components/minecraft.breathability.json rename to source/behavior/blocks/format/components/breathability.json index d66a2ef4..e6dd9a3f 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.breathability.json +++ b/source/behavior/blocks/format/components/breathability.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.breathability", + "$id": "blockception.minecraft.behavior.blocks.minecraft.breathability", "additionalProperties": false, "type": "string", - "title": "Breathability 1.17.0", + "title": "Breathability", "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/format/components/creative_category.json b/source/behavior/blocks/format/components/creative_category.json new file mode 100644 index 00000000..b80bd216 --- /dev/null +++ b/source/behavior/blocks/format/components/creative_category.json @@ -0,0 +1,7 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.creative_category", + "additionalProperties": false, + "type": "boolean", + "title": "Creative Category", + "description": "Specifies the creative group for the block." +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.destroy_time.json b/source/behavior/blocks/format/components/destroy_time.json similarity index 67% rename from source/behavior/blocks/1.17.0/components/minecraft.destroy_time.json rename to source/behavior/blocks/format/components/destroy_time.json index 7f1406ca..71aaf4c1 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.destroy_time.json +++ b/source/behavior/blocks/format/components/destroy_time.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.destroy_time", + "$id": "blockception.minecraft.behavior.blocks.minecraft.destroy_time", "additionalProperties": false, "type": "number", - "title": "Destroy Time 1.17.0", + "title": "Destroy Time", "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times. Time is measured in seconds with base equipment.", "default": 0.0 } diff --git a/source/behavior/blocks/1.17.0/components/minecraft.display_name.json b/source/behavior/blocks/format/components/display_name.json similarity index 61% rename from source/behavior/blocks/1.17.0/components/minecraft.display_name.json rename to source/behavior/blocks/format/components/display_name.json index 6945805b..e0aad71e 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.display_name.json +++ b/source/behavior/blocks/format/components/display_name.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.display_name", + "$id": "blockception.minecraft.behavior.blocks.minecraft.display_name", "additionalProperties": false, "type": "string", - "title": "Display Name 1.17.0", + "title": "Display Name", "description": "Specifies the language file key that maps to what text will be displayed when you hover over the block." } diff --git a/source/behavior/blocks/1.17.0/components/minecraft.entity_collision.json b/source/behavior/blocks/format/components/entity_collision.json similarity index 90% rename from source/behavior/blocks/1.17.0/components/minecraft.entity_collision.json rename to source/behavior/blocks/format/components/entity_collision.json index ef7599cb..506ce871 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.entity_collision.json +++ b/source/behavior/blocks/format/components/entity_collision.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.entity_collision", - "title": "Entity Collision 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.entity_collision", + "title": "Entity Collision", "description": "Can only be set to false or an object, it disables the collision of the block with entities.", "oneOf": [ { "type": "boolean", "const": false }, diff --git a/source/behavior/blocks/1.17.0/components/minecraft.explosion_resistance.json b/source/behavior/blocks/format/components/explosion_resistance.json similarity index 51% rename from source/behavior/blocks/1.17.0/components/minecraft.explosion_resistance.json rename to source/behavior/blocks/format/components/explosion_resistance.json index e4e5fd0b..052fb385 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.explosion_resistance.json +++ b/source/behavior/blocks/format/components/explosion_resistance.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.explosion_resistance", + "$id": "blockception.minecraft.behavior.blocks.minecraft.explosion_resistance", "additionalProperties": false, "type": "number", - "title": "Explosion Resistance 1.17.0", + "title": "Explosion Resistance", "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/format/components/flammable.json similarity index 85% rename from source/behavior/blocks/1.17.0/components/minecraft.flammable.json rename to source/behavior/blocks/format/components/flammable.json index 12f56839..29755e5c 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.flammable.json +++ b/source/behavior/blocks/format/components/flammable.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.flammable", + "$id": "blockception.minecraft.behavior.blocks.minecraft.flammable", "additionalProperties": false, "type": "object", - "title": "Flammable 1.17.0", + "title": "Flammable", "description": "Describes the flammable properties for this block.", "additionalItems": false, "properties": { diff --git a/source/behavior/blocks/1.17.0/components/minecraft.friction.json b/source/behavior/blocks/format/components/friction.json similarity index 66% rename from source/behavior/blocks/1.17.0/components/minecraft.friction.json rename to source/behavior/blocks/format/components/friction.json index df69ee7f..7febfea7 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.friction.json +++ b/source/behavior/blocks/format/components/friction.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.friction", + "$id": "blockception.minecraft.behavior.blocks.minecraft.friction", "additionalProperties": false, "type": "number", - "title": "Friction 1.17.0", + "title": "Friction", "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/format/components/geometry.json similarity index 71% rename from source/behavior/blocks/1.17.0/components/minecraft.geometry.json rename to source/behavior/blocks/format/components/geometry.json index 5ebbcdb1..38724885 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.geometry.json +++ b/source/behavior/blocks/format/components/geometry.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.geometry", + "$id": "blockception.minecraft.behavior.blocks.minecraft.geometry", "additionalProperties": false, "type": "string", - "title": "Geometry 1.17.0", + "title": "Geometry", "description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.", "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" } diff --git a/source/behavior/blocks/1.17.0/components/minecraft.immovable.json b/source/behavior/blocks/format/components/immovable.json similarity index 53% rename from source/behavior/blocks/1.17.0/components/minecraft.immovable.json rename to source/behavior/blocks/format/components/immovable.json index 292cd5f4..88255ad5 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.immovable.json +++ b/source/behavior/blocks/format/components/immovable.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.immovable", + "$id": "blockception.minecraft.behavior.blocks.minecraft.immovable", "additionalProperties": false, "type": "boolean", - "title": "Immovable 1.17.0", + "title": "Immovable", "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/format/components/loot.json similarity index 52% rename from source/behavior/blocks/1.17.0/components/minecraft.loot.json rename to source/behavior/blocks/format/components/loot.json index 286fed74..530e37cb 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.loot.json +++ b/source/behavior/blocks/format/components/loot.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.loot", + "$id": "blockception.minecraft.behavior.blocks.minecraft.loot", "additionalProperties": false, "type": "string", - "title": "Loot 1.17.0", - "description": "The path to the loot table, relative to the behavior pack.", + "title": "Loot", + "description": "The path to the loot table, relative to the behavior pack. Path string is limited to 256 characters.", "pattern": "loot_tables/.*\\.json$" } diff --git a/source/behavior/blocks/1.17.0/components/minecraft.map_color.json b/source/behavior/blocks/format/components/map_color.json similarity index 65% rename from source/behavior/blocks/1.17.0/components/minecraft.map_color.json rename to source/behavior/blocks/format/components/map_color.json index fa3f51ea..af82380d 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.map_color.json +++ b/source/behavior/blocks/format/components/map_color.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.map_color", + "$id": "blockception.minecraft.behavior.blocks.minecraft.map_color", "additionalProperties": false, "type": "string", - "title": "Map Color 1.17.0", + "title": "Map Color", "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/format/components/material_instances.json similarity index 91% rename from source/behavior/blocks/1.17.0/components/minecraft.material_instances.json rename to source/behavior/blocks/format/components/material_instances.json index 26411c3a..7bc6370e 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.material_instances.json +++ b/source/behavior/blocks/format/components/material_instances.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.material_instances", + "$id": "blockception.minecraft.behavior.blocks.minecraft.material_instances", "type": "object", - "title": "Material Instances 1.17.0", + "title": "Material Instances", "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": { diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_fall_on.json b/source/behavior/blocks/format/components/on_fall_on.json similarity index 90% rename from source/behavior/blocks/1.17.0/components/minecraft.on_fall_on.json rename to source/behavior/blocks/format/components/on_fall_on.json index f06a8350..51187e09 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_fall_on.json +++ b/source/behavior/blocks/format/components/on_fall_on.json @@ -1,5 +1,5 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_fall_on", + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_fall_on", "type": "object", "title": "On Fall On", "description": "Describes event for this block.", diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_interact.json b/source/behavior/blocks/format/components/on_interact.json similarity index 86% rename from source/behavior/blocks/1.17.0/components/minecraft.on_interact.json rename to source/behavior/blocks/format/components/on_interact.json index 3cd685da..1656f561 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_interact.json +++ b/source/behavior/blocks/format/components/on_interact.json @@ -1,5 +1,5 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_interact", + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_interact", "type": "object", "title": "On Fall On", "description": "Describes event for this block.", diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_placed.json b/source/behavior/blocks/format/components/on_placed.json similarity index 82% rename from source/behavior/blocks/1.17.0/components/minecraft.on_placed.json rename to source/behavior/blocks/format/components/on_placed.json index 057bedcd..7aa7b8ac 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_placed.json +++ b/source/behavior/blocks/format/components/on_placed.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_placed", + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_placed", "type": "object", - "title": "On Placed 1.17.0", + "title": "On Placed", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, diff --git a/source/behavior/blocks/format/components/on_player_destroyed.json b/source/behavior/blocks/format/components/on_player_destroyed.json new file mode 100644 index 00000000..4c2ed77f --- /dev/null +++ b/source/behavior/blocks/format/components/on_player_destroyed.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_player_destroyed", + "type": "object", + "title": "On Player Destroyed", + "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/format/components/on_player_placing.json similarity index 81% rename from source/behavior/blocks/1.17.0/components/minecraft.on_step_on.json rename to source/behavior/blocks/format/components/on_player_placing.json index 2b4089dd..ed9343fc 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_step_on.json +++ b/source/behavior/blocks/format/components/on_player_placing.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_step_on", + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_player_placing", "type": "object", - "title": "On Step On 1.17.0", + "title": "On Player Placing", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, diff --git a/source/behavior/blocks/1.17.0/components/minecraft.on_step_off.json b/source/behavior/blocks/format/components/on_step_off.json similarity index 81% rename from source/behavior/blocks/1.17.0/components/minecraft.on_step_off.json rename to source/behavior/blocks/format/components/on_step_off.json index 8499b231..3a399893 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.on_step_off.json +++ b/source/behavior/blocks/format/components/on_step_off.json @@ -1,7 +1,7 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_step_off", + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_step_off", "type": "object", - "title": "On Step Off 1.17.0", + "title": "On Step Off", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, diff --git a/source/behavior/blocks/format/components/on_step_on.json b/source/behavior/blocks/format/components/on_step_on.json new file mode 100644 index 00000000..8970aa51 --- /dev/null +++ b/source/behavior/blocks/format/components/on_step_on.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.on_step_on", + "type": "object", + "title": "On Step 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/format/components/onlypistonpush.json b/source/behavior/blocks/format/components/onlypistonpush.json new file mode 100644 index 00000000..44c58311 --- /dev/null +++ b/source/behavior/blocks/format/components/onlypistonpush.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.onlypistonpush", + "type": "boolean", + "title": "Only Piston Push", + "description": "Blocks with those components won't stick to stickyPistons" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.part_visibility.json b/source/behavior/blocks/format/components/part_visibility.json similarity index 81% rename from source/behavior/blocks/1.17.0/components/minecraft.part_visibility.json rename to source/behavior/blocks/format/components/part_visibility.json index 43a162b4..ca96fbb0 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.part_visibility.json +++ b/source/behavior/blocks/format/components/part_visibility.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.part_visibility", - "title": "Part Visibility 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.part_visibility", + "title": "Part Visibility", "description": "Maps bone names in a geometry file to a condition that turns their rendering on/off. The condition should be a Molang query that uses block properties to determine true/falseSupported queries include 'has_block_property', 'block_property', and other queries that can evaluate without knowledge of the block's in-game positional or player affected data.", "type": "object", "additionalProperties": { diff --git a/source/behavior/blocks/1.17.0/components/minecraft.pick_collision.json b/source/behavior/blocks/format/components/pick_collision.json similarity index 90% rename from source/behavior/blocks/1.17.0/components/minecraft.pick_collision.json rename to source/behavior/blocks/format/components/pick_collision.json index 326c9ba2..1c106bfd 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.pick_collision.json +++ b/source/behavior/blocks/format/components/pick_collision.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.pick_collision", - "title": "Pick Collision 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.pick_collision", + "title": "Pick Collision", "description": "Can only be set to false, it disables the collision of the block with entities", "oneOf": [ { "type": "boolean", "const": false }, diff --git a/source/behavior/blocks/1.17.0/components/minecraft.placement_filter.json b/source/behavior/blocks/format/components/placement_filter.json similarity index 91% rename from source/behavior/blocks/1.17.0/components/minecraft.placement_filter.json rename to source/behavior/blocks/format/components/placement_filter.json index 469a4161..d916ee35 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.placement_filter.json +++ b/source/behavior/blocks/format/components/placement_filter.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.placement_filter", - "title": "Placement Filter 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.placement_filter", + "title": "Placement Filter", "description": "Sets rules for under what conditions the block can be placed/survive", "type": "object", "properties": { diff --git a/source/behavior/blocks/format/components/preventsjumping.json b/source/behavior/blocks/format/components/preventsjumping.json new file mode 100644 index 00000000..879cea86 --- /dev/null +++ b/source/behavior/blocks/format/components/preventsjumping.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.preventsjumping", + "title": "Prevents Jumping", + "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/format/components/random_ticking.json similarity index 92% rename from source/behavior/blocks/1.17.0/components/minecraft.random_ticking.json rename to source/behavior/blocks/format/components/random_ticking.json index 2a15b20e..476946a1 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.random_ticking.json +++ b/source/behavior/blocks/format/components/random_ticking.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.random_ticking", - "title": "Random Ticking 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.random_ticking", + "title": "Random Ticking", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, diff --git a/source/behavior/blocks/1.17.0/components/minecraft.rotation.json b/source/behavior/blocks/format/components/rotation.json similarity index 74% rename from source/behavior/blocks/1.17.0/components/minecraft.rotation.json rename to source/behavior/blocks/format/components/rotation.json index 60d9417f..ff886e3b 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.rotation.json +++ b/source/behavior/blocks/format/components/rotation.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.rotation", - "title": "Rotation 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.rotation", + "title": "Rotation", "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, diff --git a/source/behavior/blocks/1.17.0/components/minecraft.ticking.json b/source/behavior/blocks/format/components/ticking.json similarity index 91% rename from source/behavior/blocks/1.17.0/components/minecraft.ticking.json rename to source/behavior/blocks/format/components/ticking.json index 29246d05..c7c7da73 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.ticking.json +++ b/source/behavior/blocks/format/components/ticking.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.ticking", - "title": "Ticking 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.ticking", + "title": "Ticking", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, diff --git a/source/behavior/blocks/format/components/unit_cube.json b/source/behavior/blocks/format/components/unit_cube.json new file mode 100644 index 00000000..0a463b20 --- /dev/null +++ b/source/behavior/blocks/format/components/unit_cube.json @@ -0,0 +1,6 @@ +{ + "$id": "blockception.minecraft.behavior.blocks.minecraft.unit_cube", + "title": "Unit Cube", + "description": "Specifies that a unit cube is to be used with tessellation.", + "type": "object" +} diff --git a/source/behavior/blocks/1.17.0/components/minecraft.unwalkable.json b/source/behavior/blocks/format/components/unwalkable.json similarity index 60% rename from source/behavior/blocks/1.17.0/components/minecraft.unwalkable.json rename to source/behavior/blocks/format/components/unwalkable.json index 68b53803..1ec73c99 100644 --- a/source/behavior/blocks/1.17.0/components/minecraft.unwalkable.json +++ b/source/behavior/blocks/format/components/unwalkable.json @@ -1,6 +1,6 @@ { - "$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.unwalkable", - "title": "Unwalkable 1.17.0", + "$id": "blockception.minecraft.behavior.blocks.minecraft.unwalkable", + "title": "Unwalkable", "description": "Sets the block as unwalkable. Mobs would not attempt to path over top of it when the value is set to true.", "default": false, "type": "boolean" diff --git a/source/behavior/blocks/format/events.json b/source/behavior/blocks/format/events.json new file mode 100644 index 00000000..38b6f3eb --- /dev/null +++ b/source/behavior/blocks/format/events.json @@ -0,0 +1,43 @@ +{ + "$id": "blockception.minecraft.behavior.block.events", + "title": "Events", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "properties": { + "minecraft:on_fall_on": { "$ref": "#/definitions/event_base" }, + "minecraft:on_interact": { "$ref": "#/definitions/event_base" }, + "minecraft:on_placed": { "$ref": "#/definitions/event_base" }, + "minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" }, + "minecraft:on_player_placing": { "$ref": "#/definitions/event_base" }, + "minecraft:on_step_off": { "$ref": "#/definitions/event_base" }, + "minecraft:on_step_on": { "$ref": "#/definitions/event_base" } + }, + "definitions": { + "event_base": { + "title": "Event", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "condition": { + "title": "Condition", + "description": "The condition of event to be executed on the block.", + "type": "string" + }, + "event": { + "title": "Event", + "description": "The event executed on the block.", + "type": "string" + }, + "target": { + "title": "Target", + "description": "The target of event executed on the block.", + "type": "string", + "default": "self" + } + } + } + } +} diff --git a/source/behavior/blocks/1.16.100/events/add_mob_effect.json b/source/behavior/blocks/format/events/add_mob_effect.json similarity index 87% rename from source/behavior/blocks/1.16.100/events/add_mob_effect.json rename to source/behavior/blocks/format/events/add_mob_effect.json index f83f068e..3967fd44 100644 --- a/source/behavior/blocks/1.16.100/events/add_mob_effect.json +++ b/source/behavior/blocks/format/events/add_mob_effect.json @@ -1,13 +1,13 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.add_mob_effect", - "type": "object", - "description": "Apply mob effect to target.", - "title": "Add Mob Effect", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.add_mob_effect", + "type": "object", + "description": "Apply mob effect to target.", + "title": "Add Mob Effect", + "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.16.100/events/damage.json b/source/behavior/blocks/format/events/damage.json similarity index 85% rename from source/behavior/blocks/1.16.100/events/damage.json rename to source/behavior/blocks/format/events/damage.json index b220a365..b9277ac9 100644 --- a/source/behavior/blocks/1.16.100/events/damage.json +++ b/source/behavior/blocks/format/events/damage.json @@ -1,12 +1,12 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.damage", - "type": "object", - "description": "Deals damage to the target.", - "title": "Damage", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.damage", + "type": "object", + "description": "Deals damage to the target.", + "title": "Damage", + "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.16.100/events/decrement_stack.json b/source/behavior/blocks/format/events/decrement_stack.json similarity index 62% rename from source/behavior/blocks/1.16.100/events/decrement_stack.json rename to source/behavior/blocks/format/events/decrement_stack.json index 038f601d..34eb1fbe 100644 --- a/source/behavior/blocks/1.16.100/events/decrement_stack.json +++ b/source/behavior/blocks/format/events/decrement_stack.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.decrement_stack", - "type": "object", - "description": "Decrement item stack.", - "title": "Decrement Stack", - "additionalProperties": false, - "properties": {} -} +{ + "$id": "blockception.minecraft.behavior.block.events.decrement_stack", + "type": "object", + "description": "Decrement item stack.", + "title": "Decrement Stack", + "additionalProperties": false, + "properties": {} +} diff --git a/source/behavior/blocks/1.16.100/events/die.json b/source/behavior/blocks/format/events/die.json similarity index 80% rename from source/behavior/blocks/1.16.100/events/die.json rename to source/behavior/blocks/format/events/die.json index 8aacd85d..d8196e8f 100644 --- a/source/behavior/blocks/1.16.100/events/die.json +++ b/source/behavior/blocks/format/events/die.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.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", - "additionalProperties": false, - "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } -} +{ + "$id": "blockception.minecraft.behavior.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", + "additionalProperties": false, + "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } +} diff --git a/source/behavior/blocks/1.16.100/events/play_effect.json b/source/behavior/blocks/format/events/play_effect.json similarity index 85% rename from source/behavior/blocks/1.16.100/events/play_effect.json rename to source/behavior/blocks/format/events/play_effect.json index 25ad5184..6c3037c1 100644 --- a/source/behavior/blocks/1.16.100/events/play_effect.json +++ b/source/behavior/blocks/format/events/play_effect.json @@ -1,12 +1,12 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.play_effect", - "type": "object", - "description": "Spawns a particle effect relative to target position.", - "title": "Play Effect", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.play_effect", + "type": "object", + "description": "Spawns a particle effect relative to target position.", + "title": "Play Effect", + "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.16.100/events/play_sound.json b/source/behavior/blocks/format/events/play_sound.json similarity index 82% rename from source/behavior/blocks/1.16.100/events/play_sound.json rename to source/behavior/blocks/format/events/play_sound.json index e09b8b6b..87af7ba4 100644 --- a/source/behavior/blocks/1.16.100/events/play_sound.json +++ b/source/behavior/blocks/format/events/play_sound.json @@ -1,11 +1,11 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.playsound", - "type": "object", - "description": "Play a sound relative to target position.", - "title": "Playsound", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.playsound", + "type": "object", + "description": "Play a sound relative to target position.", + "title": "Playsound", + "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.16.100/events/remove_mob_effect.json b/source/behavior/blocks/format/events/remove_mob_effect.json similarity index 82% rename from source/behavior/blocks/1.16.100/events/remove_mob_effect.json rename to source/behavior/blocks/format/events/remove_mob_effect.json index a679ecd7..466e0169 100644 --- a/source/behavior/blocks/1.16.100/events/remove_mob_effect.json +++ b/source/behavior/blocks/format/events/remove_mob_effect.json @@ -1,16 +1,16 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.remove_mob_effect", - "type": "object", - "description": "Removes mob effect from target.", - "title": "Remove Mob Effect", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.remove_mob_effect", + "type": "object", + "description": "Removes mob effect from target.", + "title": "Remove Mob Effect", + "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.16.100/events/run_command.json b/source/behavior/blocks/format/events/run_command.json similarity index 85% rename from source/behavior/blocks/1.16.100/events/run_command.json rename to source/behavior/blocks/format/events/run_command.json index ba83c7e5..4602b450 100644 --- a/source/behavior/blocks/1.16.100/events/run_command.json +++ b/source/behavior/blocks/format/events/run_command.json @@ -1,16 +1,16 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.run_command", - "type": "object", - "description": "Triggers a slash command or a list of slash commands.", - "title": "Run Command", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.run_command", + "type": "object", + "description": "Triggers a slash command or a list of slash commands.", + "title": "Run Command", + "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.16.100/events/set_block.json b/source/behavior/blocks/format/events/set_block.json similarity index 76% rename from source/behavior/blocks/1.16.100/events/set_block.json rename to source/behavior/blocks/format/events/set_block.json index d9ba0cea..04ee9b3b 100644 --- a/source/behavior/blocks/1.16.100/events/set_block.json +++ b/source/behavior/blocks/format/events/set_block.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block", - "type": "object", - "description": "Sets this block to another block type.", - "title": "Set Block", - "additionalProperties": false, - "properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } -} +{ + "$id": "blockception.minecraft.behavior.block.events.set_block", + "type": "object", + "description": "Sets this block to another block type.", + "title": "Set Block", + "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.16.100/events/set_block_at_pos.json b/source/behavior/blocks/format/events/set_block_at_pos.json similarity index 88% rename from source/behavior/blocks/1.16.100/events/set_block_at_pos.json rename to source/behavior/blocks/format/events/set_block_at_pos.json index 7774ed81..25a28d9b 100644 --- a/source/behavior/blocks/1.16.100/events/set_block_at_pos.json +++ b/source/behavior/blocks/format/events/set_block_at_pos.json @@ -1,21 +1,21 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.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", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.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", + "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/format/events/set_block_property.json similarity index 66% rename from source/behavior/blocks/1.17.0/events/set_block_property.json rename to source/behavior/blocks/format/events/set_block_property.json index c6cc5ed8..ea554fcd 100644 --- a/source/behavior/blocks/1.17.0/events/set_block_property.json +++ b/source/behavior/blocks/format/events/set_block_property.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.1.17.0.block.events.set_block_property", + "$id": "blockception.minecraft.behavior.block.events.set_block_property", "type": "object", "description": "Sets a block property on this block", - "title": "Set Block Property 1.17.0", + "title": "Set Block Property", "additionalProperties": false, "properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } } } diff --git a/source/behavior/blocks/1.16.100/events/spawn_loot.json b/source/behavior/blocks/format/events/spawn_loot.json similarity index 78% rename from source/behavior/blocks/1.16.100/events/spawn_loot.json rename to source/behavior/blocks/format/events/spawn_loot.json index 9b843623..e11ba4ce 100644 --- a/source/behavior/blocks/1.16.100/events/spawn_loot.json +++ b/source/behavior/blocks/format/events/spawn_loot.json @@ -1,11 +1,11 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.spawn_loot", - "type": "object", - "description": "Spawn loot from block.", - "title": "Spawn Loot", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.block.events.spawn_loot", + "type": "object", + "description": "Spawn loot from block.", + "title": "Spawn Loot", + "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.16.100/events/swing.json b/source/behavior/blocks/format/events/swing.json similarity index 65% rename from source/behavior/blocks/1.16.100/events/swing.json rename to source/behavior/blocks/format/events/swing.json index 8a909461..71d5747f 100644 --- a/source/behavior/blocks/1.16.100/events/swing.json +++ b/source/behavior/blocks/format/events/swing.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.block.events.swing", - "type": "object", - "description": "Event causes the actor to swing.", - "title": "Swing", - "additionalProperties": false, - "properties": {} -} +{ + "$id": "blockception.minecraft.behavior.block.events.swing", + "type": "object", + "description": "Event causes the actor to swing.", + "title": "Swing", + "additionalProperties": false, + "properties": {} +} diff --git a/source/behavior/blocks/1.17.0/events/teleport.json b/source/behavior/blocks/format/events/teleport.json similarity index 94% rename from source/behavior/blocks/1.17.0/events/teleport.json rename to source/behavior/blocks/format/events/teleport.json index 6e2219ec..df928754 100644 --- a/source/behavior/blocks/1.17.0/events/teleport.json +++ b/source/behavior/blocks/format/events/teleport.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.1.17.0.block.events.teleport", + "$id": "blockception.minecraft.behavior.block.events.teleport", "type": "object", "description": "Teleport target randomly around destination point.", - "title": "Teleport 1.17.0", + "title": "Teleport", "additionalProperties": false, "properties": { "avoid_water": { diff --git a/source/behavior/blocks/1.17.0/events/transform_item.json b/source/behavior/blocks/format/events/transform_item.json similarity index 68% rename from source/behavior/blocks/1.17.0/events/transform_item.json rename to source/behavior/blocks/format/events/transform_item.json index 9f621678..b2a71947 100644 --- a/source/behavior/blocks/1.17.0/events/transform_item.json +++ b/source/behavior/blocks/format/events/transform_item.json @@ -1,8 +1,8 @@ { - "$id": "blockception.minecraft.behavior.1.17.0.block.events.transform_item", + "$id": "blockception.minecraft.behavior.block.events.transform_item", "type": "object", "description": "Transforms item into another item.", - "title": "Transform Item 1.17.0", + "title": "Transform Item", "additionalProperties": false, "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } } diff --git a/source/behavior/blocks/format/minecraft.block.json b/source/behavior/blocks/format/minecraft.block.json new file mode 100644 index 00000000..c2593dd6 --- /dev/null +++ b/source/behavior/blocks/format/minecraft.block.json @@ -0,0 +1,136 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "blockception.minecraft.behavior.blocks", + "title": "Block Definitions", + "description": "A custom block definition", + "type": "object", + "additionalProperties": false, + "required": ["description", "components"], + "definitions": { + "components_ref": { + "type": "object", + "title": "Component", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "minecraft:block_light_absorption": { "$ref": "./components/block_light_absorption.json" }, + "minecraft:block_light_emission": { "$ref": "./components/block_light_emission.json" }, + "minecraft:breakonpush": { "$ref": "./components/breakonpush.json" }, + "minecraft:breathability": { "$ref": "./components/breathability.json" }, + "minecraft:creative_category": { "$ref": "./components/creative_category.json" }, + "minecraft:destroy_time": { "$ref": "./components/destroy_time.json" }, + "minecraft:display_name": { "$ref": "./components/display_name.json" }, + "minecraft:entity_collision": { "$ref": "./components/entity_collision.json" }, + "minecraft:explosion_resistance": { "$ref": "./components/explosion_resistance.json" }, + "minecraft:flammable": { "$ref": "./components/flammable.json" }, + "minecraft:friction": { "$ref": "./components/friction.json" }, + "minecraft:geometry": { "$ref": "./components/geometry.json" }, + "minecraft:immovable": { "$ref": "./components/immovable.json" }, + "minecraft:loot": { "$ref": "./components/loot.json" }, + "minecraft:map_color": { "$ref": "./components/map_color.json" }, + "minecraft:material_instances": { "$ref": "./components/material_instances.json" }, + "minecraft:onlypistonpush": { "$ref": "./components/onlypistonpush.json" }, + "minecraft:part_visibility.json": { "$ref": "./components/part_visibility.json" }, + "minecraft:on_fall_on": { "$ref": "./components/on_fall_on.json" }, + "minecraft:on_interact": { "$ref": "./components/on_interact.json" }, + "minecraft:on_placed": { "$ref": "./components/on_placed.json" }, + "minecraft:on_player_destroyed": { "$ref": "./components/on_player_destroyed.json" }, + "minecraft:on_player_placing": { "$ref": "./components/on_player_placing.json" }, + "minecraft:on_step_off": { "$ref": "./components/on_step_off.json" }, + "minecraft:on_step_on": { "$ref": "./components/on_step_on.json" }, + "minecraft:pick_collision": { "$ref": "./components/pick_collision.json" }, + "minecraft:placement_filter": { "$ref": "./components/placement_filter.json" }, + "minecraft:preventsjumping": { "$ref": "./components/preventsjumping.json" }, + "minecraft:random_ticking": { "$ref": "./components/random_ticking.json" }, + "minecraft:rotation": { "$ref": "./components/rotation.json" }, + "minecraft:ticking": { "$ref": "./components/ticking.json" }, + "minecraft:unit_cube": { "$ref": "./components/unit_cube.json" }, + "minecraft:unwalkable": { "$ref": "./components/unwalkable.json" } + } + } + }, + "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_\\-]+)$" }, + "type": "object", + "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/dialogue/dialogue.json b/source/behavior/dialogue/dialogue.json index 40ce4617..f6d19dc7 100644 --- a/source/behavior/dialogue/dialogue.json +++ b/source/behavior/dialogue/dialogue.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.dialogue", "examples": [ { - "format_version": "1.14.0", + "format_version": "1.19.0", "minecraft:npc_dialogue": { "scenes": [ { diff --git a/source/behavior/entities/entities.json b/source/behavior/entities/entities.json index a2788203..bab37478 100644 --- a/source/behavior/entities/entities.json +++ b/source/behavior/entities/entities.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.entities", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "minecraft:entity": { "description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true }, "component_groups": {}, diff --git a/source/behavior/entities/filters/filters.json b/source/behavior/entities/filters/filters.json index 60d336b5..281881b8 100644 --- a/source/behavior/entities/filters/filters.json +++ b/source/behavior/entities/filters/filters.json @@ -138,6 +138,7 @@ { "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "./filters/is_underwater.json" } }, { "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "./filters/is_variant.json" } }, { "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "./filters/is_visible.json" } }, + { "if": { "properties": { "test": { "const": "is_waterlogged" } } }, "then": { "$ref": "./filters/is_waterlogged.json" } }, { "if": { "properties": { "test": { "const": "light_level" } } }, "then": { "$ref": "./filters/light_level.json" } }, { "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "./filters/moon_intensity.json" } }, { "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "./filters/moon_phase.json" } }, diff --git a/source/behavior/entities/filters/filters/is_waterlogged.json b/source/behavior/entities/filters/filters/is_waterlogged.json new file mode 100644 index 00000000..5b09837d --- /dev/null +++ b/source/behavior/entities/filters/filters/is_waterlogged.json @@ -0,0 +1,31 @@ +{ + "$id": "blockception.minecraft.behavior.entities.filters.is_waterlogged", + "type": "object", + "title": "Is Waterlogged", + "description": "Tests if the subject block is submerged in water.", + "required": ["value"], + "properties": { + "test": { + "type": "string", + "title": "Test", + "description": "The test property" + }, + "operator": { + "$ref": "./types/operator.json" + }, + "subject": { + "$ref": "./types/subject.json" + }, + "value": { + "description": "true or false.", + "type": "boolean", + "title": "Value" + } + }, + "examples": [ + { + "test": "light_level", + "value": 0 + } + ] +} diff --git a/source/behavior/entities/format/behaviors/knockback_roar.json b/source/behavior/entities/format/behaviors/knockback_roar.json index 7213512c..2410e575 100644 --- a/source/behavior/entities/format/behaviors/knockback_roar.json +++ b/source/behavior/entities/format/behaviors/knockback_roar.json @@ -11,7 +11,7 @@ "attack_time": { "title": "Attack Time", "type": "number", - "default": 1.0, + "default": 0.5, "description": "The delay after which the knockback occurs (in seconds)." }, "cooldown_time": { diff --git a/source/behavior/entities/format/behaviors/sleep.json b/source/behavior/entities/format/behaviors/sleep.json index dd3bab9a..30bcf753 100644 --- a/source/behavior/entities/format/behaviors/sleep.json +++ b/source/behavior/entities/format/behaviors/sleep.json @@ -8,42 +8,41 @@ "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" }, - "cooldown_time": { - "type": "number", - "default": 0, - "description": "Time in seconds the mob has to wait before using the goal again", - "title": "Cooldown Time" + "can_sleep_while_riding": { + "title": "Can Sleep While Riding", + "type": "boolean", + "default": false, + "description": "If true, the mob will be able to use the sleep goal if riding something" }, - "goal_radius": { + "cooldown_time": { + "title": "Cooldown Time", "type": "number", - "default": 0, - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Goal Radius" + "default": 0.0, + "description": "Time in seconds the mob has to wait before using the goal again" }, "sleep_collider_height": { + "title": "Sleep Collider Height", "type": "number", - "default": 1, - "description": "The height of the mob's collider while sleeping", - "title": "Sleep Collider Height" + "default": 1.0, + "description": "The height of the mob's collider while sleeping" }, "sleep_collider_width": { + "title": "Sleep Collider Width", "type": "number", - "default": 1, - "description": "The width of the mob's collider while sleeping", - "title": "Sleep Collider Width" + "default": 1.0, + "description": "The width of the mob's collider while sleeping" }, "sleep_y_offset": { + "title": "Sleep Y Offset", "type": "number", - "default": 1, - "description": "The y offset of the mob's collider while sleeping", - "title": "Sleep Y Offset" + "default": 1.0, + "description": "The y offset of the mob's collider while sleeping" }, "timeout_cooldown": { + "title": "Timeout Cooldown", "type": "number", - "default": 8, - "description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition", - "title": "Timeout Cooldown" + "default": 8.0, + "description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition" } }, "examples": [ diff --git a/source/behavior/entities/format/components.json b/source/behavior/entities/format/components.json index db9e83a7..52f86bbf 100644 --- a/source/behavior/entities/format/components.json +++ b/source/behavior/entities/format/components.json @@ -68,6 +68,7 @@ "minecraft:grows_crop": { "$ref": "./components/grows_crop.json" }, "minecraft:healable": { "$ref": "./components/healable.json" }, "minecraft:health": { "$ref": "./components/health.json" }, + "minecraft:heartbeat": { "$ref": "./components/heartbeat.json" }, "minecraft:hide": { "$ref": "./components/hide.json" }, "minecraft:home": { "$ref": "./components/home.json" }, "minecraft:horse.jump_strength": { "$ref": "./components/horse.jump_strength.json" }, @@ -104,6 +105,7 @@ "minecraft:managed_wandering_trader": { "$ref": "./components/managed_wandering_trader.json" }, "minecraft:mark_variant": { "$ref": "./components/mark_variant.json" }, "minecraft:mob_effect": { "$ref": "./components/mob_effect.json" }, + "minecraft:movement_sound_distance_offset": { "$ref": "./components/movement_sound_distance_offset.json" }, "minecraft:movement.amphibious": { "$ref": "./components/movement.amphibious.json" }, "minecraft:movement.basic": { "$ref": "./components/movement.basic.json" }, "minecraft:movement.fly": { "$ref": "./components/movement.fly.json" }, @@ -160,6 +162,7 @@ "minecraft:sound_volume": { "$ref": "./components/sound_volume.json" }, "minecraft:spawn_entity": { "$ref": "./components/spawn_entity.json" }, "minecraft:spell_effects": { "$ref": "./components/spell_effects.json" }, + "minecraft:suspect_tracking": { "$ref": "./components/suspect_tracking.json" }, "minecraft:strength": { "$ref": "./components/strength.json" }, "minecraft:tameable": { "$ref": "./components/tameable.json" }, "minecraft:tamemount": { "$ref": "./components/tamemount.json" }, @@ -176,6 +179,7 @@ "minecraft:type_family": { "$ref": "./components/type_family.json" }, "minecraft:underwater_movement": { "$ref": "./components/underwater_movement.json" }, "minecraft:variant": { "$ref": "./components/variant.json" }, + "minecraft:vibration_damper": { "$ref": "./components/vibration_damper.json" }, "minecraft:walk_animation_speed": { "$ref": "./components/walk_animation_speed.json" }, "minecraft:wants_jockey": { "$ref": "./components/wants_jockey.json" }, "minecraft:water_movement": { "$ref": "./components/water_movement.json" }, diff --git a/source/behavior/entities/format/components/ambient_sound_interval.json b/source/behavior/entities/format/components/ambient_sound_interval.json index 45bf2ad6..aa967976 100644 --- a/source/behavior/entities/format/components/ambient_sound_interval.json +++ b/source/behavior/entities/format/components/ambient_sound_interval.json @@ -11,17 +11,36 @@ "description": "Level sound event to be played as the ambient sound.", "title": "Event Name" }, + "event_names": { + "type": "array", + "description": "List of dynamic level sound events, with conditions for choosing between them. Evaluated in order, first one wins. If none evaluate to true, 'event_name' will take precedence.", + "items": { + "type": "object", + "properties": { + "condition": { + "type": "string", + "description": "The condition that must be satisfied to select the given ambient sound", + "title": "Condition" + }, + "event_name": { + "type": "string", + "description": "Level sound event to be played as the ambient sound.", + "title": "Event Name" + } + } + } + }, "range": { + "title": "Range", "type": "number", - "default": 16, - "description": "Maximum time in seconds to randomly add to the ambient sound delay time.", - "title": "Range" + "default": 16.0, + "description": "Maximum time in seconds to randomly add to the ambient sound delay time." }, "value": { + "title": "Value", "type": "number", - "default": 8, - "description": "Minimum time in seconds before the entity plays its ambient sound again", - "title": "Value" + "default": 8.0, + "description": "Minimum time in seconds before the entity plays its ambient sound again." } }, "examples": [ diff --git a/source/behavior/entities/format/components/heartbeat.json b/source/behavior/entities/format/components/heartbeat.json new file mode 100644 index 00000000..8346ad82 --- /dev/null +++ b/source/behavior/entities/format/components/heartbeat.json @@ -0,0 +1,11 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.heartbeat", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "title": "Health", + "additionalProperties": false, + "required": [], + "properties": {}, + "examples": [{}] +} diff --git a/source/behavior/entities/format/components/interact.json b/source/behavior/entities/format/components/interact.json index 622e1bb4..d2d323c6 100644 --- a/source/behavior/entities/format/components/interact.json +++ b/source/behavior/entities/format/components/interact.json @@ -24,12 +24,30 @@ } } }, + "admire": { + "type": "boolean", + "default": false, + "description": "Enables the mob to admire the item", + "title": "Admire Item" + }, + "barter": { + "type": "boolean", + "default": false, + "description": "Enables the component to drop an item as a barter exchange.", + "title": "Barter" + }, "cooldown": { "type": "number", "default": 0, "description": "Time in seconds before this entity can be interacted with again.", "title": "Cooldown" }, + "cooldown_after_being_attacked": { + "type": "number", + "default": "", + "description": "Duration, in seconds, for which mob won't barter items if it was hurt", + "title": "Cooldown After Being Attacked" + }, "health_amount": { "type": "number", "default": 0, @@ -118,23 +136,10 @@ "description": "If true, the interaction will use an item.", "title": "Use Item" }, - "barter": { - "type": "boolean", - "default": false, - "description": "Enables the component to drop an item as a barter exchange.", - "title": "Barter" - }, - "admire": { - "type": "boolean", - "default": false, - "description": "Enables the mob to admire the item", - "title": "Admire Item" - }, - "cooldown_after_being_attacked": { - "type": "number", - "default": "", - "description": "Duration, in seconds, for which mob won't barter items if it was hurt", - "title": "Cooldown After Being Attacked" + "vibration": { + "title": "Vibration", + "type": "string", + "description": "Vibration to emit when the interaction occurs. Admitted values are entity_interact (used by default), shear, and none (no vibration emitted)." } } } diff --git a/source/behavior/entities/format/components/mob_effect.json b/source/behavior/entities/format/components/mob_effect.json index 2ab851b2..3a1400c3 100644 --- a/source/behavior/entities/format/components/mob_effect.json +++ b/source/behavior/entities/format/components/mob_effect.json @@ -5,28 +5,34 @@ "description": "A component that applies a mob effect to entities that get within range.", "additionalProperties": false, "properties": { + "cooldown_time": { + "title": "Cooldown Time", + "type": "integer", + "default": 0, + "description": "Time in seconds to wait between each application of the effect." + }, "effect_range": { + "title": "Effect Range", "type": "number", "default": 0.2, - "description": "How close a hostile entity must be to have the mob effect applied.", - "title": "Effect Range" + "description": "How close a hostile entity must be to have the mob effect applied." }, "effect_time": { + "title": "Effect Time", "type": "integer", "default": 10, - "description": "How long the applied mob effect lasts in seconds.", - "title": "Effect Time" - }, - "mob_effect": { - "type": "string", - "default": "", - "description": "The mob effect that is applied to entities that enter this entities effect range.", - "title": "Mob Effect" + "description": "How long the applied mob effect lasts in seconds." }, "entity_filter": { "$ref": "../../filters/filters.json", "title": "Entity Filter", "description": "Filter to use for conditions" + }, + "mob_effect": { + "title": "Mob Effect", + "type": "string", + "default": "", + "description": "The mob effect that is applied to entities that enter this entities effect range." } }, "examples": [ diff --git a/source/behavior/entities/format/components/movement_sound_distance_offset.json b/source/behavior/entities/format/components/movement_sound_distance_offset.json new file mode 100644 index 00000000..4b39eb9b --- /dev/null +++ b/source/behavior/entities/format/components/movement_sound_distance_offset.json @@ -0,0 +1,17 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.movement_sound_distance_offset", + "type": "object", + "title": "Movement Sound Distance Offset", + "description": "Sets the offset used to determine the next step distance for playing a movement sound.", + "required": ["value"], + "properties": { + "value": { + "type": "integer", + "default": 1.0, + "description": "The higher the number, the less often the movement sound will be played.", + "title": "Value" + } + }, + "additionalProperties": false, + "examples": [{ "value": 1.0 }, { "value": 0.5 }, { "value": 1.5 }] +} diff --git a/source/behavior/entities/format/components/suspect_tracking.json b/source/behavior/entities/format/components/suspect_tracking.json new file mode 100644 index 00000000..5e45c22c --- /dev/null +++ b/source/behavior/entities/format/components/suspect_tracking.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.suspect_tracking", + "type": "object", + "title": "Suspect Tracking", + "additionalProperties": false, + "required": [], + "properties": {}, + "description": "Allows this entity to remember suspicious locations" +} diff --git a/source/behavior/entities/format/components/vibration_damper.json b/source/behavior/entities/format/components/vibration_damper.json new file mode 100644 index 00000000..1ba3793e --- /dev/null +++ b/source/behavior/entities/format/components/vibration_damper.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.vibration_damper", + "type": "object", + "title": "Vibration Damper", + "additionalProperties": false, + "required": [], + "properties": {}, + "description": "Vibrations emitted by this entity will be ignored." +} diff --git a/source/behavior/feature_rules/feature_rules.json b/source/behavior/feature_rules/feature_rules.json index 806df930..35bc4aca 100644 --- a/source/behavior/feature_rules/feature_rules.json +++ b/source/behavior/feature_rules/feature_rules.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.feature_rules", "examples": [ { - "format_version": "1.13.0", + "format_version": "1.19.0", "minecraft:feature_rules": { "minecraft:ore_feature": { "description": { diff --git a/source/behavior/features/features.json b/source/behavior/features/features.json index 6efaf6f5..2d435403 100644 --- a/source/behavior/features/features.json +++ b/source/behavior/features/features.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.features", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "minecraft:ore_feature": { "description": { "identifier": "example:foo" }, "features": {} diff --git a/source/behavior/items/1.10.0/items.json b/source/behavior/items/1.10.0/items.json deleted file mode 100644 index e7a27d16..00000000 --- a/source/behavior/items/1.10.0/items.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.10.0.items", - "description": "Minecraft items 1.10.0", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "1.10.0 Format Version", - "type": "string", - "pattern": "^1.10.0$", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "title": "Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../general/item/identifier.json" - } - } - }, - "components": { - "additionalProperties": false, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:camera": { - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Minecraft Camera", - "properties": { - "black_bars_duration": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Duration" - }, - "black_bars_screen_ratio": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Screen Ratio" - }, - "shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" }, - "picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" }, - "slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" } - } - }, - "minecraft:max_damage": { "type": "integer", "description": "Maximum damage item has, this is used like item Maximum health." }, - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." }, - "minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?" }, - "minecraft:foil": { "type": "boolean", "description": "Foil or glint." }, - "minecraft:block": { "type": "string", "description": "Block name, leave blank for no block." }, - "minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "minimum": 0 }, - "minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used." }, - "minecraft:food": { - "type": "object", - "description": "Food settings of the item", - "properties": { - "nutrition": { "type": "integer", "description": "Nutrition amount." }, - "saturation_modifier": { - "type": "string", - "description": "Choose: poor, low, normal, good, max, supernatural.", - "enum": ["poor", "low", "normal", "good", "max", "supernatural"] - }, - "using_converts_to": { - "type": "string", - "description": "After using, item converts it to this item.", - "$ref": "../../../general/item/identifier.json" - }, - "on_use_action": { - "type": "string", - "description": "'chorus_teleport` or `none`.", - "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] - }, - "on_use_range": { "$ref": "../../../general/vectors/number3.json" }, - "cooldown_type": { "type": "string", "description": "'chorusfruit` or `none`.", "enum": ["chorusfruit", "none"] }, - "cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." }, - "can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false." }, - "effects": { - "type": "array", - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" }, - "chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" }, - "duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" }, - "amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" } - } - } - } - } - }, - "minecraft:seed": { - "additionalProperties": false, - "type": "object", - "properties": { - "crop_result": { "type": "string" }, - "plant_at": { - "description": "Valid blocks you can plant this item at.", - "oneOf": [ - { "type": "string", "$ref": "../../../general/blocks_item.json" }, - { "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } } - ] - } - } - } - } - } - } - } - } -} diff --git a/source/behavior/items/1.14.0/items.json b/source/behavior/items/1.14.0/items.json deleted file mode 100644 index d68f0ef9..00000000 --- a/source/behavior/items/1.14.0/items.json +++ /dev/null @@ -1,163 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.14.0.items", - "description": "Minecraft items 1.14.0", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "title": "Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../general/item/identifier.json" - } - } - }, - "components": { - "additionalProperties": false, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:camera": { - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Minecraft Camera", - "properties": { - "black_bars_duration": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Duration" - }, - "black_bars_screen_ratio": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Screen Ratio" - }, - "shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" }, - "picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" }, - "slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" } - } - }, - "minecraft:max_damage": { - "type": "integer", - "description": "Maximum damage item has, this is used like item Maximum health.", - "title": "Max Damage" - }, - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." }, - "minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "Stacked By Data" }, - "minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "Foil" }, - "minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "Block" }, - "minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "title": "Max Stack Size", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "description": "How long to use before item is done being used.", - "title": "Use Duration" - }, - "minecraft:food": { - "type": "object", - "description": "Food settings of the item", - "additionalProperties": false, - "properties": { - "nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "Nutrition" }, - "saturation_modifier": { - "type": "string", - "description": "Choose: `poor`, `low`, `normal`, `good`, `max`, `supernatural`.", - "enum": ["poor", "low", "normal", "good", "max", "supernatural"], - "title": "Saturation Modifier" - }, - "using_converts_to": { - "type": "string", - "description": "After using, item converts it to this item.", - "title": "Using Converts To", - "$ref": "../../../general/item/identifier.json" - }, - "on_use_action": { - "type": "string", - "description": "'chorus_teleport` or `none`.", - "title": "On Use Action", - "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] - }, - "on_use_range": { "$ref": "../../../general/vectors/number3.json", "title": "On Use Range" }, - "cooldown_type": { - "type": "string", - "description": "'chorusfruit` or `none`.", - "title": "Cooldown Type", - "enum": ["chorusfruit", "none"] - }, - "cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "Cooldown Time" }, - "can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "Can Always Eat" }, - "effects": { - "type": "array", - "title": "Effects", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "items": { - "additionalProperties": false, - "type": "object", - "title": "Items", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" }, - "chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" }, - "duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" }, - "amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" } - } - } - }, - "remove_effects": { - "type": "array", - "description": "Can always eat this item? true or false.", - "title": "Remove Effects", - "items": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Remove Effects" } - } - } - }, - "minecraft:seed": { - "additionalProperties": false, - "type": "object", - "title": "Seed", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "crop_result": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Crop Result" }, - "plant_at": { - "description": "Valid blocks you can plant this item at.", - "title": "Plant At", - "oneOf": [ - { "type": "string", "$ref": "../../../general/blocks_item.json" }, - { "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } } - ] - } - } - } - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.0/items.json b/source/behavior/items/1.16.0/items.json deleted file mode 100644 index 885c5f13..00000000 --- a/source/behavior/items/1.16.0/items.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.0.items", - "description": "Minecraft items 1.16.0", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "title": "Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", - "$ref": "../../../general/item/identifier.json" - }, - "category": { - "type": "string", - "default": "", - "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", - "title": "Category", - "examples": ["Nature", "Equipment", "Construction", "Items"] - }, - "is_experimental": { - "type": "boolean", - "default": false, - "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", - "title": "Is Experimental" - } - } - }, - "components": { - "additionalProperties": false, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:camera": { - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Minecraft Camera", - "properties": { - "black_bars_duration": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Duration" - }, - "black_bars_screen_ratio": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Screen Ratio" - }, - "shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" }, - "picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" }, - "slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" } - } - }, - "minecraft:max_damage": { - "type": "integer", - "description": "Maximum damage item has, this is used like item Maximum health.", - "title": "Maximum Damage" - }, - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." }, - "minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "Stacked By Data" }, - "minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "Foil" }, - "minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "Block" }, - "minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "title": "Maximum Stack Size", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "description": "How long to use before item is done being used.", - "title": "Use Duration" - }, - "minecraft:food": { - "type": "object", - "description": "Food settings of the item", - "properties": { - "nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "Nutrition" }, - "saturation_modifier": { - "type": "string", - "description": "Choose: poor, low, normal, good, max, supernatural.", - "title": "Saturation Modifier", - "enum": ["poor", "low", "normal", "good", "max", "supernatural"] - }, - "using_converts_to": { - "type": "string", - "description": "After using, item converts it to this item.", - "title": "Using Converts To", - "$ref": "../../../general/item/identifier.json" - }, - "on_use_action": { - "type": "string", - "description": "'chorus_teleport` or `none`.", - "title": "On Use Action", - "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] - }, - "on_use_range": { "$ref": "../../../general/vectors/number3.json" }, - "cooldown_type": { - "type": "string", - "description": "'chorusfruit` or `none`.", - "title": "CoolDown Type", - "enum": ["chorusfruit", "none"] - }, - "cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "Cooldown Time" }, - "can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "Can Alway East" }, - "effects": { - "type": "array", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Effects", - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" }, - "chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" }, - "duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" }, - "amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" } - } - } - } - } - }, - "minecraft:seed": { - "additionalProperties": false, - "type": "object", - "properties": { - "crop_result": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Crop Result" }, - "plant_at": { - "description": "Valid blocks you can plant this item at.", - "title": "Plant At", - "oneOf": [ - { "type": "string", "$ref": "../../../general/blocks_item.json" }, - { "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } } - ] - }, - "plant_at_any_solid_surface": { - "title": "Plant At Any Solid Surface", - "type": "boolean", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "plant_at_face": { - "title": "Plnat At Face", - "type": "string", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "enum": ["DOWN", "UP"] - } - } - } - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.armor.json b/source/behavior/items/1.16.100/components/minecraft.armor.json deleted file mode 100644 index 752b6392..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.armor.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:armor", - "title": "Armor", - "description": "The armor item componenent determines the amount of protection you have in your armor item.", - "type": "object", - "additionalProperties": false, - "required": ["protection", "texture_type"], - "properties": { - "protection": { "type": "number", "description": "How much protection does the armor item have.", "title": "Protection" }, - "texture_type": { - "type": "string", - "default": "", - "description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.", - "title": "Texture Type" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.block_placer.json b/source/behavior/items/1.16.100/components/minecraft.block_placer.json deleted file mode 100644 index 6d659f81..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.block_placer.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:block_placer", - "title": "Block Placer", - "description": "Planter item component. planter items are items that can be planted.", - "type": "object", - "additionalProperties": false, - "required": ["block"], - "definitions": { - "use_on_item": { - "type": "object", - "title": "Allowed Block", - "description": "A block descriptor that allows to be placed", - "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } } - } - }, - "properties": { - "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Protection" }, - "use_on": { - "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", - "title": "Use On", - "type": "array", - "items": { "$ref": "#/definitions/use_on_item" } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.cooldown.json b/source/behavior/items/1.16.100/components/minecraft.cooldown.json deleted file mode 100644 index 1589e32b..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.cooldown.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:cooldown", - "title": "Cooldown", - "description": "Cool down time for a component. After you use an item it becomes unusable for the duration specified by the `cool down time` setting in this component.", - "type": "object", - "additionalProperties": false, - "required": ["category", "duration"], - "properties": { - "category": { "type": "string", "description": "The type of cool down for this item.", "title": "Category" }, - "duration": { - "description": "The duration of time this item will spend cooling down before becoming usable again.", - "title": "Duration", - "type": "number" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.digger.json b/source/behavior/items/1.16.100/components/minecraft.digger.json deleted file mode 100644 index 56e4b594..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.digger.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:digger", - "title": "Digger", - "description": "Digger item. Component put on items that dig.", - "type": "object", - "additionalProperties": false, - "required": ["destroy_speeds"], - "properties": { - "use_efficiency": { "title": "Use Efficiency", "type": "boolean", "description": "Use efficiency? Default is set to false.", "default": "false" }, - "destroy_speeds": { - "type": "array", - "title": "Destroy Speeds", - "description": "Destroy speed per block.", - "items": { - "title": "Destroy Speed", - "description": "Destroy speed per block.", - "type": "object", - "additionalProperties": false, - "properties": { - "speed": { "title": "Speed", "description": "Speed", "type": "number" }, - "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" }, - "block": { - "title": "Block", - "oneOf": [ - { "type": "string", "description": "The block identifier" }, - { - "type": "object", - "additionalProperties": false, - "description": "Block descriptor", - "properties": { - "any_tag": { - "type": "array", - "title": "Any Block Tag", - "description": "The block tag", - "items": { "type": "string", "title": "Block Tag" } - } - } - } - ] - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.display_name.json b/source/behavior/items/1.16.100/components/minecraft.display_name.json deleted file mode 100644 index 9a89fc6b..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.display_name.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:display_name", - "title": "Display Name", - "description": "Display Name item component. Display Names display the name of an item.", - "type": "object", - "additionalProperties": false, - "required": ["value"], - "properties": { "value": { "type": "string", "title": "Value", "description": "Set the display name for an item." } } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.durability.json b/source/behavior/items/1.16.100/components/minecraft.durability.json deleted file mode 100644 index 5ecd9bd9..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.durability.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:durability", - "title": "Durability", - "description": "Durability item component: how much damage can this item take before breaking.", - "type": "object", - "additionalProperties": false, - "required": ["damage_chance"], - "properties": { - "damage_chance": { - "type": "object", - "title": "Damange Chance", - "description": "Damange chance", - "additionalProperties": false, - "required": ["min", "max"], - "properties": { - "min": { "title": "Min", "type": "integer", "description": "The minimum" }, - "max": { "title": "Max", "type": "integer", "description": "The minimum" } - } - }, - "max_durability": { - "title": "Maximum Durability", - "description": "Maximum durability is the amount of damage that this item can take before breaking.", - "type": "number" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.dye_powder.json b/source/behavior/items/1.16.100/components/minecraft.dye_powder.json deleted file mode 100644 index def3ced5..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.dye_powder.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:dye_powder", - "title": "Dye Powder", - "description": "Dye powder, there are 16 kinds of dye.", - "type": "object", - "additionalProperties": false, - "required": ["color"], - "properties": { - "color": { - "type": "string", - "title": "Color", - "description": "Defines what color the dye is.", - "enum": [ - "brown", - "white", - "black", - "blue", - "cyan", - "gray", - "green", - "lightblue", - "silver", - "lime", - "magenta", - "pink", - "purple", - "red", - "yellow" - ] - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.entity_placer.json b/source/behavior/items/1.16.100/components/minecraft.entity_placer.json deleted file mode 100644 index 070dfca2..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.entity_placer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:entity_placer", - "title": "Entity Placer", - "description": "Entity placer item component. You can specifiy allowed blocks that the item is restricted to.", - "type": "object", - "additionalProperties": false, - "required": ["entity"], - "properties": { - "entity": { "type": "string", "title": "Entity", "description": "The entity to be placed in the world." }, - "dispense_on": { - "type": "array", - "title": "Dispense On", - "description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.", - "items": { "title": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "use_on": { - "type": "array", - "title": "Use On", - "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", - "items": { "title": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.food.json b/source/behavior/items/1.16.100/components/minecraft.food.json deleted file mode 100644 index 75933129..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.food.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:food", - "title": "Food", - "description": "When an item has a food component, it becomes edible to the player.", - "type": "object", - "additionalProperties": false, - "properties": { - "can_always_eat": { - "title": "Can Always Eat", - "description": "If true you can always eat this item (even when not hungry), defaults to false.", - "type": "boolean", - "default": false - }, - "nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "number" }, - "on_consume": { - "title": "On Consume", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - }, - "saturation_modifier": { - "title": "Saturation Modifier", - "description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.", - "type": "number" - }, - "using_converts_to": { - "title": "Using Converts To", - "description": "When used, convert the *this* item to the one specified by `using_converts_to`.", - "type": "string" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.fuel.json b/source/behavior/items/1.16.100/components/minecraft.fuel.json deleted file mode 100644 index 930c1831..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.fuel.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:fuel", - "title": "Fuel", - "description": "Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.", - "type": "object", - "additionalProperties": false, - "required": ["duration"], - "properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.icon.json b/source/behavior/items/1.16.100/components/minecraft.icon.json deleted file mode 100644 index 3846ab72..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.icon.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:icon", - "title": "Icon", - "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", - "type": "object", - "additionalProperties": false, - "required": ["texture"], - "properties": { - "frame": { - "type": "string", - "title": "Frame", - "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", - "default": 0 - }, - "legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." }, - "texture": { - "type": "string", - "title": "Texture", - "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.knockback_resistance.json b/source/behavior/items/1.16.100/components/minecraft.knockback_resistance.json deleted file mode 100644 index ce0e9f6f..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.knockback_resistance.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:knockback_resistance", - "title": "Knockback Resistance", - "description": "Knockback Resistance Item. Component put on items that provide knockback resistance.", - "type": "object", - "additionalProperties": false, - "required": ["protection"], - "properties": { - "protection": { - "title": "Protection", - "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", - "type": "number" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.on_use.json b/source/behavior/items/1.16.100/components/minecraft.on_use.json deleted file mode 100644 index c2780696..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.on_use.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:on_use", - "title": "On Use", - "description": "The on_use item component allows you to receive an event when the item is used.", - "type": "object", - "additionalProperties": false, - "required": ["on_use"], - "properties": { - "on_use": { - "title": "On Use", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.on_use_on.json b/source/behavior/items/1.16.100/components/minecraft.on_use_on.json deleted file mode 100644 index 35999896..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.on_use_on.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:", - "title": "On Use On", - "description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.", - "type": "object", - "additionalProperties": false, - "required": ["on_use_on"], - "properties": { - "on_use": { - "title": "On Use", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["block"] } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.projectile.json b/source/behavior/items/1.16.100/components/minecraft.projectile.json deleted file mode 100644 index 0b97c331..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.projectile.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:projectile", - "title": "Projectile", - "description": "Projectile item component. projectile items shoot out, like an arrow.", - "type": "object", - "additionalProperties": false, - "required": ["projectile_entity"], - "properties": { - "minimum_critical_power": { - "type": "number", - "title": "Minimum Critical Power", - "description": "How long you must charge a projectile for it to critically hit." - }, - "projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.render_offsets.json b/source/behavior/items/1.16.100/components/minecraft.render_offsets.json deleted file mode 100644 index 1e298d9a..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.render_offsets.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:render_offsets", - "title": "Render Offsets", - "description": "Render offsets component: optional values can be given to offset the way the item is rendered.", - "type": "object", - "definitions": { - "offset_spec": { - "type": "object", - "title": "Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "first_person": { - "title": "First Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - }, - "thrid_person": { - "title": "Thrid Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - } - } - }, - "mode": { - "type": "object", - "title": "Mode", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "position": { - "title": "Position", - "description": "The position transformation", - "$ref": "#/definitions/vec3" - }, - "rotation": { - "title": "Rotation", - "description": "The rotation transformation", - "$ref": "#/definitions/vec3" - }, - "scale": { - "title": "Scale", - "description": "The scale transformation", - "$ref": "#/definitions/vec3" - } - } - }, - "vec3": { - "type": "array", - "title": "Vector", - "description": "X Y Z", - "items": [ - { "title": "X", "description": "The X tranformation", "type": "number" }, - { "title": "Y", "description": "The Y tranformation", "type": "number" }, - { "title": "Z", "description": "The Z tranformation", "type": "number" } - ] - } - }, - "additionalProperties": false, - "properties": { - "main_hand": { "title": "Main Hand", "description": "Right hand transform data.", "type": "string" }, - "off_hand": { "title": "Off Hand", "description": "Left hand transform data.", "type": "string" } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.repairable.json b/source/behavior/items/1.16.100/components/minecraft.repairable.json deleted file mode 100644 index cfacc69e..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.repairable.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:repairable", - "title": "Repairable", - "description": "Repairable item component: how much damage can this item repair, what items can repair it.", - "type": "object", - "additionalProperties": false, - "properties": { - "on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" }, - "repair_items": { - "title": "Repair Items", - "description": "Repair item entries.", - "type": "array", - "items": { - "type": "object", - "title": "Repair Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "items": { - "title": "Items", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "repair_amount": { - "title": "Repair Amount", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../../molang/number.json" - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.shooter.json b/source/behavior/items/1.16.100/components/minecraft.shooter.json deleted file mode 100644 index 70b1944c..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.shooter.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:shooter", - "title": "Shooter", - "description": "Shooter Item Component.", - "type": "object", - "additionalProperties": false, - "properties": { - "ammunition": { - "title": "Ammunition", - "description": "Ammunition", - "type": "array", - "items": { - "type": "object", - "title": "Ammunition", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, - "use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" } - } - } - }, - "charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" }, - "launch_power_scale": { - "title": "Launch Power Scale", - "description": "Launch power scale. Default is set to 1.0.", - "default": 1.0, - "type": "number" - }, - "max_draw_duration": { "title": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" }, - "max_launch_power": { "title": "Maximum Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" }, - "scale_power_by_draw_duration": { - "title": "Scale Power By Draw Duration", - "description": "Scale power by draw duration? Default is set to false.", - "default": false, - "type": "boolean" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.throwable.json b/source/behavior/items/1.16.100/components/minecraft.throwable.json deleted file mode 100644 index bc88f4a0..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.throwable.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:", - "title": "Throwable", - "description": "Throwable item component. Throwable items, such as a snowball.", - "type": "object", - "additionalProperties": false, - "properties": { - "do_swing_animation": { - "title": "Do Swing Animation", - "description": "Whether the item should use the swing animation when thrown. Default is set to false.", - "default": false, - "type": "boolean" - }, - "launch_power_scale": { - "title": "Launch Power Scale", - "description": "The scale at which the power of the throw increases. Default is set to 1.0.", - "default": 1.0, - "type": "number" - }, - "max_draw_duration": { - "title": "Maximum Draw Duration", - "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", - "default": 0, - "type": "number" - }, - "min_draw_duration": { - "title": "Minimum Draw Duration", - "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", - "default": 0, - "type": "number" - }, - "max_launch_power": { - "title": "Maximum Launch Power", - "description": "The maximum power to launch the throwable item. Default is set to 1.0.", - "default": 1.0, - "type": "number" - }, - "scale_power_by_draw_duration": { - "title": "Scale Power By Draw Duration", - "description": "Whether or not the power of the throw increases with duration charged. Default is set to false.", - "default": false, - "type": "boolean" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.use_animation.json b/source/behavior/items/1.16.100/components/minecraft.use_animation.json deleted file mode 100644 index 9b61644c..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.use_animation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:use_animation", - "title": "Use Animation", - "description": "Wearable item component.", - "type": "string", - "additionalProperties": false -} diff --git a/source/behavior/items/1.16.100/components/minecraft.weapon.json b/source/behavior/items/1.16.100/components/minecraft.weapon.json deleted file mode 100644 index 1ebabdc1..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.weapon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:weapon", - "title": "Weapon", - "description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.", - "type": "object", - "additionalProperties": false, - "properties": { - "on_hit_block": { - "title": "On Hit Block", - "description": "Trigger for letting you know when this item is used to hit a block", - "type": "object", - "additionalProperties": false, - "event": { "type": "string", "title": "On Hit Block", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - }, - "on_hurt_entity": { - "title": "On Hurt Entity", - "description": "Trigger for letting you know when this item is used to hurt another mob", - "type": "object", - "additionalProperties": false, - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self", "holder"] } - }, - "on_not_hurt_entity": { - "title": "On Not Hurt Entity", - "description": "Trigger for letting you know when this item hit another actor, but didn't do damage", - "type": "object", - "additionalProperties": false, - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.wearable.json b/source/behavior/items/1.16.100/components/minecraft.wearable.json deleted file mode 100644 index 4f1a5e4d..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.wearable.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:wearable", - "title": "Wearable", - "description": "Wearable item component.", - "type": "object", - "additionalProperties": false, - "properties": { - "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "slot": { - "title": "Slot", - "description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest", - "type": "string", - "enum": [ - "slot.weapon.mainhand", - "slot.weapon.offhand", - "slot.armor.head", - "slot.armor.chest", - "slot.armor.legs", - "slot.armor.feet", - "slot.hotbar", - "slot.inventory", - "slot.enderchest", - "slot.saddle", - "slot.armor", - "slot.chest" - ] - } - } -} diff --git a/source/behavior/items/1.16.100/events.json b/source/behavior/items/1.16.100/events.json deleted file mode 100644 index c2a749f9..00000000 --- a/source/behavior/items/1.16.100/events.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events", - "title": "Events", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { "on_consume": { "$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 } - } - } - }, - "run_command": { - "title": "Run Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "command": { - "title": "Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["other"] } - } - } - } - }, - "event_functions": { - "title": "Event", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { - "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, - "damage": { "$ref": "./events/damage.json" }, - "decrement_stack": { "$ref": "./events/decrement_stack.json" }, - "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, - "shoot": { "$ref": "./events/shoot.json" }, - "swing": { "$ref": "./events/swing.json" }, - "teleport": { "$ref": "./events/teleport.json" }, - "transform_item": { "$ref": "./events/transform_item.json" } - } - } - } -} diff --git a/source/behavior/items/1.16.100/events/add_mob_effect.json b/source/behavior/items/1.16.100/events/add_mob_effect.json deleted file mode 100644 index 0949bba1..00000000 --- a/source/behavior/items/1.16.100/events/add_mob_effect.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.add_mob_effect", - "title": "Add Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} diff --git a/source/behavior/items/1.16.100/events/damage.json b/source/behavior/items/1.16.100/events/damage.json deleted file mode 100644 index 6a34ece7..00000000 --- a/source/behavior/items/1.16.100/events/damage.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "type": { "type": "string", "title": "Type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["magic"] }, - "amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} diff --git a/source/behavior/items/1.16.100/events/decrement_stack.json b/source/behavior/items/1.16.100/events/decrement_stack.json deleted file mode 100644 index e10c6f18..00000000 --- a/source/behavior/items/1.16.100/events/decrement_stack.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.decrement_stack", - "title": "Decrement Stack", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} diff --git a/source/behavior/items/1.16.100/events/remove_mob_effect.json b/source/behavior/items/1.16.100/events/remove_mob_effect.json deleted file mode 100644 index 3a283421..00000000 --- a/source/behavior/items/1.16.100/events/remove_mob_effect.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.remove_mob_effect", - "title": "Remove Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] } - } -} diff --git a/source/behavior/items/1.16.100/events/shoot.json b/source/behavior/items/1.16.100/events/shoot.json deleted file mode 100644 index 3eb432b7..00000000 --- a/source/behavior/items/1.16.100/events/shoot.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "angle_offset": { - "type": "number", - "title": "Angle Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "launch_power": { - "type": "number", - "title": "Launch Power", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} diff --git a/source/behavior/items/1.16.100/events/swing.json b/source/behavior/items/1.16.100/events/swing.json deleted file mode 100644 index abb2e540..00000000 --- a/source/behavior/items/1.16.100/events/swing.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.swing", - "title": "Swing", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} diff --git a/source/behavior/items/1.16.100/events/teleport.json b/source/behavior/items/1.16.100/events/teleport.json deleted file mode 100644 index f1d787dd..00000000 --- a/source/behavior/items/1.16.100/events/teleport.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.teleport", - "title": "Teleport", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "max_range": { - "type": "array", - "title": "Maximum Range", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "items": [ - { "type": "number", "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - ] - } - } -} diff --git a/source/behavior/items/1.16.100/events/transform_item.json b/source/behavior/items/1.16.100/events/transform_item.json deleted file mode 100644 index 7ee71e4a..00000000 --- a/source/behavior/items/1.16.100/events/transform_item.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.transform_item", - "title": "Transform Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" } } -} diff --git a/source/behavior/items/1.16.100/items.json b/source/behavior/items/1.16.100/items.json deleted file mode 100644 index f3a1957a..00000000 --- a/source/behavior/items/1.16.100/items.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items", - "description": "Minecraft items 1.16.100", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Item", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", - "$ref": "../../../general/item/identifier.json" - }, - "category": { - "type": "string", - "default": "", - "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", - "title": "Category", - "examples": ["Nature", "Equipment", "Construction", "Items"] - }, - "is_experimental": { - "type": "boolean", - "default": false, - "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", - "title": "Is Experimental" - } - } - }, - "components": { - "additionalProperties": { "type": "object" }, - "type": "object", - "description": "The components of this item", - "title": "Components", - "properties": { - "minecraft:armor": { "$ref": "./components/minecraft.armor.json" }, - "minecraft:block_placer": { "$ref": "./components/minecraft.block_placer.json" }, - "minecraft:cooldown": { "$ref": "./components/minecraft.cooldown.json" }, - "minecraft:digger": { "$ref": "./components/minecraft.digger.json" }, - "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, - "minecraft:durability": { "$ref": "./components/minecraft.durability.json" }, - "minecraft:dye_powder": { "$ref": "./components/minecraft.dye_powder.json" }, - "minecraft:entity_placer": { "$ref": "./components/minecraft.entity_placer.json" }, - "minecraft:food": { "$ref": "./components/minecraft.food.json" }, - "minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" }, - "minecraft:icon": { "$ref": "./components/minecraft.icon.json" }, - "minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" }, - "minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" }, - "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, - "minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "title": "Use Duration", - "description": "How long to use before item is done being used." - }, - "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, - "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, - "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, - "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, - "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, - "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" }, - "minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }, - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." } - } - }, - "events": { "$ref": "./events.json" } - } - } - } -} diff --git a/source/behavior/items/1.16.200/items.json b/source/behavior/items/1.16.200/items.json deleted file mode 100644 index 0ed15f39..00000000 --- a/source/behavior/items/1.16.200/items.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items", - "description": "Minecraft items 1.16.200", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Item", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", - "$ref": "../../../general/item/identifier.json" - }, - "category": { - "type": "string", - "default": "", - "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", - "title": "Category", - "examples": ["Nature", "Equipment", "Construction", "Items"] - }, - "is_experimental": { - "type": "boolean", - "default": false, - "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", - "title": "Is Experimental" - } - } - }, - "components": { - "additionalProperties": { "type": "object" }, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:armor": { "$ref": "./components/minecraft.armor.json" }, - "minecraft:block_placer": { "$ref": "./components/minecraft.block_placer.json" }, - "minecraft:cooldown": { "$ref": "./components/minecraft.cooldown.json" }, - "minecraft:digger": { "$ref": "./components/minecraft.digger.json" }, - "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, - "minecraft:durability": { "$ref": "./components/minecraft.durability.json" }, - "minecraft:dye_powder": { "$ref": "./components/minecraft.dye_powder.json" }, - "minecraft:entity_placer": { "$ref": "./components/minecraft.entity_placer.json" }, - "minecraft:food": { "$ref": "./components/minecraft.food.json" }, - "minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" }, - "minecraft:icon": { "$ref": "./components/minecraft.icon.json" }, - "minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" }, - "minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "title": "Use Duration", - "description": "How long to use before item is done being used." - }, - "minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" }, - "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, - "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, - "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, - "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, - "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, - "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, - "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" }, - "minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }, - - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." } - } - }, - "events": { "$ref": "./events.json" } - } - } - } -} diff --git a/source/behavior/items/1.16.200/components/minecraft.armor.json b/source/behavior/items/format/components/armor.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.armor.json rename to source/behavior/items/format/components/armor.json index 8aaa31b5..5f079601 100644 --- a/source/behavior/items/1.16.200/components/minecraft.armor.json +++ b/source/behavior/items/format/components/armor.json @@ -1,18 +1,18 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor", - "title": "Armor", - "description": "The armor item component determines the amount of protection you have in your armor item.", - "type": "object", - "additionalProperties": false, - "required": ["protection", "texture_type"], - "properties": { - "protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 }, - "texture_type": { - "type": "string", - "default": "gold", - "description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.", - "title": "Texture Type", - "enum": ["gold", "none", "leather", "chain", "iron", "diamond", "elytra", "turtle", "netherite"] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor", + "title": "Armor", + "description": "The armor item component determines the amount of protection you have in your armor item.", + "type": "object", + "additionalProperties": false, + "required": ["protection", "texture_type"], + "properties": { + "protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 }, + "texture_type": { + "type": "string", + "default": "gold", + "description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.", + "title": "Texture Type", + "enum": ["gold", "none", "leather", "chain", "iron", "diamond", "elytra", "turtle", "netherite"] + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.block_placer.json b/source/behavior/items/format/components/block_placer.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.block_placer.json rename to source/behavior/items/format/components/block_placer.json index 4bae5494..1c575e68 100644 --- a/source/behavior/items/1.16.200/components/minecraft.block_placer.json +++ b/source/behavior/items/format/components/block_placer.json @@ -1,25 +1,25 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:block_placer", - "title": "Block Placer", - "description": "Planter item component. planter items are items that can be planted.", - "type": "object", - "additionalProperties": false, - "required": ["block"], - "definitions": { - "use_on_item": { - "type": "object", - "title": "Allowed Block", - "description": "A block descriptor that allows to be placed", - "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } } - } - }, - "properties": { - "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Block" }, - "use_on": { - "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", - "title": "Use On", - "type": "array", - "items": { "$ref": "#/definitions/use_on_item" } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:block_placer", + "title": "Block Placer", + "description": "Planter item component. planter items are items that can be planted.", + "type": "object", + "additionalProperties": false, + "required": ["block"], + "definitions": { + "use_on_item": { + "type": "object", + "title": "Allowed Block", + "description": "A block descriptor that allows to be placed", + "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } } + } + }, + "properties": { + "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Block" }, + "use_on": { + "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", + "title": "Use On", + "type": "array", + "items": { "$ref": "#/definitions/use_on_item" } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.cooldown.json b/source/behavior/items/format/components/cooldown.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.cooldown.json rename to source/behavior/items/format/components/cooldown.json index 5cd93194..6925a355 100644 --- a/source/behavior/items/1.16.200/components/minecraft.cooldown.json +++ b/source/behavior/items/format/components/cooldown.json @@ -1,16 +1,16 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:cooldown", - "title": "Cooldown", - "description": "Cool down time for a component. After you use an item it becomes unusable for the duration specified by the `cool down time` setting in this component.", - "type": "object", - "additionalProperties": false, - "required": ["category", "duration"], - "properties": { - "category": { "type": "string", "description": "The type of cool down for this item.", "title": "Category" }, - "duration": { - "description": "The duration of time this item will spend cooling down before becoming usable again.", - "title": "Duration", - "type": "number" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:cooldown", + "title": "Cooldown", + "description": "Cool down time for a component. After you use an item it becomes unusable for the duration specified by the `cool down time` setting in this component.", + "type": "object", + "additionalProperties": false, + "required": ["category", "duration"], + "properties": { + "category": { "type": "string", "description": "The type of cool down for this item.", "title": "Category" }, + "duration": { + "description": "The duration of time this item will spend cooling down before becoming usable again.", + "title": "Duration", + "type": "number" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.digger.json b/source/behavior/items/format/components/digger.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.digger.json rename to source/behavior/items/format/components/digger.json index 62e1add2..ed3ba2b8 100644 --- a/source/behavior/items/1.16.200/components/minecraft.digger.json +++ b/source/behavior/items/format/components/digger.json @@ -1,51 +1,51 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:digger", - "title": "Digger", - "description": "Digger item. Component put on items that dig.", - "type": "object", - "additionalProperties": false, - "required": ["destroy_speeds"], - "properties": { - "use_efficiency": { - "title": "Use Efficiency", - "type": "boolean", - "description": "Toggles if the item will be used efficiently", - "default": false - }, - "destroy_speeds": { - "type": "array", - "title": "Destroy Speeds", - "description": "Destroy speed per block.", - "items": { - "title": "Destroy Speed", - "description": "Destroy speed per block.", - "type": "object", - "additionalProperties": false, - "properties": { - "speed": { "title": "Speed", "description": "Speed", "type": "number" }, - "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" }, - "block": { - "title": "Block", - "oneOf": [ - { "type": "string", "description": "The block identifier" }, - { - "type": "object", - "additionalProperties": false, - "description": "Block descriptor", - "properties": { - "any_tag": { - "type": "array", - "title": "Any Block Tag", - "description": "The block tag", - "items": { "type": "string", "title": "Block Tag" } - } - } - } - ] - } - } - } - }, - "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:digger", + "title": "Digger", + "description": "Digger item. Component put on items that dig.", + "type": "object", + "additionalProperties": false, + "required": ["destroy_speeds"], + "properties": { + "use_efficiency": { + "title": "Use Efficiency", + "type": "boolean", + "description": "Toggles if the item will be used efficiently", + "default": false + }, + "destroy_speeds": { + "type": "array", + "title": "Destroy Speeds", + "description": "Destroy speed per block.", + "items": { + "title": "Destroy Speed", + "description": "Destroy speed per block.", + "type": "object", + "additionalProperties": false, + "properties": { + "speed": { "title": "Speed", "description": "Speed", "type": "number" }, + "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" }, + "block": { + "title": "Block", + "oneOf": [ + { "type": "string", "description": "The block identifier" }, + { + "type": "object", + "additionalProperties": false, + "description": "Block descriptor", + "properties": { + "any_tag": { + "type": "array", + "title": "Any Block Tag", + "description": "The block tag", + "items": { "type": "string", "title": "Block Tag" } + } + } + } + ] + } + } + } + }, + "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.display_name.json b/source/behavior/items/format/components/display_name.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.display_name.json rename to source/behavior/items/format/components/display_name.json index 92563016..d5718ec8 100644 --- a/source/behavior/items/1.16.200/components/minecraft.display_name.json +++ b/source/behavior/items/format/components/display_name.json @@ -1,9 +1,9 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:display_name", - "title": "Display Name", - "description": "Display Name item component. Display Names display the name of an item.", - "type": "object", - "additionalProperties": false, - "required": ["value"], - "properties": { "value": { "type": "string", "title": "Value", "description": "Set the display name for an item." } } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:display_name", + "title": "Display Name", + "description": "Display Name item component. Display Names display the name of an item.", + "type": "object", + "additionalProperties": false, + "required": ["value"], + "properties": { "value": { "type": "string", "title": "Value", "description": "Set the display name for an item." } } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.durability.json b/source/behavior/items/format/components/durability.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.durability.json rename to source/behavior/items/format/components/durability.json index 29ae0998..1be9ca9e 100644 --- a/source/behavior/items/1.16.200/components/minecraft.durability.json +++ b/source/behavior/items/format/components/durability.json @@ -1,26 +1,26 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:durability", - "title": "Durability", - "description": "Durability item component: how much damage can this item take before breaking.", - "type": "object", - "additionalProperties": false, - "required": ["damage_chance"], - "properties": { - "damage_chance": { - "type": "object", - "title": "Damange Chance", - "description": "Damange chance", - "additionalProperties": false, - "required": ["min", "max"], - "properties": { - "min": { "title": "Min", "type": "integer", "description": "The minimum" }, - "max": { "title": "Max", "type": "integer", "description": "The minimum" } - } - }, - "max_durability": { - "title": "Maximum Durability", - "description": "Maximum durability is the amount of damage that this item can take before breaking.", - "type": "number" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:durability", + "title": "Durability", + "description": "Durability item component: how much damage can this item take before breaking.", + "type": "object", + "additionalProperties": false, + "required": ["damage_chance"], + "properties": { + "damage_chance": { + "type": "object", + "title": "Damange Chance", + "description": "Damange chance", + "additionalProperties": false, + "required": ["min", "max"], + "properties": { + "min": { "title": "Min", "type": "integer", "description": "The minimum" }, + "max": { "title": "Max", "type": "integer", "description": "The minimum" } + } + }, + "max_durability": { + "title": "Maximum Durability", + "description": "Maximum durability is the amount of damage that this item can take before breaking.", + "type": "number" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.dye_powder.json b/source/behavior/items/format/components/dye_powder.json similarity index 95% rename from source/behavior/items/1.16.200/components/minecraft.dye_powder.json rename to source/behavior/items/format/components/dye_powder.json index e64cb596..e2c5b698 100644 --- a/source/behavior/items/1.16.200/components/minecraft.dye_powder.json +++ b/source/behavior/items/format/components/dye_powder.json @@ -1,33 +1,33 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:dye_powder", - "title": "Dye Powder", - "description": "Dye powder, there are 16 kinds of dye.", - "type": "object", - "additionalProperties": false, - "required": ["color"], - "properties": { - "color": { - "type": "string", - "title": "Color", - "description": "Defines what color the dye is.", - "enum": [ - "black", - "red", - "green", - "brown", - "blue", - "purple", - "cyan", - "silver", - "gray", - "pink", - "lime", - "yellow", - "lightblue", - "magenta", - "orange", - "white" - ] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:dye_powder", + "title": "Dye Powder", + "description": "Dye powder, there are 16 kinds of dye.", + "type": "object", + "additionalProperties": false, + "required": ["color"], + "properties": { + "color": { + "type": "string", + "title": "Color", + "description": "Defines what color the dye is.", + "enum": [ + "black", + "red", + "green", + "brown", + "blue", + "purple", + "cyan", + "silver", + "gray", + "pink", + "lime", + "yellow", + "lightblue", + "magenta", + "orange", + "white" + ] + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.entity_placer.json b/source/behavior/items/format/components/entity_placer.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.entity_placer.json rename to source/behavior/items/format/components/entity_placer.json index 06bbdb82..4999ff0f 100644 --- a/source/behavior/items/1.16.200/components/minecraft.entity_placer.json +++ b/source/behavior/items/format/components/entity_placer.json @@ -1,23 +1,23 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:entity_placer", - "title": "Entity Placer", - "description": "Entity placer item component. You can specifiy allowed blocks that the item is restricted to.", - "type": "object", - "additionalProperties": false, - "required": ["entity"], - "properties": { - "entity": { "type": "string", "title": "Entity", "description": "The entity to be placed in the world." }, - "dispense_on": { - "type": "array", - "title": "Dispense On", - "description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.", - "items": { "title": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "use_on": { - "type": "array", - "title": "Use On", - "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", - "items": { "title": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:entity_placer", + "title": "Entity Placer", + "description": "Entity placer item component. You can specifiy allowed blocks that the item is restricted to.", + "type": "object", + "additionalProperties": false, + "required": ["entity"], + "properties": { + "entity": { "type": "string", "title": "Entity", "description": "The entity to be placed in the world." }, + "dispense_on": { + "type": "array", + "title": "Dispense On", + "description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.", + "items": { "title": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + }, + "use_on": { + "type": "array", + "title": "Use On", + "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", + "items": { "title": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.food.json b/source/behavior/items/format/components/food.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.food.json rename to source/behavior/items/format/components/food.json index 1b4a37b5..cbdb81a3 100644 --- a/source/behavior/items/1.16.200/components/minecraft.food.json +++ b/source/behavior/items/format/components/food.json @@ -1,37 +1,37 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:food", - "title": "Food", - "description": "When an item has a food component, it becomes edible to the player.", - "type": "object", - "additionalProperties": false, - "properties": { - "can_always_eat": { - "title": "Can Always Eat", - "description": "If true you can always eat this item (even when not hungry), defaults to false.", - "type": "boolean", - "default": false - }, - "nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "number" }, - "on_consume": { - "title": "On Consume", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - }, - "saturation_modifier": { - "title": "Saturation Modifier", - "description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.", - "type": "number" - }, - "using_converts_to": { - "title": "Using Converts To", - "description": "When used, convert the *this* item to the one specified by `using_converts_to`.", - "type": "string" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:food", + "title": "Food", + "description": "When an item has a food component, it becomes edible to the player.", + "type": "object", + "additionalProperties": false, + "properties": { + "can_always_eat": { + "title": "Can Always Eat", + "description": "If true you can always eat this item (even when not hungry), defaults to false.", + "type": "boolean", + "default": false + }, + "nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "number" }, + "on_consume": { + "title": "On Consume", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + } + }, + "saturation_modifier": { + "title": "Saturation Modifier", + "description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.", + "type": "number" + }, + "using_converts_to": { + "title": "Using Converts To", + "description": "When used, convert the *this* item to the one specified by `using_converts_to`.", + "type": "string" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.fuel.json b/source/behavior/items/format/components/fuel.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.fuel.json rename to source/behavior/items/format/components/fuel.json index 8da3d0e6..163ef017 100644 --- a/source/behavior/items/1.16.200/components/minecraft.fuel.json +++ b/source/behavior/items/format/components/fuel.json @@ -1,9 +1,9 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:fuel", - "title": "Fuel", - "description": "Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.", - "type": "object", - "additionalProperties": false, - "required": ["duration"], - "properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:fuel", + "title": "Fuel", + "description": "Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.", + "type": "object", + "additionalProperties": false, + "required": ["duration"], + "properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } } +} diff --git a/source/behavior/items/format/components/hand_equipped.json b/source/behavior/items/format/components/hand_equipped.json new file mode 100644 index 00000000..1384d01a --- /dev/null +++ b/source/behavior/items/format/components/hand_equipped.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:hand_equiped", + "additionalProperties": false, + "required": ["texture"], + "type": "boolean", + "title": "Hand Equipped", + "description": "Is this a hand equipped item." +} diff --git a/source/behavior/items/1.16.200/components/minecraft.icon.json b/source/behavior/items/format/components/icon.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.icon.json rename to source/behavior/items/format/components/icon.json index 86e225d8..6bfad623 100644 --- a/source/behavior/items/1.16.200/components/minecraft.icon.json +++ b/source/behavior/items/format/components/icon.json @@ -1,22 +1,22 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:icon", - "title": "Icon", - "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", - "type": "object", - "additionalProperties": false, - "required": ["texture"], - "properties": { - "frame": { - "type": "string", - "title": "Frame", - "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", - "default": 0 - }, - "legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." }, - "texture": { - "type": "string", - "title": "Texture", - "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:icon", + "title": "Icon", + "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", + "type": "object", + "additionalProperties": false, + "required": ["texture"], + "properties": { + "frame": { + "type": "string", + "title": "Frame", + "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", + "default": 0 + }, + "legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." }, + "texture": { + "type": "string", + "title": "Texture", + "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.knockback_resistance.json b/source/behavior/items/format/components/knockback_resistance.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.knockback_resistance.json rename to source/behavior/items/format/components/knockback_resistance.json index 5fe5455d..e16b89d9 100644 --- a/source/behavior/items/1.16.200/components/minecraft.knockback_resistance.json +++ b/source/behavior/items/format/components/knockback_resistance.json @@ -1,15 +1,15 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:knockback_resistance", - "title": "Knockback Resistance", - "description": "Knockback Resistance Item. Component put on items that provide knockback resistance.", - "type": "object", - "additionalProperties": false, - "required": ["protection"], - "properties": { - "protection": { - "title": "Protection", - "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", - "type": "number" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:knockback_resistance", + "title": "Knockback Resistance", + "description": "Knockback Resistance Item. Component put on items that provide knockback resistance.", + "type": "object", + "additionalProperties": false, + "required": ["protection"], + "properties": { + "protection": { + "title": "Protection", + "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", + "type": "number" + } + } +} diff --git a/source/behavior/items/format/components/max_stack_size.json b/source/behavior/items/format/components/max_stack_size.json new file mode 100644 index 00000000..649a1044 --- /dev/null +++ b/source/behavior/items/format/components/max_stack_size.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:max_stack_size", + "additionalProperties": false, + "required": ["texture"], + "type": "integer", + "title": "Max Stack Size", + "description": "Maximum stack size.", + "minimum": 0 +} diff --git a/source/behavior/items/1.16.200/components/minecraft.on_use.json b/source/behavior/items/format/components/on_use.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.on_use.json rename to source/behavior/items/format/components/on_use.json index e7f09e26..8a4913b8 100644 --- a/source/behavior/items/1.16.200/components/minecraft.on_use.json +++ b/source/behavior/items/format/components/on_use.json @@ -1,20 +1,20 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:on_use", - "title": "On Use", - "description": "The on_use item component allows you to receive an event when the item is used.", - "type": "object", - "additionalProperties": false, - "required": ["on_use"], - "properties": { - "on_use": { - "title": "On Use", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:on_use", + "title": "On Use", + "description": "The on_use item component allows you to receive an event when the item is used.", + "type": "object", + "additionalProperties": false, + "required": ["on_use"], + "properties": { + "on_use": { + "title": "On Use", + "description": "Event trigger for when the item is used.", + "type": "object", + "additionalProperties": false, + "properties": { + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.on_use_on.json b/source/behavior/items/format/components/on_use_on.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.on_use_on.json rename to source/behavior/items/format/components/on_use_on.json index 2bcb8236..7a08b138 100644 --- a/source/behavior/items/1.16.200/components/minecraft.on_use_on.json +++ b/source/behavior/items/format/components/on_use_on.json @@ -1,20 +1,20 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", - "title": "On Use On", - "description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.", - "type": "object", - "additionalProperties": false, - "required": ["on_use_on"], - "properties": { - "on_use": { - "title": "On Use", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["block"] } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", + "title": "On Use On", + "description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.", + "type": "object", + "additionalProperties": false, + "required": ["on_use_on"], + "properties": { + "on_use": { + "title": "On Use", + "description": "Event trigger for when the item is used.", + "type": "object", + "additionalProperties": false, + "properties": { + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["block"] } + } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.projectile.json b/source/behavior/items/format/components/projectile.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.projectile.json rename to source/behavior/items/format/components/projectile.json index 1602c580..49861dd4 100644 --- a/source/behavior/items/1.16.200/components/minecraft.projectile.json +++ b/source/behavior/items/format/components/projectile.json @@ -1,16 +1,16 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:projectile", - "title": "Projectile", - "description": "Projectile item component. projectile items shoot out, like an arrow.", - "type": "object", - "additionalProperties": false, - "required": ["projectile_entity"], - "properties": { - "minimum_critical_power": { - "type": "number", - "title": "Minimum Critical Power", - "description": "How long you must charge a projectile for it to critically hit." - }, - "projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:projectile", + "title": "Projectile", + "description": "Projectile item component. projectile items shoot out, like an arrow.", + "type": "object", + "additionalProperties": false, + "required": ["projectile_entity"], + "properties": { + "minimum_critical_power": { + "type": "number", + "title": "Minimum Critical Power", + "description": "How long you must charge a projectile for it to critically hit." + }, + "projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.render_offsets.json b/source/behavior/items/format/components/render_offsets.json similarity index 96% rename from source/behavior/items/1.16.200/components/minecraft.render_offsets.json rename to source/behavior/items/format/components/render_offsets.json index aa7e2b45..813abc32 100644 --- a/source/behavior/items/1.16.200/components/minecraft.render_offsets.json +++ b/source/behavior/items/format/components/render_offsets.json @@ -1,68 +1,68 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:render_offsets", - "title": "Render Offsets", - "description": "Render offsets component: optional values can be given to offset the way the item is rendered.", - "type": "object", - "additionalProperties": false, - "definitions": { - "offset_spec": { - "type": "object", - "title": "Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "first_person": { - "title": "First Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - }, - "thrid_person": { - "title": "Thrid Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - } - } - }, - "mode": { - "type": "object", - "title": "Mode", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "position": { - "title": "Position", - "description": "The position transformation", - "$ref": "#/definitions/vec3" - }, - "rotation": { - "title": "Rotation", - "description": "The rotation transformation", - "$ref": "#/definitions/vec3" - }, - "scale": { - "title": "Scale", - "description": "The scale transformation", - "$ref": "#/definitions/vec3" - } - } - }, - "vec3": { - "type": "array", - "title": "Vector", - "description": "X Y Z", - "items": [ - { "title": "X", "description": "The X tranformation", "type": "number" }, - { "title": "Y", "description": "The Y tranformation", "type": "number" }, - { "title": "Z", "description": "The Z tranformation", "type": "number" } - ] - } - }, - "properties": { - "main_hand": { "title": "Main Hand", "description": "Right hand transform data.", "type": "string" }, - "off_hand": { "title": "Off Hand", "description": "Left hand transform data.", "type": "string" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:render_offsets", + "title": "Render Offsets", + "description": "Render offsets component: optional values can be given to offset the way the item is rendered.", + "type": "object", + "additionalProperties": false, + "definitions": { + "offset_spec": { + "type": "object", + "title": "Offset", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "first_person": { + "title": "First Person", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/mode" + }, + "thrid_person": { + "title": "Thrid Person", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/mode" + } + } + }, + "mode": { + "type": "object", + "title": "Mode", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "position": { + "title": "Position", + "description": "The position transformation", + "$ref": "#/definitions/vec3" + }, + "rotation": { + "title": "Rotation", + "description": "The rotation transformation", + "$ref": "#/definitions/vec3" + }, + "scale": { + "title": "Scale", + "description": "The scale transformation", + "$ref": "#/definitions/vec3" + } + } + }, + "vec3": { + "type": "array", + "title": "Vector", + "description": "X Y Z", + "items": [ + { "title": "X", "description": "The X tranformation", "type": "number" }, + { "title": "Y", "description": "The Y tranformation", "type": "number" }, + { "title": "Z", "description": "The Z tranformation", "type": "number" } + ] + } + }, + "properties": { + "main_hand": { "title": "Main Hand", "description": "Right hand transform data.", "type": "string" }, + "off_hand": { "title": "Off Hand", "description": "Left hand transform data.", "type": "string" } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.repairable.json b/source/behavior/items/format/components/repairable.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.repairable.json rename to source/behavior/items/format/components/repairable.json index 3c92519c..15d057ad 100644 --- a/source/behavior/items/1.16.200/components/minecraft.repairable.json +++ b/source/behavior/items/format/components/repairable.json @@ -1,37 +1,37 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:repairable", - "title": "Repairable", - "description": "Repairable item component: how much damage can this item repair, what items can repair it.", - "type": "object", - "additionalProperties": false, - "properties": { - "on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" }, - "repair_items": { - "title": "Repair Items", - "description": "Repair item entries.", - "type": "array", - "items": { - "type": "object", - "title": "Repar Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "items": { - "title": "Items", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "repair_amount": { - "title": "Repair Amount", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../../molang/number.json" - } - } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:repairable", + "title": "Repairable", + "description": "Repairable item component: how much damage can this item repair, what items can repair it.", + "type": "object", + "additionalProperties": false, + "properties": { + "on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" }, + "repair_items": { + "title": "Repair Items", + "description": "Repair item entries.", + "type": "array", + "items": { + "type": "object", + "title": "Repar Item", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "items": { + "title": "Items", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + }, + "repair_amount": { + "title": "Repair Amount", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "../../../../molang/number.json" + } + } + } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.shooter.json b/source/behavior/items/format/components/shooter.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.shooter.json rename to source/behavior/items/format/components/shooter.json index 4623f5ad..e8741fa4 100644 --- a/source/behavior/items/1.16.200/components/minecraft.shooter.json +++ b/source/behavior/items/format/components/shooter.json @@ -1,42 +1,42 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:shooter", - "title": "Shooter", - "description": "Shooter Item Component.", - "type": "object", - "additionalProperties": false, - "properties": { - "ammunition": { - "title": "Ammunition", - "description": "Ammunition", - "type": "array", - "items": { - "type": "object", - "title": "Ammunition", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, - "use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" } - } - } - }, - "charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" }, - "launch_power_scale": { - "title": "Launch Power Scale", - "description": "Launch power scale. Default is set to 1.0.", - "default": 1.0, - "type": "number" - }, - "max_draw_duration": { "title": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" }, - "max_launch_power": { "title": "Maximum Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" }, - "scale_power_by_draw_duration": { - "title": "Scale Power By Draw Duration", - "description": "Scale power by draw duration? Default is set to false.", - "default": false, - "type": "boolean" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:shooter", + "title": "Shooter", + "description": "Shooter Item Component.", + "type": "object", + "additionalProperties": false, + "properties": { + "ammunition": { + "title": "Ammunition", + "description": "Ammunition", + "type": "array", + "items": { + "type": "object", + "title": "Ammunition", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, + "use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, + "search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, + "use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" } + } + } + }, + "charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" }, + "launch_power_scale": { + "title": "Launch Power Scale", + "description": "Launch power scale. Default is set to 1.0.", + "default": 1.0, + "type": "number" + }, + "max_draw_duration": { "title": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" }, + "max_launch_power": { "title": "Maximum Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" }, + "scale_power_by_draw_duration": { + "title": "Scale Power By Draw Duration", + "description": "Scale power by draw duration? Default is set to false.", + "default": false, + "type": "boolean" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.throwable.json b/source/behavior/items/format/components/throwable.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.throwable.json rename to source/behavior/items/format/components/throwable.json index f2a7e962..5f0cf99b 100644 --- a/source/behavior/items/1.16.200/components/minecraft.throwable.json +++ b/source/behavior/items/format/components/throwable.json @@ -1,45 +1,45 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", - "title": "Throwable", - "description": "Throwable item component. Throwable items, such as a snowball.", - "type": "object", - "additionalProperties": false, - "properties": { - "do_swing_animation": { - "title": "Do Swing Animation", - "description": "Whether the item should use the swing animation when thrown. Default is set to false.", - "default": false, - "type": "boolean" - }, - "launch_power_scale": { - "title": "Launch Power Scale", - "description": "The scale at which the power of the throw increases. Default is set to 1.0.", - "default": 1.0, - "type": "number" - }, - "max_draw_duration": { - "title": "Maximum Draw Duration", - "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", - "default": 0, - "type": "number" - }, - "min_draw_duration": { - "title": "Minimum Draw Duration", - "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", - "default": 0, - "type": "number" - }, - "max_launch_power": { - "title": "Maximum Launch Power", - "description": "The maximum power to launch the throwable item. Default is set to 1.0.", - "default": 1.0, - "type": "number" - }, - "scale_power_by_draw_duration": { - "title": "Scale Power By Draw Duration", - "description": "Whether or not the power of the throw increases with duration charged. Default is set to false.", - "default": false, - "type": "boolean" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", + "title": "Throwable", + "description": "Throwable item component. Throwable items, such as a snowball.", + "type": "object", + "additionalProperties": false, + "properties": { + "do_swing_animation": { + "title": "Do Swing Animation", + "description": "Whether the item should use the swing animation when thrown. Default is set to false.", + "default": false, + "type": "boolean" + }, + "launch_power_scale": { + "title": "Launch Power Scale", + "description": "The scale at which the power of the throw increases. Default is set to 1.0.", + "default": 1.0, + "type": "number" + }, + "max_draw_duration": { + "title": "Maximum Draw Duration", + "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", + "default": 0, + "type": "number" + }, + "min_draw_duration": { + "title": "Minimum Draw Duration", + "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", + "default": 0, + "type": "number" + }, + "max_launch_power": { + "title": "Maximum Launch Power", + "description": "The maximum power to launch the throwable item. Default is set to 1.0.", + "default": 1.0, + "type": "number" + }, + "scale_power_by_draw_duration": { + "title": "Scale Power By Draw Duration", + "description": "Whether or not the power of the throw increases with duration charged. Default is set to false.", + "default": false, + "type": "boolean" + } + } +} diff --git a/source/behavior/items/format/components/use_duration.json b/source/behavior/items/format/components/use_duration.json new file mode 100644 index 00000000..3c7e3e0d --- /dev/null +++ b/source/behavior/items/format/components/use_duration.json @@ -0,0 +1,8 @@ +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:use_duration", + "additionalProperties": false, + "required": ["texture"], + "type": "integer", + "title": "Use Duration", + "description": "How long to use before item is done being used." +} diff --git a/source/behavior/items/1.16.200/components/minecraft.weapon.json b/source/behavior/items/format/components/weapon.json similarity index 98% rename from source/behavior/items/1.16.200/components/minecraft.weapon.json rename to source/behavior/items/format/components/weapon.json index a48cbb82..7c344788 100644 --- a/source/behavior/items/1.16.200/components/minecraft.weapon.json +++ b/source/behavior/items/format/components/weapon.json @@ -1,33 +1,33 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:weapon", - "title": "Weapon", - "description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.", - "type": "object", - "additionalProperties": false, - "properties": { - "on_hit_block": { - "title": "On Hit Block", - "description": "Trigger for letting you know when this item is used to hit a block", - "type": "object", - "additionalProperties": false, - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - }, - "on_hurt_entity": { - "title": "On Hurt Entity", - "description": "Trigger for letting you know when this item is used to hurt another mob", - "type": "object", - "additionalProperties": false, - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self", "holder"] } - }, - "on_not_hurt_entity": { - "title": "On Not Hurt Entity", - "description": "Trigger for letting you know when this item hit another actor, but didn't do damage", - "type": "object", - "additionalProperties": false, - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:weapon", + "title": "Weapon", + "description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.", + "type": "object", + "additionalProperties": false, + "properties": { + "on_hit_block": { + "title": "On Hit Block", + "description": "Trigger for letting you know when this item is used to hit a block", + "type": "object", + "additionalProperties": false, + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + }, + "on_hurt_entity": { + "title": "On Hurt Entity", + "description": "Trigger for letting you know when this item is used to hurt another mob", + "type": "object", + "additionalProperties": false, + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self", "holder"] } + }, + "on_not_hurt_entity": { + "title": "On Not Hurt Entity", + "description": "Trigger for letting you know when this item hit another actor, but didn't do damage", + "type": "object", + "additionalProperties": false, + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.wearable.json b/source/behavior/items/format/components/wearable.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.wearable.json rename to source/behavior/items/format/components/wearable.json index 7c60d08f..8784f8df 100644 --- a/source/behavior/items/1.16.200/components/minecraft.wearable.json +++ b/source/behavior/items/format/components/wearable.json @@ -1,31 +1,31 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:wearable", - "title": "Wearable", - "description": "Wearable item component.", - "type": "object", - "additionalProperties": false, - "properties": { - "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "slot": { - "title": "Slot", - "description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest", - "type": "string", - "enum": [ - "slot.weapon.mainhand", - "none", - "slot.weapon.offhand", - "slot.armor.head", - "slot.armor.chest", - "slot.armor.legs", - "slot.armor.feet", - "slot.hotbar", - "slot.inventory", - "slot.enderchest", - "slot.saddle", - "slot.armor", - "slot.chest", - "slot.equippable" - ] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:wearable", + "title": "Wearable", + "description": "Wearable item component.", + "type": "object", + "additionalProperties": false, + "properties": { + "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, + "slot": { + "title": "Slot", + "description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest", + "type": "string", + "enum": [ + "slot.weapon.mainhand", + "none", + "slot.weapon.offhand", + "slot.armor.head", + "slot.armor.chest", + "slot.armor.legs", + "slot.armor.feet", + "slot.hotbar", + "slot.inventory", + "slot.enderchest", + "slot.saddle", + "slot.armor", + "slot.chest", + "slot.equippable" + ] + } + } +} diff --git a/source/behavior/items/1.16.200/events.json b/source/behavior/items/format/events.json similarity index 97% rename from source/behavior/items/1.16.200/events.json rename to source/behavior/items/format/events.json index 9ea3256e..3a1cdafa 100644 --- a/source/behavior/items/1.16.200/events.json +++ b/source/behavior/items/format/events.json @@ -1,84 +1,84 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events", - "title": "Events", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { "on_consume": { "$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 } - } - } - }, - "run_command": { - "title": "Run Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "command": { - "title": "Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["other"] } - } - } - } - }, - "event_functions": { - "title": "Event", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { - "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, - "damage": { "$ref": "./events/damage.json" }, - "decrement_stack": { "$ref": "./events/decrement_stack.json" }, - "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, - "shoot": { "$ref": "./events/shoot.json" }, - "swing": { "$ref": "./events/swing.json" }, - "teleport": { "$ref": "./events/teleport.json" }, - "transform_item": { "$ref": "./events/transform_item.json" } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events", + "title": "Events", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "properties": { "on_consume": { "$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 } + } + } + }, + "run_command": { + "title": "Run Command", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "command": { + "title": "Command", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["other"] } + } + } + } + }, + "event_functions": { + "title": "Event", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "properties": { + "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, + "damage": { "$ref": "./events/damage.json" }, + "decrement_stack": { "$ref": "./events/decrement_stack.json" }, + "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, + "shoot": { "$ref": "./events/shoot.json" }, + "swing": { "$ref": "./events/swing.json" }, + "teleport": { "$ref": "./events/teleport.json" }, + "transform_item": { "$ref": "./events/transform_item.json" } + } + } + } +} diff --git a/source/behavior/items/1.16.200/events/add_mob_effect.json b/source/behavior/items/format/events/add_mob_effect.json similarity index 98% rename from source/behavior/items/1.16.200/events/add_mob_effect.json rename to source/behavior/items/format/events/add_mob_effect.json index df7aa0db..3a61a9c9 100644 --- a/source/behavior/items/1.16.200/events/add_mob_effect.json +++ b/source/behavior/items/format/events/add_mob_effect.json @@ -1,14 +1,14 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.add_mob_effect", - "title": "Add Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.add_mob_effect", + "title": "Add Mob Effect", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, + "duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } +} diff --git a/source/behavior/items/1.16.200/events/damage.json b/source/behavior/items/format/events/damage.json similarity index 97% rename from source/behavior/items/1.16.200/events/damage.json rename to source/behavior/items/format/events/damage.json index bce9354d..c6e61d9b 100644 --- a/source/behavior/items/1.16.200/events/damage.json +++ b/source/behavior/items/format/events/damage.json @@ -1,12 +1,12 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "type": { "type": "string", "title": "Type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["magic"] }, - "amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", + "title": "Shoot", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "type": { "type": "string", "title": "Type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["magic"] }, + "amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } +} diff --git a/source/behavior/items/1.16.200/events/decrement_stack.json b/source/behavior/items/format/events/decrement_stack.json similarity index 96% rename from source/behavior/items/1.16.200/events/decrement_stack.json rename to source/behavior/items/format/events/decrement_stack.json index 57397523..854da926 100644 --- a/source/behavior/items/1.16.200/events/decrement_stack.json +++ b/source/behavior/items/format/events/decrement_stack.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.decrement_stack", - "title": "Decrement Stack", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.decrement_stack", + "title": "Decrement Stack", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false +} diff --git a/source/behavior/items/1.16.200/events/remove_mob_effect.json b/source/behavior/items/format/events/remove_mob_effect.json similarity index 97% rename from source/behavior/items/1.16.200/events/remove_mob_effect.json rename to source/behavior/items/format/events/remove_mob_effect.json index 26d32575..12cd89cd 100644 --- a/source/behavior/items/1.16.200/events/remove_mob_effect.json +++ b/source/behavior/items/format/events/remove_mob_effect.json @@ -1,12 +1,12 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.remove_mob_effect", - "title": "Remove Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.remove_mob_effect", + "title": "Remove Mob Effect", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] } + } +} diff --git a/source/behavior/items/1.16.200/events/shoot.json b/source/behavior/items/format/events/shoot.json similarity index 96% rename from source/behavior/items/1.16.200/events/shoot.json rename to source/behavior/items/format/events/shoot.json index 8ceacbfe..8760d324 100644 --- a/source/behavior/items/1.16.200/events/shoot.json +++ b/source/behavior/items/format/events/shoot.json @@ -1,23 +1,23 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "angle_offset": { - "type": "number", - "title": "Angle Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "launch_power": { - "type": "number", - "title": "Launch Power", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", + "title": "Shoot", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "angle_offset": { + "type": "number", + "title": "Angle Offset", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + }, + "launch_power": { + "type": "number", + "title": "Launch Power", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + }, + "projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } +} diff --git a/source/behavior/items/1.16.200/events/swing.json b/source/behavior/items/format/events/swing.json similarity index 96% rename from source/behavior/items/1.16.200/events/swing.json rename to source/behavior/items/format/events/swing.json index 213bab19..10dff2d7 100644 --- a/source/behavior/items/1.16.200/events/swing.json +++ b/source/behavior/items/format/events/swing.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.swing", - "title": "Swing", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.swing", + "title": "Swing", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false +} diff --git a/source/behavior/items/1.16.200/events/teleport.json b/source/behavior/items/format/events/teleport.json similarity index 97% rename from source/behavior/items/1.16.200/events/teleport.json rename to source/behavior/items/format/events/teleport.json index dbaa3caf..f5b38b70 100644 --- a/source/behavior/items/1.16.200/events/teleport.json +++ b/source/behavior/items/format/events/teleport.json @@ -1,22 +1,22 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.teleport", - "title": "Teleport", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "max_range": { - "type": "array", - "title": "Maximum Range", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "items": [ - { "type": "number", "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - ] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.teleport", + "title": "Teleport", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, + "max_range": { + "type": "array", + "title": "Maximum Range", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "items": [ + { "type": "number", "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + { "type": "number", "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + { "type": "number", "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + ] + } + } +} diff --git a/source/behavior/items/1.16.200/events/transform_item.json b/source/behavior/items/format/events/transform_item.json similarity index 97% rename from source/behavior/items/1.16.200/events/transform_item.json rename to source/behavior/items/format/events/transform_item.json index 5c38d934..7646f2a4 100644 --- a/source/behavior/items/1.16.200/events/transform_item.json +++ b/source/behavior/items/format/events/transform_item.json @@ -1,9 +1,9 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.transform_item", - "title": "Transform Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" } } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.transform_item", + "title": "Transform Item", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" } } +} diff --git a/source/behavior/items/format/minecraft.item.json b/source/behavior/items/format/minecraft.item.json new file mode 100644 index 00000000..676f3ac2 --- /dev/null +++ b/source/behavior/items/format/minecraft.item.json @@ -0,0 +1,71 @@ +{ + "$id": "blockception.minecraft.behavior.items", + "additionalProperties": false, + "required": ["description"], + "type": "object", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "title": "Item", + "properties": { + "description": { + "additionalProperties": false, + "type": "object", + "title": "Description", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "properties": { + "identifier": { + "title": "Identifier", + "type": "string", + "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", + "$ref": "../../../general/item/identifier.json" + }, + "category": { + "type": "string", + "default": "", + "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", + "title": "Category", + "examples": ["Nature", "Equipment", "Construction", "Items"] + }, + "is_experimental": { + "type": "boolean", + "default": false, + "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", + "title": "Is Experimental" + } + } + }, + "components": { + "additionalProperties": { "type": "object" }, + "type": "object", + "description": "The components of this item", + "properties": { + "minecraft:armor": { "$ref": "./components/armor.json" }, + "minecraft:block_placer": { "$ref": "./components/block_placer.json" }, + "minecraft:cooldown": { "$ref": "./components/cooldown.json" }, + "minecraft:digger": { "$ref": "./components/digger.json" }, + "minecraft:display_name": { "$ref": "./components/display_name.json" }, + "minecraft:durability": { "$ref": "./components/durability.json" }, + "minecraft:dye_powder": { "$ref": "./components/dye_powder.json" }, + "minecraft:entity_placer": { "$ref": "./components/entity_placer.json" }, + "minecraft:food": { "$ref": "./components/food.json" }, + "minecraft:fuel": { "$ref": "./components/fuel.json" }, + "minecraft:hand_equipped": { "$ref": "./components/hand_equipped.json" }, + "minecraft:icon": { "$ref": "./components/icon.json" }, + "minecraft:knockback_resistance": { "$ref": "./components/knockback_resistance.json" }, + "minecraft:max_stack_size": { "$ref": "./components/max_stack_size.json" }, + "minecraft:on_use_on": { "$ref": "./components/on_use_on.json" }, + "minecraft:on_use": { "$ref": "./components/on_use.json" }, + "minecraft:projectile": { "$ref": "./components/projectile.json" }, + "minecraft:render_offsets": { "$ref": "./components/render_offsets.json" }, + "minecraft:repairable": { "$ref": "./components/repairable.json" }, + "minecraft:shooter": { "$ref": "./components/shooter.json" }, + "minecraft:throwable": { "$ref": "./components/throwable.json" }, + "minecraft:use_duration": { "$ref": "./components/use_duration.json" }, + "minecraft:weapon": { "$ref": "./components/weapon.json" }, + "minecraft:wearable": { "$ref": "./components/wearable.json" } + } + }, + "events": { "$ref": "./events.json" } + } +} diff --git a/source/behavior/items/items.json b/source/behavior/items/items.json index 421324cc..2a7bd8e0 100644 --- a/source/behavior/items/items.json +++ b/source/behavior/items/items.json @@ -1,16 +1,11 @@ { - "$schema": "http://json-schema.org/draft-07/schema", - "$id": "blockception.minecraft.behavior.items", - "examples": [{ "format_version": "1.16.200", "minecraft:item": { "description": { "identifier": "namespace:item" }, "components": {} } }], - "allOf": [ - { "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.14" } } }, "then": { "$ref": "./1.14.0/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.16" } } }, "then": { "$ref": "./1.16.0/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/items.json" } }, - { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.200" } } }, "then": { "$ref": "./1.16.200/items.json" } }, - { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } - ] + "$id": "blockception.minecraft.behavior.1.16.200.items", + "description": "Minecraft items 1.16.200", + "required": ["format_version", "minecraft:item"], + "title": "Item", + "type": "object", + "properties": { + "format_version": { "$ref": "../../general/format_version.json" }, + "minecraft:item": { "$ref": "./format/minecraft.item.json" } + } } diff --git a/source/behavior/loot_tables/functions.json b/source/behavior/loot_tables/functions.json index 9c13f8d3..a7b37abc 100644 --- a/source/behavior/loot_tables/functions.json +++ b/source/behavior/loot_tables/functions.json @@ -30,6 +30,12 @@ "set_name", "specific_enchants" ] + }, + "add": { + "title": "Add", + "description": "UNDOCUMENTED", + "type": "boolean", + "default": false } }, "allOf": [ diff --git a/source/behavior/loot_tables/loot_tables.json b/source/behavior/loot_tables/loot_tables.json index db6ad25c..a2365f31 100644 --- a/source/behavior/loot_tables/loot_tables.json +++ b/source/behavior/loot_tables/loot_tables.json @@ -127,6 +127,14 @@ "bonus_rolls": { "title": "Bonus Rolls", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" }, "initial_range": { "title": "Initial Range", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" } } + }, + "bonus_rolls": { + "title": "Bonus Rolls", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "integer", + "minimum": 0, + "default": 0 } } } diff --git a/source/behavior/recipes/recipes.json b/source/behavior/recipes/recipes.json index 7b03bae7..329820e0 100644 --- a/source/behavior/recipes/recipes.json +++ b/source/behavior/recipes/recipes.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.recipes", "examples": [ { - "format_version": "1.12.0", + "format_version": "1.19.0", "minecraft:recipe_shaped": { "description": { "identifier": "minecraft:item" }, "tags": ["crafting_table"], diff --git a/source/behavior/spawn_rules/spawn_rules.json b/source/behavior/spawn_rules/spawn_rules.json index 36583248..c165e2eb 100644 --- a/source/behavior/spawn_rules/spawn_rules.json +++ b/source/behavior/spawn_rules/spawn_rules.json @@ -3,7 +3,7 @@ "$id": "blockception.behavior.spawn_rules", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "minecraft:spawn_rules": { "description": { "identifier": "minecraft:entity", "population_control": "ambient" }, "conditions": [{}] } } ], diff --git a/source/behavior/trading/trading.json b/source/behavior/trading/trading.json index cc3d3e2e..8997f17d 100644 --- a/source/behavior/trading/trading.json +++ b/source/behavior/trading/trading.json @@ -151,6 +151,7 @@ }, "trader_exp": { "type": "integer", "title": "Trader Experience" }, "max_uses": { "type": "integer", "title": "Maximum Uses" }, + "weight": { "type": "integer", "title": "Weight" }, "reward_exp": { "type": "boolean", "title": "Reward Experience" } } } diff --git a/source/behavior/volumes/volumes.json b/source/behavior/volumes/volumes.json index c5e2f673..525763ba 100644 --- a/source/behavior/volumes/volumes.json +++ b/source/behavior/volumes/volumes.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.behavior.volumes", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "minecraft:volume": { "description": { "identifier": "example:foo" diff --git a/source/general/entity/damage_source.json b/source/general/entity/damage_source.json index 804f8ac5..cf11f9ed 100644 --- a/source/general/entity/damage_source.json +++ b/source/general/entity/damage_source.json @@ -15,8 +15,8 @@ "fall", "falling_block", "fatal", - "fire", "fire_tick", + "fire", "fireworks", "fly_into_wall", "freezing", @@ -28,6 +28,7 @@ "override", "piston", "projectile", + "sonic_boom", "stalactite", "stalagmite", "starve", diff --git a/source/general/format_version.json b/source/general/format_version.json index 9e6572ed..c3e3ba40 100644 --- a/source/general/format_version.json +++ b/source/general/format_version.json @@ -4,7 +4,7 @@ "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.18.30", - "examples": ["1.18.30", "1.18.20", "1.18.10", "1.18.0", "1.17.0", "1.16.0", "1.15.0", "1.14.0", "1.13.0", "1.12.0", "1.10.0", "1.8.0"], + "default": "1.19.0", + "examples": ["1.19.0", "1.18.30", "1.18.20", "1.18.10", "1.18.0", "1.17.0", "1.16.0", "1.15.0", "1.14.0", "1.13.0", "1.12.0", "1.10.0", "1.8.0"], "defaultSnippets": [{ "label": "New Format version", "body": "1.${1|8,10,12,17,18|}.${3|2|0|}" }] } diff --git a/source/general/manifest/manifest.2.json b/source/general/manifest/manifest.2.json index 158ae088..f43f2ba3 100644 --- a/source/general/manifest/manifest.2.json +++ b/source/general/manifest/manifest.2.json @@ -128,10 +128,16 @@ }, "type": { "type": "string", - "enum": ["resources", "data", "client_data", "interface", "world_template", "javascript"], + "enum": ["resources", "data", "client_data", "interface", "world_template", "javascript", "script"], "description": "This is the type of the module.", "title": "Type" }, + "language": { + "type": "string", + "title": "Language", + "description": "The programming language to use", + "enum": ["javascript"] + }, "uuid": { "$ref": "#/definitions/uuidv4", "description": "This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module", @@ -198,7 +204,7 @@ "description": "A single definition of a subpack", "title": "Subpacks", "required": ["folder_name", "name", "memory_tier"], - "example": [{"folder_name": "tier1", "name": "low", "memory_tier": 1}], + "example": [{ "folder_name": "tier1", "name": "low", "memory_tier": 1 }], "properties": { "folder_name": { "type": "string", diff --git a/source/resource/animation_controllers/animation_controller.json b/source/resource/animation_controllers/animation_controller.json index 5bb9eb11..0820d6a8 100644 --- a/source/resource/animation_controllers/animation_controller.json +++ b/source/resource/animation_controllers/animation_controller.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.resource.animation_controller", "examples": [ { - "format_version": "1.18.0", + "format_version": "1.19.0", "animation_controllers": { "controller.animation.example": { "states": { diff --git a/source/resource/animations/actor_animation.json b/source/resource/animations/actor_animation.json index 23790cb4..7bbd1130 100644 --- a/source/resource/animations/actor_animation.json +++ b/source/resource/animations/actor_animation.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": "blockception.minecraft.resource.actor_animation", - "examples": [{ "format_version": "1.18.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }], + "examples": [{ "format_version": "1.19.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }], "additionalProperties": false, "type": "object", "title": "Actor Animation", diff --git a/source/resource/attachables/attachables.json b/source/resource/attachables/attachables.json index c4d5606f..08e7bb0e 100644 --- a/source/resource/attachables/attachables.json +++ b/source/resource/attachables/attachables.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.resource.attachables", "examples": [ { - "format_version": "1.10.0", + "format_version": "1.19.0", "minecraft:attachable": { "description": { "identifier": "minecraft:item", diff --git a/source/resource/biomes_client.json b/source/resource/biomes_client.json index 52cccffe..3e396664 100644 --- a/source/resource/biomes_client.json +++ b/source/resource/biomes_client.json @@ -60,17 +60,17 @@ "additionalProperties": false, "description": "A collection of predefined biomes", "properties": { - "bamboo_jungle": { "$ref": "#/definitions/biomespec" }, "bamboo_jungle_hills": { "$ref": "#/definitions/biomespec" }, + "bamboo_jungle": { "$ref": "#/definitions/biomespec" }, "basalt_deltas": { "$ref": "#/definitions/biomespec" }, "beach": { "$ref": "#/definitions/biomespec" }, - "birch_forest": { "$ref": "#/definitions/biomespec" }, "birch_forest_hills": { "$ref": "#/definitions/biomespec" }, + "birch_forest": { "$ref": "#/definitions/biomespec" }, "cold_beach": { "$ref": "#/definitions/biomespec" }, "cold_ocean": { "$ref": "#/definitions/biomespec" }, - "cold_taiga": { "$ref": "#/definitions/biomespec" }, "cold_taiga_hills": { "$ref": "#/definitions/biomespec" }, "cold_taiga_mutated": { "$ref": "#/definitions/biomespec" }, + "cold_taiga": { "$ref": "#/definitions/biomespec" }, "crimson_forest": { "$ref": "#/definitions/biomespec" }, "deep_cold_ocean": { "$ref": "#/definitions/biomespec" }, "deep_frozen_ocean": { "$ref": "#/definitions/biomespec" }, @@ -78,54 +78,55 @@ "deep_ocean": { "$ref": "#/definitions/biomespec" }, "deep_warm_ocean": { "$ref": "#/definitions/biomespec" }, "default": { "$ref": "#/definitions/biomespec" }, - "desert": { "$ref": "#/definitions/biomespec" }, "desert_hills": { "$ref": "#/definitions/biomespec" }, - "extreme_hills": { "$ref": "#/definitions/biomespec" }, + "desert": { "$ref": "#/definitions/biomespec" }, "extreme_hills_edge": { "$ref": "#/definitions/biomespec" }, "extreme_hills_mutated": { "$ref": "#/definitions/biomespec" }, - "extreme_hills_plus_trees": { "$ref": "#/definitions/biomespec" }, "extreme_hills_plus_trees_mutated": { "$ref": "#/definitions/biomespec" }, + "extreme_hills_plus_trees": { "$ref": "#/definitions/biomespec" }, + "extreme_hills": { "$ref": "#/definitions/biomespec" }, "flower_forest": { "$ref": "#/definitions/biomespec" }, - "forest": { "$ref": "#/definitions/biomespec" }, "forest_hills": { "$ref": "#/definitions/biomespec" }, + "forest": { "$ref": "#/definitions/biomespec" }, "frozen_ocean": { "$ref": "#/definitions/biomespec" }, "frozen_river": { "$ref": "#/definitions/biomespec" }, "hell": { "$ref": "#/definitions/biomespec" }, "ice_mountains": { "$ref": "#/definitions/biomespec" }, - "ice_plains": { "$ref": "#/definitions/biomespec" }, "ice_plains_spikes": { "$ref": "#/definitions/biomespec" }, - "jungle": { "$ref": "#/definitions/biomespec" }, + "ice_plains": { "$ref": "#/definitions/biomespec" }, "jungle_edge": { "$ref": "#/definitions/biomespec" }, "jungle_hills": { "$ref": "#/definitions/biomespec" }, "jungle_mutated": { "$ref": "#/definitions/biomespec" }, + "jungle": { "$ref": "#/definitions/biomespec" }, "lukewarm_ocean": { "$ref": "#/definitions/biomespec" }, - "mega_spruce_taiga": { "$ref": "#/definitions/biomespec" }, + "mangrove_swamp": { "$ref": "#/definitions/biomespec" }, "mega_spruce_taiga_mutated": { "$ref": "#/definitions/biomespec" }, - "mega_taiga": { "$ref": "#/definitions/biomespec" }, + "mega_spruce_taiga": { "$ref": "#/definitions/biomespec" }, "mega_taiga_hills": { "$ref": "#/definitions/biomespec" }, "mega_taiga_mutated": { "$ref": "#/definitions/biomespec" }, - "mesa": { "$ref": "#/definitions/biomespec" }, + "mega_taiga": { "$ref": "#/definitions/biomespec" }, "mesa_bryce": { "$ref": "#/definitions/biomespec" }, "mesa_mutated": { "$ref": "#/definitions/biomespec" }, - "mesa_plateau": { "$ref": "#/definitions/biomespec" }, "mesa_plateau_stone": { "$ref": "#/definitions/biomespec" }, - "mushroom_island": { "$ref": "#/definitions/biomespec" }, + "mesa_plateau": { "$ref": "#/definitions/biomespec" }, + "mesa": { "$ref": "#/definitions/biomespec" }, "mushroom_island_shore": { "$ref": "#/definitions/biomespec" }, + "mushroom_island": { "$ref": "#/definitions/biomespec" }, "ocean": { "$ref": "#/definitions/biomespec" }, "plains": { "$ref": "#/definitions/biomespec" }, "river": { "$ref": "#/definitions/biomespec" }, "roofed_forest": { "$ref": "#/definitions/biomespec" }, - "savanna": { "$ref": "#/definitions/biomespec" }, "savanna_mutated": { "$ref": "#/definitions/biomespec" }, "savanna_plateau": { "$ref": "#/definitions/biomespec" }, + "savanna": { "$ref": "#/definitions/biomespec" }, "soulsand_valley": { "$ref": "#/definitions/biomespec" }, "stone_beach": { "$ref": "#/definitions/biomespec" }, "sunflower_plains": { "$ref": "#/definitions/biomespec" }, - "swampland": { "$ref": "#/definitions/biomespec" }, "swampland_mutated": { "$ref": "#/definitions/biomespec" }, - "taiga": { "$ref": "#/definitions/biomespec" }, + "swampland": { "$ref": "#/definitions/biomespec" }, "taiga_hills": { "$ref": "#/definitions/biomespec" }, "taiga_mutated": { "$ref": "#/definitions/biomespec" }, + "taiga": { "$ref": "#/definitions/biomespec" }, "the_end": { "$ref": "#/definitions/biomespec" }, "warm_ocean": { "$ref": "#/definitions/biomespec" }, "warped_forest": { "$ref": "#/definitions/biomespec" } diff --git a/source/resource/entity/entity.json b/source/resource/entity/entity.json index fde736de..620a5865 100644 --- a/source/resource/entity/entity.json +++ b/source/resource/entity/entity.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.resource.entity", "examples": [ { - "format_version": "1.10.0", + "format_version": "1.19.0", "minecraft:client_entity": { "description": { "identifier": "minecraft:entity", diff --git a/source/resource/fog/fog.json b/source/resource/fog/fog.json index 54e8dc18..644c814a 100644 --- a/source/resource/fog/fog.json +++ b/source/resource/fog/fog.json @@ -30,13 +30,13 @@ "properties": { "fog_start": { "title": "Fog Start", - "description": "The distance from the player that the fog will begin to appear. `fog_start` must be less than or equal to `fog_end`.", + "description": "The distance from the player that the fog will begin to appear. 'fog_start' must be less than or equal to 'fog_end'.", "type": "number", "minimum": 0 }, "fog_end": { "title": "Fog End", - "description": "The distance from the player that the fog will become fully opaque. `fog_end` must be greater than or equal to `fog_start`.", + "description": "The distance from the player that the fog will become fully opaque. 'fog_end' must be greater than or equal to 'fog_start'.", "type": "number", "minimum": 0 }, @@ -52,6 +52,71 @@ "description": "Determines how distance value is used. Fixed distance is measured in blocks. Dynamic distance is multiplied by the current render distance.", "type": "string", "enum": ["fixed", "render"] + }, + "transition_fog": { + "title": "Transition Fog", + "description": "Additional fog data which will slowly transition to the distance fog of current biome.", + "type": "object", + "default": false, + "properties": { + "init_fog": { + "title": "Initial Fog", + "description": "Initial fog that will slowly transition into water distance fog of the biome when player goes into water.", + "type": "object", + "properties": { + "fog_color": { + "title": "Fog Color", + "description": "The color that the fog will take on.", + "type": "string", + "format": "color-hex", + "examples": ["#FFFFFF"] + }, + "fog_start": { + "title": "Fog Start", + "description": "The distance from the player that the fog will begin to appear. 'fog_start' must be less than or equal to 'fog_end'.", + "type": "number", + "minimum": 0 + }, + "fog_end": { + "title": "Fog End", + "description": "The distance from the player that the fog will become fully opaque. 'fog_end' must be greater than or equal to 'fog_start'.", + "type": "number", + "minimum": 0 + }, + "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.", + "enum": ["fixed", "render"] + } + } + }, + "min_percent": { + "title": "Minimum Percent", + "description": "The minimum progress of fog transition.", + "type": "number", + "minimum": 0, + "maximum": 1 + }, + "mid_seconds": { + "title": "Midpoint Seconds", + "description": "The time takes to reach certain progress('mid_percent') of fog transition.", + "type": "number", + "minimum": 0 + }, + "mid_percent": { + "title": "Midpoint Percent", + "description": "The progress of fog transition after 'mid_seconds' seconds.", + "type": "number", + "minimum": 0, + "maximum": 1 + }, + "max_seconds": { + "title": "Maximum Seconds", + "description": "Total amount of time takes to complete fog transition.", + "type": "number", + "minimum": 0 + } + } } } }, diff --git a/source/resource/items/items.json b/source/resource/items/items.json index efec70ca..8a79e1cd 100644 --- a/source/resource/items/items.json +++ b/source/resource/items/items.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.resource.items", "examples": [ { - "format_version": "1.10.0", + "format_version": "1.19.0", "minecraft:item": { "description": { "identifier": "blockception:item", "category": "Equipment" }, "components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" } diff --git a/source/resource/models/entity/model_entity.json b/source/resource/models/entity/model_entity.json index 06843bd6..625e9d9b 100644 --- a/source/resource/models/entity/model_entity.json +++ b/source/resource/models/entity/model_entity.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.resource.model", "examples": [ { - "format_version": "1.16.0", + "format_version": "1.19.0", "minecraft:geometry": [ { "description": { diff --git a/source/resource/particles/particles.json b/source/resource/particles/particles.json index ea2131d8..f81fc6d6 100644 --- a/source/resource/particles/particles.json +++ b/source/resource/particles/particles.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.resource.particle", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "particle_effect": { "description": { "identifier": "example:particle", diff --git a/source/resource/render_controllers/render_controllers.json b/source/resource/render_controllers/render_controllers.json index cac3eb0d..5965dfac 100644 --- a/source/resource/render_controllers/render_controllers.json +++ b/source/resource/render_controllers/render_controllers.json @@ -3,7 +3,7 @@ "$id": "blockception.minecraft.render_controllers", "examples": [ { - "format_version": "1.17.0", + "format_version": "1.19.0", "render_controllers": { "controller.render.example": { "geometry": "Geometry.default", "materials": [{ "*": "Material.default" }], "textures": ["Texture.default"] } }