public void From(DataContainer container, string path) { FunctionWriter.Write($"data modify {modifier.container.ToDataCommand()} {modifier.path} {mode} from {container.ToDataCommand()} {path}"); }
public Execute UnlessData(DataContainer container, string path) { return(this + $"unless data {container.ToDataCommand()} {path}"); }
public Execute Store(Storage @in, DataContainer container, string path, DataType type, double scale) { return(this + $"store {@in} {container.ToDataCommand()} {path} {type} {scale}"); }
public Execute IfData(DataContainer container, string path) { return(this + $"if data {container.ToDataCommand()} {path}"); }