generate method

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

Implementation

@override
Widget generate(Context context) {
  if (context.version < 19.4) {
    throw "FillBiome requires at least version 19.4";
  }

  return CommandBuilder('fillbiome')
      .string(area.getCoordinates())
      .string(biome.toString())
      .string(replace?.toString(), prefix: 'replace ');
}