Class FabricModelPredicateProviderRegistry
java.lang.Object
net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
Deprecated.
Allows registering model predicate providers for item models.
A registered model predicate providers for an item can be retrieved through
ModelPredicateProviderRegistry.get(Item, Identifier)
.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(Item item, Identifier id, UnclampedModelPredicateProvider provider) Deprecated.Registers a model predicate provider to a specific item.static void
register
(Identifier id, UnclampedModelPredicateProvider provider) Deprecated.Registers a model predicate provider that is applicable for any item.
-
Constructor Details
-
FabricModelPredicateProviderRegistry
public FabricModelPredicateProviderRegistry()Deprecated.
-
-
Method Details
-
register
Deprecated.Registers a model predicate provider that is applicable for any item.- Parameters:
id
- the identifier of the providerprovider
- the provider
-
register
Deprecated.Registers a model predicate provider to a specific item.- Parameters:
item
- the item the provider is associated toid
- the identifier of the providerprovider
- the provider
-
ModelPredicateProviderRegistry
registration methods in Fabric Transitive Access Wideners (v1).