lookupItemId

@NotNull
abstract fun lookupItemId(@NotNull item: @NotNull Item): @NotNull Identifier(source)

Finds the ID of the given item in the registry.

Parameters

item

The item instance to look up