@Environment(value=CLIENT) public class ModelPredicateProviderRegistry extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ModelPredicateProviderRegistry.AngleInterpolator |
Modifier and Type | Field and Description |
---|---|
private static Identifier |
DAMAGE_ID |
private static ModelPredicateProvider |
DAMAGE_PROVIDER |
private static Identifier |
DAMAGED_ID |
private static ModelPredicateProvider |
DAMAGED_PROVIDER |
private static Map<Identifier,ModelPredicateProvider> |
GLOBAL |
private static Map<Item,Map<Identifier,ModelPredicateProvider>> |
ITEM_SPECIFIC |
Constructor and Description |
---|
ModelPredicateProviderRegistry() |
Modifier and Type | Method and Description |
---|---|
static ModelPredicateProvider |
get(Item item,
Identifier id) |
private static ModelPredicateProvider |
register(Identifier id,
ModelPredicateProvider provider) |
private static void |
register(Item item,
Identifier id,
ModelPredicateProvider provider) |
private static final Map<Identifier,ModelPredicateProvider> GLOBAL
private static final Identifier DAMAGED_ID
private static final Identifier DAMAGE_ID
private static final ModelPredicateProvider DAMAGED_PROVIDER
private static final ModelPredicateProvider DAMAGE_PROVIDER
private static final Map<Item,Map<Identifier,ModelPredicateProvider>> ITEM_SPECIFIC
private static ModelPredicateProvider register(Identifier id, ModelPredicateProvider provider)
private static void register(Item item, Identifier id, ModelPredicateProvider provider)
@Nullable public static ModelPredicateProvider get(Item item, Identifier id)