mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-10-22 07:22:29 +00:00
Giving up on waiting for the NeoForge version, so we reshuffle this to avoid calling getUnderlyingVertexFormat — the RenderType's vertex format reports this fine. I did consider dropping all this code and just falling back to the slow fixed width font renderer when the vertex format doesn't match our direct one — the overhead is much lower than what it used to be — but does still touching some internals of BufferBuilder, so probably best avoided right now.