lookupVillagerTypeId

@NotNull
abstract fun lookupVillagerTypeId(@NotNull type: @NotNull VillagerType): @NotNull Identifier(source)

Finds the ID of the given villager type in the registry.

Parameters

type

The villager type to look up