Package net.minecraft.client.item
Class ItemModelManager
java.lang.Object
net.minecraft.client.item.ItemModelManager
- Mappings:
Namespace Name named net/minecraft/client/item/ItemModelManagerintermediary net/minecraft/class_10442official hhg
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<Identifier, ItemModel> private final Function<Identifier, ItemAsset.Properties> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAndUpdate(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, @Nullable World world, @Nullable LivingEntity entity, int seed) booleanhasHandAnimationOnSwap(ItemStack stack) private static voidresolveProfileComponent(ItemStack stack) voidupdate(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, @Nullable World world, @Nullable LivingEntity entity, int seed) voidupdateForLivingEntity(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, LivingEntity entity) voidupdateForNonLivingEntity(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, Entity entity)
-
Field Details
-
modelGetter
- Mappings:
Namespace Name Mixin selector named modelGetterLnet/minecraft/client/item/ItemModelManager;modelGetter:Ljava/util/function/Function;intermediary field_55334Lnet/minecraft/class_10442;field_55334:Ljava/util/function/Function;official aLhhg;a:Ljava/util/function/Function;
-
propertiesGetter
- Mappings:
Namespace Name Mixin selector named propertiesGetterLnet/minecraft/client/item/ItemModelManager;propertiesGetter:Ljava/util/function/Function;intermediary field_55553Lnet/minecraft/class_10442;field_55553:Ljava/util/function/Function;official bLhhg;b:Ljava/util/function/Function;
-
-
Constructor Details
-
ItemModelManager
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/item/ItemModelManager;<init>(Lnet/minecraft/client/render/model/BakedModelManager;)Vintermediary <init>Lnet/minecraft/class_10442;<init>(Lnet/minecraft/class_1092;)Vofficial <init>Lhhg;<init>(Lhne;)V
-
-
Method Details
-
updateForLivingEntity
public void updateForLivingEntity(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, LivingEntity entity) - Mappings:
Namespace Name Mixin selector named updateForLivingEntityLnet/minecraft/client/item/ItemModelManager;updateForLivingEntity(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/entity/LivingEntity;)Vintermediary method_65597Lnet/minecraft/class_10442;method_65597(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1309;)Vofficial aLhhg;a(Lhhi;Ldak;Ldai;Lbyf;)V
-
updateForNonLivingEntity
public void updateForNonLivingEntity(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, Entity entity) - Mappings:
Namespace Name Mixin selector named updateForNonLivingEntityLnet/minecraft/client/item/ItemModelManager;updateForNonLivingEntity(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/entity/Entity;)Vintermediary method_65595Lnet/minecraft/class_10442;method_65595(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1297;)Vofficial aLhhg;a(Lhhi;Ldak;Ldai;Lbxe;)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 clearAndUpdateLnet/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)Vintermediary method_65598Lnet/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)Vofficial aLhhg;a(Lhhi;Ldak;Ldai;Ldkj;Lbyf;I)V
-
resolveProfileComponent
- Mappings:
Namespace Name Mixin selector named resolveProfileComponentLnet/minecraft/client/item/ItemModelManager;resolveProfileComponent(Lnet/minecraft/item/ItemStack;)Vintermediary method_65593Lnet/minecraft/class_10442;method_65593(Lnet/minecraft/class_1799;)Vofficial bLhhg;b(Ldak;)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 updateLnet/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)Vintermediary method_65596Lnet/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)Vofficial bLhhg;b(Lhhi;Ldak;Ldai;Ldkj;Lbyf;I)V
-
hasHandAnimationOnSwap
- Mappings:
Namespace Name Mixin selector named hasHandAnimationOnSwapLnet/minecraft/client/item/ItemModelManager;hasHandAnimationOnSwap(Lnet/minecraft/item/ItemStack;)Zintermediary method_65912Lnet/minecraft/class_10442;method_65912(Lnet/minecraft/class_1799;)Zofficial aLhhg;a(Ldak;)Z
-