public abstract class TubeModuleRendererBase<T extends TubeModule>
extends java.lang.Object
| Constructor and Description |
|---|
TubeModuleRendererBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract net.minecraft.util.ResourceLocation |
getTexture() |
boolean |
isUpgraded() |
protected abstract void |
renderDynamic(T module,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
com.mojang.blaze3d.vertex.IVertexBuilder builder,
float partialTicks,
int combinedLight,
int combinedOverlay,
float r,
float g,
float b,
float a) |
void |
renderExtras(T module,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float partialTicks,
int combinedLight,
int combinedOverlay) |
void |
renderModule(T module,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float partialTicks,
int combinedLight,
int combinedOverlay) |
protected void |
setRotation(net.minecraft.client.renderer.model.ModelRenderer model,
float x,
float y,
float z) |
protected final void setRotation(net.minecraft.client.renderer.model.ModelRenderer model,
float x,
float y,
float z)
public final void renderModule(T module, com.mojang.blaze3d.matrix.MatrixStack matrixStack, net.minecraft.client.renderer.IRenderTypeBuffer buffer, float partialTicks, int combinedLight, int combinedOverlay)
protected abstract void renderDynamic(T module, com.mojang.blaze3d.matrix.MatrixStack matrixStack, com.mojang.blaze3d.vertex.IVertexBuilder builder, float partialTicks, int combinedLight, int combinedOverlay, float r, float g, float b, float a)
protected abstract net.minecraft.util.ResourceLocation getTexture()
public void renderExtras(T module, com.mojang.blaze3d.matrix.MatrixStack matrixStack, net.minecraft.client.renderer.IRenderTypeBuffer buffer, float partialTicks, int combinedLight, int combinedOverlay)
public boolean isUpgraded()