Class SelectItemModel<T>

java.lang.Object
net.minecraft.client.render.item.model.SelectItemModel<T>
All Implemented Interfaces:
ItemModel

@Environment(CLIENT) public class SelectItemModel<T> extends Object implements ItemModel
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/SelectItemModel
intermediary net/minecraft/class_10451
official hbs
  • Field Details Link icon

    • property Link icon

      private final SelectProperty<T> property
      Mappings:
      Namespace Name Mixin selector
      named property Lnet/minecraft/client/render/item/model/SelectItemModel;property:Lnet/minecraft/client/render/item/property/select/SelectProperty;
      intermediary field_55362 Lnet/minecraft/class_10451;field_55362:Lnet/minecraft/class_10494;
      official a Lhbs;a:Lhdj;
    • cases Link icon

      private final Object2ObjectMap<T,ItemModel> cases
      Mappings:
      Namespace Name Mixin selector
      named cases Lnet/minecraft/client/render/item/model/SelectItemModel;cases:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
      intermediary field_55363 Lnet/minecraft/class_10451;field_55363:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
      official b Lhbs;b:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
  • Constructor Details Link icon

    • SelectItemModel Link icon

      public SelectItemModel(SelectProperty<T> property, Object2ObjectMap<T,ItemModel> cases)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/model/SelectItemModel;<init>(Lnet/minecraft/client/render/item/property/select/SelectProperty;Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;)V
      intermediary <init> Lnet/minecraft/class_10451;<init>(Lnet/minecraft/class_10494;Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;)V
      official <init> Lhbs;<init>(Lhdj;Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;)V
  • Method Details Link icon

    • update Link icon

      public void update(ItemRenderState state, ItemStack stack, ItemModelManager resolver, ModelTransformationMode transformationMode, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity user, int seed)
      Specified by:
      update in interface ItemModel
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/render/item/model/ItemModel;update(Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/item/ItemModelManager;Lnet/minecraft/item/ModelTransformationMode;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;I)V
      intermediary method_65584 Lnet/minecraft/class_10439;method_65584(Lnet/minecraft/class_10444;Lnet/minecraft/class_1799;Lnet/minecraft/class_10442;Lnet/minecraft/class_811;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)V
      official a Lhbm;a(Lhbp;Lcwq;Lhbn;Lcwo;Lgga;Lbvi;I)V