public static class SimpleBakedModel.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
builderAmbientOcclusion |
private ItemCameraTransforms |
builderCameraTransforms |
private java.util.Map<EnumFacing,java.util.List<BakedQuad>> |
builderFaceQuads |
private java.util.List<BakedQuad> |
builderGeneralQuads |
private boolean |
builderGui3d |
private ItemOverrideList |
builderItemOverrideList |
private TextureAtlasSprite |
builderTexture |
Modifier | Constructor and Description |
---|---|
private |
Builder(boolean ambientOcclusion,
boolean gui3d,
ItemCameraTransforms transforms,
ItemOverrideList overrides) |
|
Builder(IBlockState state,
IBakedModel model,
TextureAtlasSprite texture,
BlockPos pos) |
|
Builder(ModelBlock model,
ItemOverrideList overrides) |
Modifier and Type | Method and Description |
---|---|
SimpleBakedModel.Builder |
addFaceQuad(EnumFacing facing,
BakedQuad quad) |
private void |
addFaceQuads(IBlockState p_188644_1_,
IBakedModel p_188644_2_,
TextureAtlasSprite p_188644_3_,
EnumFacing p_188644_4_,
long p_188644_5_) |
SimpleBakedModel.Builder |
addGeneralQuad(BakedQuad quad) |
private void |
addGeneralQuads(IBlockState p_188645_1_,
IBakedModel p_188645_2_,
TextureAtlasSprite p_188645_3_,
long p_188645_4_) |
IBakedModel |
makeBakedModel() |
SimpleBakedModel.Builder |
setTexture(TextureAtlasSprite texture) |
private final java.util.List<BakedQuad> builderGeneralQuads
private final java.util.Map<EnumFacing,java.util.List<BakedQuad>> builderFaceQuads
private final ItemOverrideList builderItemOverrideList
private final boolean builderAmbientOcclusion
private TextureAtlasSprite builderTexture
private final boolean builderGui3d
private final ItemCameraTransforms builderCameraTransforms
public Builder(ModelBlock model, ItemOverrideList overrides)
public Builder(IBlockState state, IBakedModel model, TextureAtlasSprite texture, BlockPos pos)
private Builder(boolean ambientOcclusion, boolean gui3d, ItemCameraTransforms transforms, ItemOverrideList overrides)
private void addFaceQuads(IBlockState p_188644_1_, IBakedModel p_188644_2_, TextureAtlasSprite p_188644_3_, EnumFacing p_188644_4_, long p_188644_5_)
private void addGeneralQuads(IBlockState p_188645_1_, IBakedModel p_188645_2_, TextureAtlasSprite p_188645_3_, long p_188645_4_)
public SimpleBakedModel.Builder addFaceQuad(EnumFacing facing, BakedQuad quad)
public SimpleBakedModel.Builder addGeneralQuad(BakedQuad quad)
public SimpleBakedModel.Builder setTexture(TextureAtlasSprite texture)
public IBakedModel makeBakedModel()