Class SimpleBakedModel.Builder
- java.lang.Object
-
- net.minecraft.client.renderer.model.SimpleBakedModel.Builder
-
- Enclosing class:
- SimpleBakedModel
public static class SimpleBakedModel.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<Direction,java.util.List<BakedQuad>>
culledFaces
private boolean
hasAmbientOcclusion
private boolean
isGui3d
private ItemOverrideList
overrides
private TextureAtlasSprite
particleIcon
private ItemCameraTransforms
transforms
private java.util.List<BakedQuad>
unculledFaces
private boolean
usesBlockLight
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder(boolean p_i230061_1_, boolean p_i230061_2_, boolean p_i230061_3_, ItemCameraTransforms p_i230061_4_, ItemOverrideList p_i230061_5_)
Builder(BlockModel p_i230060_1_, ItemOverrideList p_i230060_2_, boolean p_i230060_3_)
Builder(IModelConfiguration model, ItemOverrideList overrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleBakedModel.Builder
addCulledFace(Direction p_177650_1_, BakedQuad p_177650_2_)
SimpleBakedModel.Builder
addUnculledFace(BakedQuad p_177648_1_)
IBakedModel
build()
SimpleBakedModel.Builder
particle(TextureAtlasSprite p_177646_1_)
-
-
-
Field Detail
-
unculledFaces
private final java.util.List<BakedQuad> unculledFaces
-
overrides
private final ItemOverrideList overrides
-
hasAmbientOcclusion
private final boolean hasAmbientOcclusion
-
particleIcon
private TextureAtlasSprite particleIcon
-
usesBlockLight
private final boolean usesBlockLight
-
isGui3d
private final boolean isGui3d
-
transforms
private final ItemCameraTransforms transforms
-
-
Constructor Detail
-
Builder
public Builder(IModelConfiguration model, ItemOverrideList overrides)
-
Builder
public Builder(BlockModel p_i230060_1_, ItemOverrideList p_i230060_2_, boolean p_i230060_3_)
-
Builder
private Builder(boolean p_i230061_1_, boolean p_i230061_2_, boolean p_i230061_3_, ItemCameraTransforms p_i230061_4_, ItemOverrideList p_i230061_5_)
-
-
Method Detail
-
addCulledFace
public SimpleBakedModel.Builder addCulledFace(Direction p_177650_1_, BakedQuad p_177650_2_)
-
addUnculledFace
public SimpleBakedModel.Builder addUnculledFace(BakedQuad p_177648_1_)
-
particle
public SimpleBakedModel.Builder particle(TextureAtlasSprite p_177646_1_)
-
build
public IBakedModel build()
-
-