so how would you use a dataclass for this
```py @dataclass class Block: block_type: int = DEFAULT_ID angle: float = DEFAULT_ANGLE scale: float = DEFAULT_SCALE pos: # weird factory logic I cba to type out def some_function(block: Block): # .. ```