lookupBlockId

public abstract Identifier lookupBlockId(Block block)(source)

Finds the ID of the given block in the registry.