Interface UnbakedModel

All Known Implementing Classes:
JsonUnbakedModel, MultipartUnbakedModel, WeightedUnbakedModel

@Environment(CLIENT) public interface UnbakedModel
Mappings:
Namespace Name
official fay
intermediary net/minecraft/class_1100
named net/minecraft/client/render/model/UnbakedModel
  • Method Details

    • getModelDependencies

      Collection<Identifier> getModelDependencies()
      Mappings:
      Namespace Name Mixin selector
      official f Lfay;f()Ljava/util/Collection;
      intermediary method_4755 Lnet/minecraft/class_1100;method_4755()Ljava/util/Collection;
      named getModelDependencies Lnet/minecraft/client/render/model/UnbakedModel;getModelDependencies()Ljava/util/Collection;
    • getTextureDependencies

      Collection<SpriteIdentifier> getTextureDependencies(Function<Identifier,UnbakedModel> unbakedModelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> unresolvedTextureReferences)
      Mappings:
      Namespace Name Mixin selector
      official a Lfay;a(Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection;
      intermediary method_4754 Lnet/minecraft/class_1100;method_4754(Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection;
      named getTextureDependencies Lnet/minecraft/client/render/model/UnbakedModel;getTextureDependencies(Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection;
    • bake

      @Nullable @Nullable BakedModel bake(ModelLoader loader, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)
      Mappings:
      Namespace Name Mixin selector
      official a Lfay;a(Lfas;Ljava/util/function/Function;Lfav;Lyb;)Lfao;
      intermediary method_4753 Lnet/minecraft/class_1100;method_4753(Lnet/minecraft/class_1088;Ljava/util/function/Function;Lnet/minecraft/class_3665;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1087;
      named bake Lnet/minecraft/client/render/model/UnbakedModel;bake(Lnet/minecraft/client/render/model/ModelLoader;Ljava/util/function/Function;Lnet/minecraft/client/render/model/ModelBakeSettings;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/BakedModel;