Is there a way to get a BlockType from the string id?
Possibly something in the GameRegistry
?
EDIT: GameRegistry.getType(BlockType.class, "id")
might work.
1 Like
Oh that makes sense .
You can also use the GenericArguments.catalogedElement(key, game, BlockType.class)
command argument, if the string is entered by a user.