Class TransitionSealRenderer

java.lang.Object
com.hbm_m.client.render.implementations.TransitionSealRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<TransitionSealBlockEntity>

public class TransitionSealRenderer extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<TransitionSealBlockEntity>
BER for the transition seal blast door multiblock. The 26 wide x 24 tall DAE scene (models/block/doors/transition_seal.dae) is baked once per node into the block_lit pipeline: node meshes are converted to block-atlas BakedQuads (triangle soup -> degenerate quads), which feed both the VBO path and the Iris companion-mesh path. Per frame the 24 second "animation" clip is sampled at TransitionSealBlockEntity.getAnimationTime() and each node's animated local matrix is pushed onto the pose stack - the rest-pose geometry is never re-uploaded. Mirrors the NEO RenderTransitionSeal / DaeModelRenderer transform chain exactly (no Z_UP -> Y_UP conversion, the DAE node matrices are authored in Minecraft space).
  • Constructor Details

    • TransitionSealRenderer

      public TransitionSealRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
  • Method Details

    • shouldRenderOffScreen

      public boolean shouldRenderOffScreen(TransitionSealBlockEntity be)
      Specified by:
      shouldRenderOffScreen in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<TransitionSealBlockEntity>
    • render

      public void render(TransitionSealBlockEntity be, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<TransitionSealBlockEntity>
    • getDebugInfo

      public static String getDebugInfo()