get

static BlockApiLookup<A, Cget<A, C>(Identifier lookupId, Class<A> apiClass, Class<C> contextClass)

Retrieve the BlockApiLookup associated with an identifier, or create it if it didn't exist yet.

Return

The unique lookup with the passed lookupId.

Parameters

lookupId

The unique identifier of the lookup.

apiClass

The class of the API.

contextClass

The class of the additional context.

Throws

If another {@code apiClass} or another {@code contextClass} was already registered with the same identifier.

Sources

jvm source
Link copied to clipboard