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
named net/minecraft/client/render/model/WeightedBakedModel$Builder
intermediary net/minecraft/class_1097$class_1098
official grn$a
  • Field Details

    • models

      private final List<Weighted.Present<BakedModel>> models
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;models:Ljava/util/List;
      intermediary field_5436 Lnet/minecraft/class_1097$class_1098;field_5436:Ljava/util/List;
      official a Lgrn$a;a: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
      named add Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;add(Lnet/minecraft/client/render/model/BakedModel;I)Lnet/minecraft/client/render/model/WeightedBakedModel$Builder;
      intermediary method_4752 Lnet/minecraft/class_1097$class_1098;method_4752(Lnet/minecraft/class_1087;I)Lnet/minecraft/class_1097$class_1098;
      official a Lgrn$a;a(Lgrb;I)Lgrn$a;
    • build

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