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

public abstract class AbstractTubeModuleRenderer<T extends AbstractTubeModule> extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract net.minecraft.resources.ResourceLocation
    getTexture(boolean isUpgraded)
     
    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)
     
    void
    renderExtras(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks, int combinedLight, int combinedOverlay)
     
    final void
    renderModule(T module, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks, int combinedLight, int combinedOverlay)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)