@Environment(value=CLIENT) public static class WeightedBakedModel.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private List<WeightedBakedModel.Entry> |
models |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WeightedBakedModel.Builder |
add(BakedModel model,
int weight) |
BakedModel |
getFirst() |
private final List<WeightedBakedModel.Entry> models
public WeightedBakedModel.Builder add(@Nullable BakedModel model, int weight)
@Nullable public BakedModel getFirst()