From 01516507844356054a150b46a8f99b73ba8234ae Mon Sep 17 00:00:00 2001 From: StealthyX Date: Sat, 9 Nov 2024 17:06:23 -0500 Subject: [PATCH] Addded "minecraft:dimension_bound":{} with documentation. (#323) * Updated components.json list for auto completes. * Add dimension_bound.json with documentation --- source/behavior/entities/format/components.json | 1 + .../entities/format/components/dimension_bound.json | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 source/behavior/entities/format/components/dimension_bound.json diff --git a/source/behavior/entities/format/components.json b/source/behavior/entities/format/components.json index 2ef213b6..271b0dec 100644 --- a/source/behavior/entities/format/components.json +++ b/source/behavior/entities/format/components.json @@ -48,6 +48,7 @@ "minecraft:dash": { "$ref": "./components/dash.json" }, "minecraft:default_look_angle": { "$ref": "./components/default_look_angle.json" }, "minecraft:despawn": { "$ref": "./components/despawn.json" }, + "minecraft:dimension_bound": { "$ref": "./components/dimension_bound.json" }, "minecraft:drying_out_timer": { "$ref": "./components/drying_out_timer.json" }, "minecraft:dweller": { "$ref": "./components/dweller.json" }, "minecraft:economy_trade_table": { "$ref": "./components/economy_trade_table.json" }, diff --git a/source/behavior/entities/format/components/dimension_bound.json b/source/behavior/entities/format/components/dimension_bound.json new file mode 100644 index 00000000..d363bc96 --- /dev/null +++ b/source/behavior/entities/format/components/dimension_bound.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.dimension_bound", + "type": "object", + "title": "Dimension Bound", + "additionalProperties": false, + "description": "Restricts entities from moving between dimensions when using Minecraft portals, keeping them bound to their current dimension.", + "required": [], + "properties": {} +}