Class WeightedBakedModel.Builder

java.lang.Object
net.minecraft.client.render.model.WeightedBakedModel.Builder
Enclosing class:
WeightedBakedModel

@Environment(CLIENT) public static class WeightedBakedModel.Builder extends Object
Mappings:
Namespace Name
official fbo$a
intermediary net/minecraft/class_1097$class_1098
named net/minecraft/client/render/model/WeightedBakedModel$Builder
  • Field Details

    • models

      private final List<Weighted.Present<BakedModel>> models
      Mappings:
      Namespace Name Mixin selector
      official a Lfbo$a;a:Ljava/util/List;
      intermediary field_5436 Lnet/minecraft/class_1097$class_1098;field_5436:Ljava/util/List;
      named models Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;models:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • add

      public WeightedBakedModel.Builder add(@Nullable @Nullable BakedModel model, int weight)
      Mappings:
      Namespace Name Mixin selector
      official a Lfbo$a;a(Lfbd;I)Lfbo$a;
      intermediary method_4752 Lnet/minecraft/class_1097$class_1098;method_4752(Lnet/minecraft/class_1087;I)Lnet/minecraft/class_1097$class_1098;
      named add Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;add(Lnet/minecraft/client/render/model/BakedModel;I)Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;
    • build

      @Nullable public @Nullable BakedModel build()
      Mappings:
      Namespace Name Mixin selector
      official a Lfbo$a;a()Lfbd;
      intermediary method_4751 Lnet/minecraft/class_1097$class_1098;method_4751()Lnet/minecraft/class_1087;
      named build Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;build()Lnet/minecraft/client/render/model/BakedModel;