Skip to content

Commit

Permalink
Added set_property
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Apr 19, 2023
1 parent b7df6b7 commit 7c4b187
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Lib/Internal/BehaviorPack/Entity.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand All @@ -18,12 +18,14 @@ export interface EntityEvent {
sequence?: EntityEvent[];
/** */
randomize?: (EntityEvent & { weight: number })[];
/** */
set_property?: Record<string, string | number | boolean>;
}

/**
/**
* @deprecated Replace with @see {@link ComponentContainer}
*/
export type EntityComponentContainer = ComponentContainer
export type EntityComponentContainer = ComponentContainer;

/** */
export interface EntityDescription extends ScriptContainer {
Expand Down

0 comments on commit 7c4b187

Please sign in to comment.