Fabric API

Fabric API

106M Downloads

Indigo's fallbackConsumer() doesn't work when used from BlockEntityRenderer

shartte opened this issue ยท 0 comments

commented

Two issues:

  1. A Vanilla baked model will not render when passed to the RenderContext#fallbackConsumer
  2. If any Mesh is rendered using RenderContext#meshConsumer() before the Vanilla model (just one Quad is enough),
    the Vanilla model will be rendered, but transforms will not be applied

This will probably also apply for uses from the GUI.

I tried making a working test mod here: https://github.com/shartte/BlockRenderContextBug

For issue 1:
image

For issue 2:
(This is achieved by emitting a tiny quad using the meshConsumer before emitting the Vanilla model)
image