SetBlock constructor

SetBlock(
  1. Block block, {
  2. Location location = const Location.here(),
  3. Map<String, dynamic>? nbt,
})

The SetBlock Command Class sets a Block at the specified location.

Implementation

SetBlock(
  this.block, {
  this.location = const Location.here(),
  this.nbt,
});