getNbt method

  1. @override
Map<String, dynamic> getNbt([
  1. bool useId = true
])
override

Implementation

@override
Map<String, dynamic> getNbt([bool useId = true]) {
  final nbt = super.getNbt(useId);
  if (data != null) {
    nbt['data'] = data;
  }
  return nbt;
}