getFromName

open fun getFromName(name: String): Item

Gets an item from registry by string hash.

Return

item, converted from string hash. If air would be returned, it is switched top stone instead.

Parameters

name

string to convert into item