Skip to content

Commit

Permalink
- Custom components
Browse files Browse the repository at this point in the history
  • Loading branch information
Xterionix committed May 24, 2024
1 parent a08138d commit 804a08a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/behavior/blocks/format/components/custom_components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.custom_components",
"title": "Custom Components",
"description": "Used to register custom components.",
"additionalProperties": false,
"type": "array",
"items": {
"type": "string"
}
}
1 change: 1 addition & 0 deletions source/behavior/blocks/format/minecraft.block.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
"minecraft:transformation": { "$ref": "./components/transformation.json" },
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },

//Triggers
"minecraft:on_fall_on": { "$ref": "./triggers/on_fall_on.json" },
Expand Down
10 changes: 10 additions & 0 deletions source/behavior/items/format/components/custom_components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft.custom_components",
"title": "Custom Components",
"description": "Used to register custom components.",
"additionalProperties": false,
"type": "array",
"items": {
"type": "string"
}
}
1 change: 1 addition & 0 deletions source/behavior/items/format/minecraft.item.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"minecraft:block_placer": { "$ref": "./components/block_placer.json" },
"minecraft:can_destroy_in_creative": {"$ref": "./components/can_destroy_in_creative.json"},
"minecraft:cooldown": { "$ref": "./components/cooldown.json" },
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
"minecraft:damage": {"$ref": "./components/damage.json"},
"minecraft:digger": { "$ref": "./components/digger.json" },
"minecraft:display_name": { "$ref": "./components/display_name.json" },
Expand Down

0 comments on commit 804a08a

Please sign in to comment.