From 7c4b1879362000eca3a440a9d4f70ea17e402d52 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 19 Apr 2023 21:05:07 +0200 Subject: [PATCH] Added set_property --- src/Lib/Internal/BehaviorPack/Entity.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Lib/Internal/BehaviorPack/Entity.ts b/src/Lib/Internal/BehaviorPack/Entity.ts index 9010e764..1b930258 100644 --- a/src/Lib/Internal/BehaviorPack/Entity.ts +++ b/src/Lib/Internal/BehaviorPack/Entity.ts @@ -1,4 +1,4 @@ -import { ComponentContainer, ComponentGroups } from 'bc-minecraft-bedrock-types/lib/src/Minecraft/Components'; +import { ComponentContainer, ComponentGroups } from "bc-minecraft-bedrock-types/lib/src/Minecraft/Components"; import { SMap } from "../../Types/SMap"; import { ScriptContainer } from "../Types/Script"; @@ -18,12 +18,14 @@ export interface EntityEvent { sequence?: EntityEvent[]; /** */ randomize?: (EntityEvent & { weight: number })[]; + /** */ + set_property?: Record; } -/** +/** * @deprecated Replace with @see {@link ComponentContainer} */ -export type EntityComponentContainer = ComponentContainer +export type EntityComponentContainer = ComponentContainer; /** */ export interface EntityDescription extends ScriptContainer {