public final class ModelBaker extends java.lang.Object implements IModelBaker
| Modifier and Type | Field and Description |
|---|---|
protected int |
colorIndex |
protected ModelBakerModel |
currentModel |
| Constructor and Description |
|---|
ModelBaker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBakedModel(net.minecraft.block.state.IBlockState state,
net.minecraft.client.renderer.block.model.IBakedModel model) |
void |
addBakedModelPost(net.minecraft.block.state.IBlockState state,
net.minecraft.client.renderer.block.model.IBakedModel model) |
void |
addBlockModel(net.minecraft.util.math.BlockPos pos,
net.minecraft.client.renderer.texture.TextureAtlasSprite[] textures,
int colorIndex) |
void |
addBlockModel(net.minecraft.util.math.BlockPos pos,
net.minecraft.client.renderer.texture.TextureAtlasSprite texture,
int colorIndex) |
void |
addFace(net.minecraft.util.EnumFacing facing,
net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) |
void |
addModel(net.minecraft.client.renderer.texture.TextureAtlasSprite[] textures,
int colorIndex) |
void |
addModel(net.minecraft.client.renderer.texture.TextureAtlasSprite texture,
int colorIndex) |
IModelBakerModel |
bakeModel(boolean flip) |
void |
setColorIndex(int colorIndex) |
void |
setModelState(net.minecraftforge.common.model.IModelState modelState) |
void |
setParticleSprite(net.minecraft.client.renderer.texture.TextureAtlasSprite particleSprite) |
protected final ModelBakerModel currentModel
protected int colorIndex
public void setColorIndex(int colorIndex)
setColorIndex in interface IModelBakerpublic void addModel(net.minecraft.client.renderer.texture.TextureAtlasSprite[] textures,
int colorIndex)
addModel in interface IModelBakerpublic void addModel(net.minecraft.client.renderer.texture.TextureAtlasSprite texture,
int colorIndex)
addModel in interface IModelBakerpublic void addBlockModel(@Nullable
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.renderer.texture.TextureAtlasSprite[] textures,
int colorIndex)
addBlockModel in interface IModelBakerpublic void addBlockModel(@Nullable
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.renderer.texture.TextureAtlasSprite texture,
int colorIndex)
addBlockModel in interface IModelBakerpublic void addBakedModel(@Nullable
net.minecraft.block.state.IBlockState state,
net.minecraft.client.renderer.block.model.IBakedModel model)
addBakedModel in interface IModelBakerpublic void addBakedModelPost(@Nullable
net.minecraft.block.state.IBlockState state,
net.minecraft.client.renderer.block.model.IBakedModel model)
addBakedModelPost in interface IModelBakerpublic void addFace(net.minecraft.util.EnumFacing facing,
net.minecraft.client.renderer.texture.TextureAtlasSprite sprite)
addFace in interface IModelBakerpublic IModelBakerModel bakeModel(boolean flip)
bakeModel in interface IModelBakerpublic void setModelState(@Nullable
net.minecraftforge.common.model.IModelState modelState)
setModelState in interface IModelBakerpublic void setParticleSprite(net.minecraft.client.renderer.texture.TextureAtlasSprite particleSprite)
setParticleSprite in interface IModelBaker