Constructor
new Block(name, propertiesopt)
    Constructs a new Block.
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| name | string | Name of the block | |
| properties | Map.<string, any> | Object.<string, any> | <optional> | Properties of the block | 
Example
new Block('grass', new Map([['snowy', false]]))
new Block('grass', {'snowy': false})Classes
Members
name :string
    The name of this block.
    Type:
- string
properties :Map.<string, any>
    The properties of this block.
    Type:
- Map.<string, any>
Methods
toString() → {string}
    Returns the string representation of this block.
Returns:
    The string representation of this block.
- Type
- string
Example
grass<snowy=false>