public class RenderTileEntityGeneric<G extends RenderTileEntityGeneric<G,T>,T extends net.minecraft.tileentity.TileEntity> extends TileEntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
boolean |
blend |
java.util.HashMap<GenericSmdModel,net.minecraft.util.ResourceLocation> |
childModels |
protected int |
correctionAngles |
boolean |
disableCulling |
boolean |
disableLighting |
net.minecraft.client.renderer.model.Model |
model |
protected int |
rotateDegrees |
protected float |
scale |
protected net.minecraft.util.ResourceLocation |
texture |
protected float |
yOffset |
profileTileEntityRender
Constructor and Description |
---|
RenderTileEntityGeneric(java.lang.String modId,
net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher,
java.lang.String textureFileName,
net.minecraft.client.renderer.model.Model model,
int correctionAngles) |
RenderTileEntityGeneric(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher,
java.lang.String textureFileName,
net.minecraft.client.renderer.model.Model model) |
RenderTileEntityGeneric(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher,
java.lang.String textureFileName,
net.minecraft.client.renderer.model.Model model,
int correctionAngles) |
Modifier and Type | Method and Description |
---|---|
void |
render(T te,
net.minecraft.block.BlockState state,
double x,
double y,
double z,
float partialTicks,
com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int combinedLight,
int combinedOverlay) |
void |
setTexture(net.minecraft.util.ResourceLocation texture) |
bindModelBuffer, bindOBJBuffer, bindSMDBuffer, bindTexture, getRotation, hasProperty, render, renderModel, renderModel, renderOBJ, renderOBJ, renderSMD, renderSMD, renderTransparentSMD
protected net.minecraft.util.ResourceLocation texture
public net.minecraft.client.renderer.model.Model model
public java.util.HashMap<GenericSmdModel,net.minecraft.util.ResourceLocation> childModels
protected int correctionAngles
protected int rotateDegrees
protected float scale
protected float yOffset
public boolean blend
public boolean disableCulling
public boolean disableLighting
public RenderTileEntityGeneric(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher, java.lang.String textureFileName, net.minecraft.client.renderer.model.Model model)
public RenderTileEntityGeneric(java.lang.String modId, net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher, java.lang.String textureFileName, net.minecraft.client.renderer.model.Model model, int correctionAngles)
public RenderTileEntityGeneric(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher, java.lang.String textureFileName, net.minecraft.client.renderer.model.Model model, int correctionAngles)
public void setTexture(net.minecraft.util.ResourceLocation texture)
public void render(T te, net.minecraft.block.BlockState state, double x, double y, double z, float partialTicks, com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int combinedLight, int combinedOverlay)
render
in class TileEntityRenderer<T extends net.minecraft.tileentity.TileEntity>