Package net.minecraft.client.item
Class ModelPredicateProviderRegistry
java.lang.Object
net.minecraft.client.item.ModelPredicateProviderRegistry
@Environment(CLIENT) public class ModelPredicateProviderRegistry extends Object
- Mappings:
Namespace Name official ere
intermediary net/minecraft/class_5272
named net/minecraft/client/item/ModelPredicateProviderRegistry
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ModelPredicateProviderRegistry.AngleInterpolator
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ModelPredicateProviderRegistry()
-
Method Summary
Modifier and Type Method Description static ModelPredicateProvider
get(Item item, Identifier id)
private static void
register(Item item, Identifier id, ModelPredicateProvider provider)
private static ModelPredicateProvider
register(Identifier id, ModelPredicateProvider provider)
-
Field Details
-
GLOBAL
- Mappings:
Namespace Name Mixin selector official a
Lere;a:Ljava/util/Map;
intermediary field_24443
Lnet/minecraft/class_5272;field_24443:Ljava/util/Map;
named GLOBAL
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;GLOBAL:Ljava/util/Map;
-
DAMAGED_ID
- Mappings:
Namespace Name Mixin selector official b
Lere;b:Lwb;
intermediary field_24444
Lnet/minecraft/class_5272;field_24444:Lnet/minecraft/class_2960;
named DAMAGED_ID
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGED_ID:Lnet/minecraft/util/Identifier;
-
DAMAGE_ID
- Mappings:
Namespace Name Mixin selector official c
Lere;c:Lwb;
intermediary field_24445
Lnet/minecraft/class_5272;field_24445:Lnet/minecraft/class_2960;
named DAMAGE_ID
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGE_ID:Lnet/minecraft/util/Identifier;
-
DAMAGED_PROVIDER
- Mappings:
Namespace Name Mixin selector official d
Lere;d:Lerf;
intermediary field_24446
Lnet/minecraft/class_5272;field_24446:Lnet/minecraft/class_1800;
named DAMAGED_PROVIDER
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGED_PROVIDER:Lnet/minecraft/client/item/ModelPredicateProvider;
-
DAMAGE_PROVIDER
- Mappings:
Namespace Name Mixin selector official e
Lere;e:Lerf;
intermediary field_24447
Lnet/minecraft/class_5272;field_24447:Lnet/minecraft/class_1800;
named DAMAGE_PROVIDER
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGE_PROVIDER:Lnet/minecraft/client/item/ModelPredicateProvider;
-
ITEM_SPECIFIC
- Mappings:
Namespace Name Mixin selector official f
Lere;f:Ljava/util/Map;
intermediary field_24448
Lnet/minecraft/class_5272;field_24448:Ljava/util/Map;
named ITEM_SPECIFIC
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;ITEM_SPECIFIC:Ljava/util/Map;
-
-
Constructor Details
-
ModelPredicateProviderRegistry
public ModelPredicateProviderRegistry()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lere;a(Lwb;Lerf;)Lerf;
intermediary method_27881
Lnet/minecraft/class_5272;method_27881(Lnet/minecraft/class_2960;Lnet/minecraft/class_1800;)Lnet/minecraft/class_1800;
named register
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;register(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/item/ModelPredicateProvider;)Lnet/minecraft/client/item/ModelPredicateProvider;
-
register
- Mappings:
Namespace Name Mixin selector official a
Lere;a(Lbnr;Lwb;Lerf;)V
intermediary method_27879
Lnet/minecraft/class_5272;method_27879(Lnet/minecraft/class_1792;Lnet/minecraft/class_2960;Lnet/minecraft/class_1800;)V
named register
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;register(Lnet/minecraft/item/Item;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/item/ModelPredicateProvider;)V
-
get
- Mappings:
Namespace Name Mixin selector official a
Lere;a(Lbnr;Lwb;)Lerf;
intermediary method_27878
Lnet/minecraft/class_5272;method_27878(Lnet/minecraft/class_1792;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1800;
named get
Lnet/minecraft/client/item/ModelPredicateProviderRegistry;get(Lnet/minecraft/item/Item;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/item/ModelPredicateProvider;
-