Class MultipartUnbakedModel

java.lang.Object
net.minecraft.client.render.model.MultipartUnbakedModel
All Implemented Interfaces:
UnbakedModel

@Environment(CLIENT) public class MultipartUnbakedModel extends Object implements UnbakedModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/MultipartUnbakedModel
intermediary net/minecraft/class_816
official gfu
  • Field Details

    • stateFactory

      private final StateManager<Block,BlockState> stateFactory
      Mappings:
      Namespace Name Mixin selector
      named stateFactory Lnet/minecraft/client/render/model/MultipartUnbakedModel;stateFactory:Lnet/minecraft/state/StateManager;
      intermediary field_4329 Lnet/minecraft/class_816;field_4329:Lnet/minecraft/class_2689;
      official a Lgfu;a:Ldsm;
    • components

      private final List<MultipartModelComponent> components
      Mappings:
      Namespace Name Mixin selector
      named components Lnet/minecraft/client/render/model/MultipartUnbakedModel;components:Ljava/util/List;
      intermediary field_4330 Lnet/minecraft/class_816;field_4330:Ljava/util/List;
      official b Lgfu;b:Ljava/util/List;
  • Constructor Details

    • MultipartUnbakedModel

      public MultipartUnbakedModel(StateManager<Block,BlockState> stateFactory, List<MultipartModelComponent> components)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/MultipartUnbakedModel;<init>(Lnet/minecraft/state/StateManager;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_816;<init>(Lnet/minecraft/class_2689;Ljava/util/List;)V
      official <init> Lgfu;<init>(Ldsm;Ljava/util/List;)V
  • Method Details

    • getComponents

      public List<MultipartModelComponent> getComponents()
      Mappings:
      Namespace Name Mixin selector
      named getComponents Lnet/minecraft/client/render/model/MultipartUnbakedModel;getComponents()Ljava/util/List;
      intermediary method_3519 Lnet/minecraft/class_816;method_3519()Ljava/util/List;
      official a Lgfu;a()Ljava/util/List;
    • getModels

      public Set<WeightedUnbakedModel> getModels()
      Mappings:
      Namespace Name Mixin selector
      named getModels Lnet/minecraft/client/render/model/MultipartUnbakedModel;getModels()Ljava/util/Set;
      intermediary method_3520 Lnet/minecraft/class_816;method_3520()Ljava/util/Set;
      official b Lgfu;b()Ljava/util/Set;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/client/render/model/MultipartUnbakedModel;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_816;equals(Ljava/lang/Object;)Z
      official equals Lgfu;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getModelDependencies

      public Collection<Identifier> getModelDependencies()
      Specified by:
      getModelDependencies in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named getModelDependencies Lnet/minecraft/client/render/model/UnbakedModel;getModelDependencies()Ljava/util/Collection;
      intermediary method_4755 Lnet/minecraft/class_1100;method_4755()Ljava/util/Collection;
      official f Lgsc;f()Ljava/util/Collection;
    • setParents

      public void setParents(Function<Identifier,UnbakedModel> modelLoader)
      Specified by:
      setParents in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named setParents Lnet/minecraft/client/render/model/UnbakedModel;setParents(Ljava/util/function/Function;)V
      intermediary method_45785 Lnet/minecraft/class_1100;method_45785(Ljava/util/function/Function;)V
      official a Lgsc;a(Ljava/util/function/Function;)V
    • bake

      @Nullable public @Nullable BakedModel bake(Baker baker, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)
      Specified by:
      bake in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/model/UnbakedModel;bake(Lnet/minecraft/client/render/model/Baker;Ljava/util/function/Function;Lnet/minecraft/client/render/model/ModelBakeSettings;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_4753 Lnet/minecraft/class_1100;method_4753(Lnet/minecraft/class_7775;Ljava/util/function/Function;Lnet/minecraft/class_3665;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1087;
      official a Lgsc;a(Lgrv;Ljava/util/function/Function;Lgrz;Lakk;)Lgrr;