Class ModelPredicateProviderRegistry

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

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

    • GLOBAL

      private static final Map<Identifier,ModelPredicateProvider> GLOBAL
      Mappings:
      Namespace Name Mixin selector
      named GLOBAL Lnet/minecraft/client/item/ModelPredicateProviderRegistry;GLOBAL:Ljava/util/Map;
      intermediary field_24443 Lnet/minecraft/class_5272;field_24443:Ljava/util/Map;
      official a Lgoi;a:Ljava/util/Map;
    • DAMAGED_ID

      private static final Identifier DAMAGED_ID
      Mappings:
      Namespace Name Mixin selector
      named DAMAGED_ID Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGED_ID:Lnet/minecraft/util/Identifier;
      intermediary field_24444 Lnet/minecraft/class_5272;field_24444:Lnet/minecraft/class_2960;
      official b Lgoi;b:Lalf;
    • DAMAGE_ID

      private static final Identifier DAMAGE_ID
      Mappings:
      Namespace Name Mixin selector
      named DAMAGE_ID Lnet/minecraft/client/item/ModelPredicateProviderRegistry;DAMAGE_ID:Lnet/minecraft/util/Identifier;
      intermediary field_24445 Lnet/minecraft/class_5272;field_24445:Lnet/minecraft/class_2960;
      official c Lgoi;c:Lalf;
    • DAMAGED_PROVIDER

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

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

      private static final Map<Item,Map<Identifier,ModelPredicateProvider>> ITEM_SPECIFIC
      Mappings:
      Namespace Name Mixin selector
      named ITEM_SPECIFIC Lnet/minecraft/client/item/ModelPredicateProviderRegistry;ITEM_SPECIFIC:Ljava/util/Map;
      intermediary field_24448 Lnet/minecraft/class_5272;field_24448:Ljava/util/Map;
      official f Lgoi;f:Ljava/util/Map;
  • Constructor Details

    • ModelPredicateProviderRegistry

      public ModelPredicateProviderRegistry()
  • Method Details

    • register

      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/client/item/ModelPredicateProviderRegistry;register(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/item/ClampedModelPredicateProvider;)Lnet/minecraft/client/item/ClampedModelPredicateProvider;
      intermediary method_27881 Lnet/minecraft/class_5272;method_27881(Lnet/minecraft/class_2960;Lnet/minecraft/class_6395;)Lnet/minecraft/class_6395;
      official a Lgoi;a(Lalf;Lgog;)Lgog;
    • registerCustomModelData

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

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

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/item/ModelPredicateProviderRegistry;get(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/item/ModelPredicateProvider;
      intermediary method_27878 Lnet/minecraft/class_5272;method_27878(Lnet/minecraft/class_1799;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1800;
      official a Lgoi;a(Lcur;Lalf;)Lgoj;