Location constructor

Location({
  1. Tag? predicate,
  2. String? biome,
  3. Block? block,
  4. Map<String, dynamic>? blockState,
  5. dynamic dimension,
  6. String? feature,
  7. Block? fluid,
  8. dynamic light,
  9. dynamic x,
  10. dynamic y,
  11. dynamic z,
  12. Location? offset,
})

Implementation

Location({
  this.predicate,
  this.biome,
  this.block,
  this.blockState,
  this.dimension,
  this.feature,
  this.fluid,
  this.light,
  this.x,
  this.y,
  this.z,
  this.offset,
}) {
  _checkRangeOrDouble(light);
  _checkRangeOrDouble(x);
  _checkRangeOrDouble(y);
  _checkRangeOrDouble(z);
}