Class ConditionItemModel

java.lang.Object
net.minecraft.client.render.item.model.ConditionItemModel
All Implemented Interfaces:
ItemModel

@Environment(CLIENT) public class ConditionItemModel extends Object implements ItemModel
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/ConditionItemModel
intermediary net/minecraft/class_10437
official hbk
  • Field Details Link icon

    • property Link icon

      private final BooleanProperty property
      Mappings:
      Namespace Name Mixin selector
      named property Lnet/minecraft/client/render/item/model/ConditionItemModel;property:Lnet/minecraft/client/render/item/property/bool/BooleanProperty;
      intermediary field_55330 Lnet/minecraft/class_10437;field_55330:Lnet/minecraft/class_10460;
      official a Lhbk;a:Lhby;
    • onTrue Link icon

      private final ItemModel onTrue
      Mappings:
      Namespace Name Mixin selector
      named onTrue Lnet/minecraft/client/render/item/model/ConditionItemModel;onTrue:Lnet/minecraft/client/render/item/model/ItemModel;
      intermediary field_55331 Lnet/minecraft/class_10437;field_55331:Lnet/minecraft/class_10439;
      official b Lhbk;b:Lhbm;
    • onFalse Link icon

      private final ItemModel onFalse
      Mappings:
      Namespace Name Mixin selector
      named onFalse Lnet/minecraft/client/render/item/model/ConditionItemModel;onFalse:Lnet/minecraft/client/render/item/model/ItemModel;
      intermediary field_55332 Lnet/minecraft/class_10437;field_55332:Lnet/minecraft/class_10439;
      official c Lhbk;c:Lhbm;
  • Constructor Details Link icon

    • ConditionItemModel Link icon

      public ConditionItemModel(BooleanProperty property, ItemModel onTrue, ItemModel onFalse)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/model/ConditionItemModel;<init>(Lnet/minecraft/client/render/item/property/bool/BooleanProperty;Lnet/minecraft/client/render/item/model/ItemModel;Lnet/minecraft/client/render/item/model/ItemModel;)V
      intermediary <init> Lnet/minecraft/class_10437;<init>(Lnet/minecraft/class_10460;Lnet/minecraft/class_10439;Lnet/minecraft/class_10439;)V
      official <init> Lhbk;<init>(Lhby;Lhbm;Lhbm;)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