Minecraft Pi - list all block ids

mc_block_ids  

Returns a list of all the valid block ids as numbers. Note not all numbers are valid block ids. For example, 19 is not a valid block id.

Introduced in v2.5

Example

# Example 1

puts mc_block_ids



#=> [0, 1, 2, 3, 4, 5...