generate method

  1. @override
Widget generate(
  1. Context context
)
override

Implementation

@override
Widget generate(Context context) {
  return Command(
    'setblock $location $block${nbt == null ? '' : gson.encode(nbt)}',
  );
}