Class ModelPredicateProviderRegistry

java.lang.Object
net.minecraft.client.item.ModelPredicateProviderRegistry

@Environment(CLIENT) public class ModelPredicateProviderRegistry extends Object
Mappings:
Namespace Name
official fuc
intermediary net/minecraft/class_5272
named net/minecraft/client/item/ModelPredicateProviderRegistry
  • Field Details

    • GLOBAL

      private static final Map<Identifier,ModelPredicateProvider> GLOBAL
      Mappings:
      Namespace Name Mixin selector
      official a Lfuc;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;
    • CUSTOM_MODEL_DATA_KEY

      private static final String CUSTOM_MODEL_DATA_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfuc;b:Ljava/lang/String;
      intermediary field_32947 Lnet/minecraft/class_5272;field_32947:Ljava/lang/String;
      named CUSTOM_MODEL_DATA_KEY Lnet/minecraft/client/item/ModelPredicateProviderRegistry;CUSTOM_MODEL_DATA_KEY:Ljava/lang/String;
    • DAMAGED_ID

      private static final Identifier DAMAGED_ID
      Mappings:
      Namespace Name Mixin selector
      official c Lfuc;c:Lacq;
      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

      private static final Identifier DAMAGE_ID
      Mappings:
      Namespace Name Mixin selector
      official d Lfuc;d:Lacq;
      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

      private static final ClampedModelPredicateProvider DAMAGED_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official e Lfuc;e:Lfua;
      intermediary field_24446 Lnet/minecraft/class_5272;field_24446:Lnet/minecraft/class_6395;
      named DAMAGED_PROVIDER Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGED_PROVIDER:Lnet/minecraft/client/item/ClampedModelPredicateProvider;
    • DAMAGE_PROVIDER

      private static final ClampedModelPredicateProvider DAMAGE_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official f Lfuc;f:Lfua;
      intermediary field_24447 Lnet/minecraft/class_5272;field_24447:Lnet/minecraft/class_6395;
      named DAMAGE_PROVIDER Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGE_PROVIDER:Lnet/minecraft/client/item/ClampedModelPredicateProvider;
    • ITEM_SPECIFIC

      private static final Map<Item,Map<Identifier,ModelPredicateProvider>> ITEM_SPECIFIC
      Mappings:
      Namespace Name Mixin selector
      official g Lfuc;g: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 Lfuc;a(Lacq;Lfua;)Lfua;
      intermediary method_27881 Lnet/minecraft/class_5272;method_27881(Lnet/minecraft/class_2960;Lnet/minecraft/class_6395;)Lnet/minecraft/class_6395;
      named register Lnet/minecraft/client/item/ModelPredicateProviderRegistry;register(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/item/ClampedModelPredicateProvider;)Lnet/minecraft/client/item/ClampedModelPredicateProvider;
    • registerCustomModelData

      private static void registerCustomModelData(ModelPredicateProvider provider)
      Mappings:
      Namespace Name Mixin selector
      official a Lfuc;a(Lfud;)V
      intermediary method_37106 Lnet/minecraft/class_5272;method_37106(Lnet/minecraft/class_1800;)V
      named registerCustomModelData Lnet/minecraft/client/item/ModelPredicateProviderRegistry;registerCustomModelData(Lnet/minecraft/client/item/ModelPredicateProvider;)V
    • register

      private static void register(Item item, Identifier id, ClampedModelPredicateProvider provider)
      Mappings:
      Namespace Name Mixin selector
      official a Lfuc;a(Lcfu;Lacq;Lfua;)V
      intermediary method_27879 Lnet/minecraft/class_5272;method_27879(Lnet/minecraft/class_1792;Lnet/minecraft/class_2960;Lnet/minecraft/class_6395;)V
      named register Lnet/minecraft/client/item/ModelPredicateProviderRegistry;register(Lnet/minecraft/item/Item;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/item/ClampedModelPredicateProvider;)V
    • get

      @Nullable public static @Nullable ModelPredicateProvider get(Item item, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lfuc;a(Lcfu;Lacq;)Lfud;
      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;