Class AbstractTubeModuleRenderer<T extends AbstractTubeModule>
java.lang.Object
me.desht.pneumaticcraft.client.render.tube_module.AbstractTubeModuleRenderer<T>
- Direct Known Subclasses:
AirGrateRenderer,ChargingRenderer,FlowDetectorRenderer,LogisticsRenderer,PressureGaugeRenderer,RedstoneRenderer,RegulatorRenderer,SafetyValveRenderer,VacuumRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract net.minecraft.resources.ResourceLocationgetTexture(boolean isUpgraded) protected abstract voidrender(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, com.mojang.blaze3d.vertex.VertexConsumer builder, float partialTicks, int combinedLight, int combinedOverlay, float alpha) voidrenderExtras(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks, int combinedLight, int combinedOverlay) final voidrenderModule(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks, int combinedLight, int combinedOverlay)
-
Constructor Details
-
AbstractTubeModuleRenderer
public AbstractTubeModuleRenderer()
-
-
Method Details
-
renderModule
public final void renderModule(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks, int combinedLight, int combinedOverlay) -
render
protected abstract void render(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, com.mojang.blaze3d.vertex.VertexConsumer builder, float partialTicks, int combinedLight, int combinedOverlay, float alpha) -
getTexture
protected abstract net.minecraft.resources.ResourceLocation getTexture(boolean isUpgraded) -
renderExtras
public void renderExtras(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks, int combinedLight, int combinedOverlay)
-