- Custom components (#287)

This commit is contained in:
Xterionix
2024-05-24 15:50:22 +05:00
committed by GitHub
parent a08138d514
commit bef0c52a63
4 changed files with 22 additions and 0 deletions

View File

@@ -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"
}
}

View File

@@ -31,6 +31,7 @@
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" }, "minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
"minecraft:selection_box": { "$ref": "./components/selection_box.json" }, "minecraft:selection_box": { "$ref": "./components/selection_box.json" },
"minecraft:transformation": { "$ref": "./components/transformation.json" }, "minecraft:transformation": { "$ref": "./components/transformation.json" },
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
//Triggers //Triggers
"minecraft:on_fall_on": { "$ref": "./triggers/on_fall_on.json" }, "minecraft:on_fall_on": { "$ref": "./triggers/on_fall_on.json" },

View File

@@ -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"
}
}

View File

@@ -57,6 +57,7 @@
"minecraft:block_placer": { "$ref": "./components/block_placer.json" }, "minecraft:block_placer": { "$ref": "./components/block_placer.json" },
"minecraft:can_destroy_in_creative": {"$ref": "./components/can_destroy_in_creative.json"}, "minecraft:can_destroy_in_creative": {"$ref": "./components/can_destroy_in_creative.json"},
"minecraft:cooldown": { "$ref": "./components/cooldown.json" }, "minecraft:cooldown": { "$ref": "./components/cooldown.json" },
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
"minecraft:damage": {"$ref": "./components/damage.json"}, "minecraft:damage": {"$ref": "./components/damage.json"},
"minecraft:digger": { "$ref": "./components/digger.json" }, "minecraft:digger": { "$ref": "./components/digger.json" },
"minecraft:display_name": { "$ref": "./components/display_name.json" }, "minecraft:display_name": { "$ref": "./components/display_name.json" },