Is there a way to get a BlockType from the string id?
This is an issue … . I would say report it to as a bug. I am also surprised actually .
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.