public class RenderTileEntityModel
extends net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer
EvilCraftTileEntity with models.| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.client.model.ModelBase |
model |
| Constructor and Description |
|---|
RenderTileEntityModel(net.minecraft.client.model.ModelBase model,
net.minecraft.util.ResourceLocation texture)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.model.ModelBase |
getModel()
Get the model.
|
net.minecraft.util.ResourceLocation |
getTexture()
Get the texture.
|
protected void |
postRotate(EvilCraftTileEntity tile) |
protected void |
preRotate(EvilCraftTileEntity tile) |
protected void |
renderModel(EvilCraftTileEntity tile,
net.minecraft.client.model.ModelBase model,
float partialTick)
Render the actual model, override this to change the way the model should be rendered.
|
protected void |
renderTileEntityAt(EvilCraftTileEntity tile,
double x,
double y,
double z,
float partialTick) |
void |
renderTileEntityAt(net.minecraft.tileentity.TileEntity tile,
double x,
double y,
double z,
float partialTick) |
public RenderTileEntityModel(net.minecraft.client.model.ModelBase model,
net.minecraft.util.ResourceLocation texture)
model - The model to render.texture - The texture to render the model with.public net.minecraft.client.model.ModelBase getModel()
public net.minecraft.util.ResourceLocation getTexture()
protected void preRotate(EvilCraftTileEntity tile)
protected void postRotate(EvilCraftTileEntity tile)
protected void renderTileEntityAt(EvilCraftTileEntity tile, double x, double y, double z, float partialTick)
public void renderTileEntityAt(net.minecraft.tileentity.TileEntity tile,
double x,
double y,
double z,
float partialTick)
renderTileEntityAt in class net.minecraft.client.renderer.tileentity.TileEntitySpecialRendererprotected void renderModel(EvilCraftTileEntity tile, net.minecraft.client.model.ModelBase model, float partialTick)
tile - The tile entity.model - The base model.partialTick - The partial render tick.