register
static void register(Identifier id, UnclampedModelPredicateProvider provider)
Content copied to clipboard
Registers a model predicate provider that is applicable for any item.
Parameters
id
the identifier of the provider
provider
the provider
static void register(Item item, Identifier id, UnclampedModelPredicateProvider provider)
Content copied to clipboard
Registers a model predicate provider to a specific item.
Parameters
item
the item the provider is associated to
id
the identifier of the provider
provider
the provider