Class ItemModelManager

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

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

    • modelGetter

      private final Function<Identifier,ItemModel> modelGetter
      Mappings:
      Namespace Name Mixin selector
      named modelGetter Lnet/minecraft/client/item/ItemModelManager;modelGetter:Ljava/util/function/Function;
      intermediary field_55334 Lnet/minecraft/class_10442;field_55334:Ljava/util/function/Function;
      official a Lhoe;a:Ljava/util/function/Function;
    • propertiesGetter

      private final Function<Identifier,ItemAsset.Properties> propertiesGetter
      Mappings:
      Namespace Name Mixin selector
      named propertiesGetter Lnet/minecraft/client/item/ItemModelManager;propertiesGetter:Ljava/util/function/Function;
      intermediary field_55553 Lnet/minecraft/class_10442;field_55553:Ljava/util/function/Function;
      official b Lhoe;b:Ljava/util/function/Function;
  • Constructor Details

    • ItemModelManager

      public ItemModelManager(BakedModelManager bakedModelManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/item/ItemModelManager;<init>(Lnet/minecraft/client/render/model/BakedModelManager;)V
      intermediary <init> Lnet/minecraft/class_10442;<init>(Lnet/minecraft/class_1092;)V
      official <init> Lhoe;<init>(Lhug;)V
  • Method Details

    • updateForLivingEntity

      public void updateForLivingEntity(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named updateForLivingEntity Lnet/minecraft/client/item/ItemModelManager;updateForLivingEntity(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_65597 Lnet/minecraft/class_10442;method_65597(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1309;)V
      official a Lhoe;a(Lhog;Ldcv;Ldct;Lcam;)V
    • updateForNonLivingEntity

      public void updateForNonLivingEntity(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named updateForNonLivingEntity Lnet/minecraft/client/item/ItemModelManager;updateForNonLivingEntity(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/entity/Entity;)V
      intermediary method_65595 Lnet/minecraft/class_10442;method_65595(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1297;)V
      official a Lhoe;a(Lhog;Ldcv;Ldct;Lbzm;)V
    • clearAndUpdate

      public void clearAndUpdate(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, @Nullable @Nullable World world, @Nullable @Nullable LivingEntity entity, int seed)
      Mappings:
      Namespace Name Mixin selector
      named clearAndUpdate Lnet/minecraft/client/item/ItemModelManager;clearAndUpdate(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
      intermediary method_65598 Lnet/minecraft/class_10442;method_65598(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;I)V
      official a Lhoe;a(Lhog;Ldcv;Ldct;Ldmu;Lcam;I)V
    • update

      public void update(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, @Nullable @Nullable World world, @Nullable @Nullable LivingEntity entity, int seed)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/item/ItemModelManager;update(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
      intermediary method_65596 Lnet/minecraft/class_10442;method_65596(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;I)V
      official b Lhoe;b(Lhog;Ldcv;Ldct;Ldmu;Lcam;I)V
    • hasHandAnimationOnSwap

      public boolean hasHandAnimationOnSwap(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named hasHandAnimationOnSwap Lnet/minecraft/client/item/ItemModelManager;hasHandAnimationOnSwap(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_65912 Lnet/minecraft/class_10442;method_65912(Lnet/minecraft/class_1799;)Z
      official a Lhoe;a(Ldcv;)Z