@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
19 lines (18 loc) • 608 B
TypeScript
import Test from "../gameTest/Test";
import IWorld from "../minecraft/IWorld";
import Action from "./Action";
import ActionError from "./ActionError";
export default class ActionSetScope {
parent: ActionSetScope | undefined;
test: Test | undefined;
world: IWorld | undefined;
errors: ActionError[];
state: {
[name: string]: object;
};
getState(name: string): object | undefined;
setState(name: string, val: object): void;
addError(action: Action, message: string): void;
addErrorDirect(error: ActionError): void;
createBlockLocation(name: string): void;
}