Class BasicBakedModel.Builder
java.lang.Object
net.minecraft.client.render.model.BasicBakedModel.Builder
- Enclosing class:
- BasicBakedModel
@Environment(CLIENT) public static class BasicBakedModel.Builder extends Object
-
Field Summary
Fields Modifier and Type Field Description private Map<Direction,List<BakedQuad>>
faceQuads
private boolean
hasDepth
private boolean
isSideLit
private ModelOverrideList
itemPropertyOverrides
private Sprite
particleTexture
private List<BakedQuad>
quads
private ModelTransformation
transformation
private boolean
usesAo
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder(boolean usesAo, boolean isSideLit, boolean hasDepth, ModelTransformation modelTransformation, ModelOverrideList modelOverrideList)
Builder(JsonUnbakedModel unbakedModel, ModelOverrideList itemPropertyOverrides, boolean hasDepth)
-
Method Summary
Modifier and Type Method Description BasicBakedModel.Builder
addQuad(BakedQuad quad)
BasicBakedModel.Builder
addQuad(Direction side, BakedQuad quad)
BakedModel
build()
BasicBakedModel.Builder
setParticle(Sprite sprite)
-
Field Details
-
quads
-
faceQuads
-
itemPropertyOverrides
-
usesAo
private final boolean usesAo -
particleTexture
-
isSideLit
private final boolean isSideLit -
hasDepth
private final boolean hasDepth -
transformation
-
-
Constructor Details
-
Builder
public Builder(JsonUnbakedModel unbakedModel, ModelOverrideList itemPropertyOverrides, boolean hasDepth) -
Builder
private Builder(boolean usesAo, boolean isSideLit, boolean hasDepth, ModelTransformation modelTransformation, ModelOverrideList modelOverrideList)
-
-
Method Details
-
addQuad
-
addQuad
-
setParticle
-
build
-