Class ReferencedModelsCollector.Holder

java.lang.Object
net.minecraft.client.render.model.ReferencedModelsCollector.Holder
All Implemented Interfaces:
BakedSimpleModel, SimpleModel
Enclosing class:
ReferencedModelsCollector

@Environment(CLIENT) private static class ReferencedModelsCollector.Holder extends Object implements BakedSimpleModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/ReferencedModelsCollector$Holder
intermediary net/minecraft/class_10097$class_10814
official hnc$a
  • Field Details Link icon

    • AMBIENT_OCCLUSION_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<Boolean> AMBIENT_OCCLUSION_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named AMBIENT_OCCLUSION_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;AMBIENT_OCCLUSION_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_56994 Lnet/minecraft/class_10097$class_10814;field_56994:Lnet/minecraft/class_10097$class_10815;
      official c Lhnc$a;c:Lhnc$b;
    • GUI_LIGHT_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<UnbakedModel.GuiLight> GUI_LIGHT_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named GUI_LIGHT_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;GUI_LIGHT_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_56995 Lnet/minecraft/class_10097$class_10814;field_56995:Lnet/minecraft/class_10097$class_10815;
      official d Lhnc$a;d:Lhnc$b;
    • GEOMETRY_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<Geometry> GEOMETRY_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named GEOMETRY_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;GEOMETRY_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_56996 Lnet/minecraft/class_10097$class_10814;field_56996:Lnet/minecraft/class_10097$class_10815;
      official e Lhnc$a;e:Lhnc$b;
    • TRANSFORMATIONS_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<ModelTransformation> TRANSFORMATIONS_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named TRANSFORMATIONS_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;TRANSFORMATIONS_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_56997 Lnet/minecraft/class_10097$class_10814;field_56997:Lnet/minecraft/class_10097$class_10815;
      official f Lhnc$a;f:Lhnc$b;
    • TEXTURE_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<ModelTextures> TEXTURE_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;TEXTURE_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_56998 Lnet/minecraft/class_10097$class_10814;field_56998:Lnet/minecraft/class_10097$class_10815;
      official g Lhnc$a;g:Lhnc$b;
    • PARTICLE_TEXTURE_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<Sprite> PARTICLE_TEXTURE_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named PARTICLE_TEXTURE_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;PARTICLE_TEXTURE_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_56999 Lnet/minecraft/class_10097$class_10814;field_56999:Lnet/minecraft/class_10097$class_10815;
      official h Lhnc$a;h:Lhnc$b;
    • BAKED_GEOMETRY_PROPERTY Link icon

      private static final ReferencedModelsCollector.Property<BakedGeometry> BAKED_GEOMETRY_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      named BAKED_GEOMETRY_PROPERTY Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;BAKED_GEOMETRY_PROPERTY:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary field_57000 Lnet/minecraft/class_10097$class_10814;field_57000:Lnet/minecraft/class_10097$class_10815;
      official i Lhnc$a;i:Lhnc$b;
    • PROPERTY_COUNT Link icon

      private static final int PROPERTY_COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROPERTY_COUNT Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;PROPERTY_COUNT:I
      intermediary field_57001 Lnet/minecraft/class_10097$class_10814;field_57001:I
      official j Lhnc$a;j:I
    • id Link icon

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;id:Lnet/minecraft/util/Identifier;
      intermediary field_57002 Lnet/minecraft/class_10097$class_10814;field_57002:Lnet/minecraft/class_2960;
      official k Lhnc$a;k:Lalr;
    • valid Link icon

      boolean valid
      Mappings:
      Namespace Name Mixin selector
      named valid Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;valid:Z
      intermediary field_57003 Lnet/minecraft/class_10097$class_10814;field_57003:Z
      official l Lhnc$a;l:Z
    • parent Link icon

      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;parent:Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;
      intermediary field_57004 Lnet/minecraft/class_10097$class_10814;field_57004:Lnet/minecraft/class_10097$class_10814;
      official m Lhnc$a;m:Lhnc$a;
    • model Link icon

      final UnbakedModel model
      Mappings:
      Namespace Name Mixin selector
      named model Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;model:Lnet/minecraft/client/render/model/UnbakedModel;
      intermediary field_57005 Lnet/minecraft/class_10097$class_10814;field_57005:Lnet/minecraft/class_1100;
      official n Lhnc$a;n:Lhnl;
    • properties Link icon

      private final AtomicReferenceArray<Object> properties
      Mappings:
      Namespace Name Mixin selector
      named properties Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;properties:Ljava/util/concurrent/atomic/AtomicReferenceArray;
      intermediary field_57006 Lnet/minecraft/class_10097$class_10814;field_57006:Ljava/util/concurrent/atomic/AtomicReferenceArray;
      official o Lhnc$a;o:Ljava/util/concurrent/atomic/AtomicReferenceArray;
    • bakeCache Link icon

      private final Map<ModelBakeSettings,BakedGeometry> bakeCache
      Mappings:
      Namespace Name Mixin selector
      named bakeCache Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;bakeCache:Ljava/util/Map;
      intermediary field_57007 Lnet/minecraft/class_10097$class_10814;field_57007:Ljava/util/Map;
      official p Lhnc$a;p:Ljava/util/Map;
  • Constructor Details Link icon

    • Holder Link icon

      Holder(Identifier id, UnbakedModel model, boolean valid)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/render/model/UnbakedModel;Z)V
      intermediary <init> Lnet/minecraft/class_10097$class_10814;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1100;Z)V
      official <init> Lhnc$a;<init>(Lalr;Lhnl;Z)V
  • Method Details Link icon

    • createProperty Link icon

      private static <T> ReferencedModelsCollector.Property<T> createProperty(int int2)
      Mappings:
      Namespace Name Mixin selector
      named createProperty Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;createProperty(I)Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;
      intermediary method_68032 Lnet/minecraft/class_10097$class_10814;method_68032(I)Lnet/minecraft/class_10097$class_10815;
      official a Lhnc$a;a(I)Lhnc$b;
    • getModel Link icon

      public UnbakedModel getModel()
      Specified by:
      getModel in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/client/render/model/BakedSimpleModel;getModel()Lnet/minecraft/client/render/model/UnbakedModel;
      intermediary method_68031 Lnet/minecraft/class_10819;method_68031()Lnet/minecraft/class_1100;
      official a Lhni;a()Lhnl;
    • getParent Link icon

      @Nullable public @Nullable BakedSimpleModel getParent()
      Specified by:
      getParent in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getParent Lnet/minecraft/client/render/model/BakedSimpleModel;getParent()Lnet/minecraft/client/render/model/BakedSimpleModel;
      intermediary method_68038 Lnet/minecraft/class_10819;method_68038()Lnet/minecraft/class_10819;
      official b Lhni;b()Lhni;
    • name Link icon

      public String name()
      Specified by:
      name in interface SimpleModel
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/render/model/SimpleModel;name()Ljava/lang/String;
      intermediary debugName Lnet/minecraft/class_10813;debugName()Ljava/lang/String;
      official debugName Lhnb;debugName()Ljava/lang/String;
    • getProperty Link icon

      @Nullable private <T> T getProperty(ReferencedModelsCollector.Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      named getProperty Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;getProperty(Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;)Ljava/lang/Object;
      intermediary method_68035 Lnet/minecraft/class_10097$class_10814;method_68035(Lnet/minecraft/class_10097$class_10815;)Ljava/lang/Object;
      official a Lhnc$a;a(Lhnc$b;)Ljava/lang/Object;
    • setProperty Link icon

      private <T> T setProperty(ReferencedModelsCollector.Property<T> property, T value)
      Mappings:
      Namespace Name Mixin selector
      named setProperty Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;setProperty(Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_68036 Lnet/minecraft/class_10097$class_10814;method_68036(Lnet/minecraft/class_10097$class_10815;Ljava/lang/Object;)Ljava/lang/Object;
      official a Lhnc$a;a(Lhnc$b;Ljava/lang/Object;)Ljava/lang/Object;
    • getProperty Link icon

      private <T> T getProperty(ReferencedModelsCollector.Property<T> property, Function<BakedSimpleModel,T> fallback)
      Mappings:
      Namespace Name Mixin selector
      named getProperty Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;getProperty(Lnet/minecraft/client/render/model/ReferencedModelsCollector$Property;Ljava/util/function/Function;)Ljava/lang/Object;
      intermediary method_68037 Lnet/minecraft/class_10097$class_10814;method_68037(Lnet/minecraft/class_10097$class_10815;Ljava/util/function/Function;)Ljava/lang/Object;
      official a Lhnc$a;a(Lhnc$b;Ljava/util/function/Function;)Ljava/lang/Object;
    • getAmbientOcclusion Link icon

      public boolean getAmbientOcclusion()
      Specified by:
      getAmbientOcclusion in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getAmbientOcclusion Lnet/minecraft/client/render/model/BakedSimpleModel;getAmbientOcclusion()Z
      intermediary method_68040 Lnet/minecraft/class_10819;method_68040()Z
      official c Lhni;c()Z
    • getGuiLight Link icon

      public UnbakedModel.GuiLight getGuiLight()
      Specified by:
      getGuiLight in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getGuiLight Lnet/minecraft/client/render/model/BakedSimpleModel;getGuiLight()Lnet/minecraft/client/render/model/UnbakedModel$GuiLight;
      intermediary method_68042 Lnet/minecraft/class_10819;method_68042()Lnet/minecraft/class_1100$class_4751;
      official d Lhni;d()Lhnl$a;
    • getTransformations Link icon

      public ModelTransformation getTransformations()
      Specified by:
      getTransformations in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getTransformations Lnet/minecraft/client/render/model/BakedSimpleModel;getTransformations()Lnet/minecraft/client/render/model/json/ModelTransformation;
      intermediary method_68043 Lnet/minecraft/class_10819;method_68043()Lnet/minecraft/class_809;
      official e Lhni;e()Lgte;
    • getGeometry Link icon

      public Geometry getGeometry()
      Specified by:
      getGeometry in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getGeometry Lnet/minecraft/client/render/model/BakedSimpleModel;getGeometry()Lnet/minecraft/client/render/model/Geometry;
      intermediary method_68044 Lnet/minecraft/class_10819;method_68044()Lnet/minecraft/class_10820;
      official f Lhni;f()Lhnk;
    • getTextures Link icon

      public ModelTextures getTextures()
      Specified by:
      getTextures in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getTextures Lnet/minecraft/client/render/model/BakedSimpleModel;getTextures()Lnet/minecraft/client/render/model/ModelTextures;
      intermediary method_68045 Lnet/minecraft/class_10819;method_68045()Lnet/minecraft/class_10419;
      official g Lhni;g()Lgti;
    • getParticleTexture Link icon

      public Sprite getParticleTexture(ModelTextures textures, Baker baker)
      Specified by:
      getParticleTexture in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named getParticleTexture Lnet/minecraft/client/render/model/BakedSimpleModel;getParticleTexture(Lnet/minecraft/client/render/model/ModelTextures;Lnet/minecraft/client/render/model/Baker;)Lnet/minecraft/client/texture/Sprite;
      intermediary method_68033 Lnet/minecraft/class_10819;method_68033(Lnet/minecraft/class_10419;Lnet/minecraft/class_7775;)Lnet/minecraft/class_1058;
      official a Lhni;a(Lgti;Lhmz;)Lhkq;
    • getBakedGeometry Link icon

      private BakedGeometry getBakedGeometry(ModelTextures textures, Baker baker, ModelBakeSettings settings)
      Mappings:
      Namespace Name Mixin selector
      named getBakedGeometry Lnet/minecraft/client/render/model/ReferencedModelsCollector$Holder;getBakedGeometry(Lnet/minecraft/client/render/model/ModelTextures;Lnet/minecraft/client/render/model/Baker;Lnet/minecraft/client/render/model/ModelBakeSettings;)Lnet/minecraft/client/render/model/BakedGeometry;
      intermediary method_68039 Lnet/minecraft/class_10097$class_10814;method_68039(Lnet/minecraft/class_10419;Lnet/minecraft/class_7775;Lnet/minecraft/class_3665;)Lnet/minecraft/class_10817;
      official b Lhnc$a;b(Lgti;Lhmz;Lhnf;)Lhng;
    • bakeGeometry Link icon

      public BakedGeometry bakeGeometry(ModelTextures textures, Baker baker, ModelBakeSettings settings)
      Specified by:
      bakeGeometry in interface BakedSimpleModel
      Mappings:
      Namespace Name Mixin selector
      named bakeGeometry Lnet/minecraft/client/render/model/BakedSimpleModel;bakeGeometry(Lnet/minecraft/client/render/model/ModelTextures;Lnet/minecraft/client/render/model/Baker;Lnet/minecraft/client/render/model/ModelBakeSettings;)Lnet/minecraft/client/render/model/BakedGeometry;
      intermediary method_68034 Lnet/minecraft/class_10819;method_68034(Lnet/minecraft/class_10419;Lnet/minecraft/class_7775;Lnet/minecraft/class_3665;)Lnet/minecraft/class_10817;
      official a Lhni;a(Lgti;Lhmz;Lhnf;)Lhng;