mc_block_id name (symbol_or_number)
Given a block name or id will return a number representing the id of the block or throw an exception if the name or id isn’t valid
Introduced in v2.5
| # Example 1 | |
|
|
|
| # Example 2 | |
|
|
|
| # Example 3 | |
|
|
|
| # Example 4 | |
|
|
|