storeResult method

Group storeResult(
  1. Widget w, {
  2. required String path,
  3. String datatype = 'double',
  4. double scale = 1,
  5. bool useSuccess = false,
})

stores the result or success of a command in a nbt path in your entity

Implementation

Group storeResult(
  Widget w, {
  required String path,
  String datatype = 'double',
  double scale = 1,
  bool useSuccess = false,
}) {
  assert(path.isNotEmpty);
  return Execute.internal_store_command(
    'entity $this $path $datatype $scale',
    w,
    useSuccess,
  );
}