A very sophisticated discord poll has shown that we prefer transparent cauldrons to normal ones. (In the process of making a cauldron mod, this was a showcase post)

I used a Block Entity renderer, the source is https://github.com/indi-code/cauldron-brewing/blob/1b3318d5476683b09d9d4a3a38507522f8fd7205/src/main/java/io/github/indicode/fabric/cauldronbrew/block/BrewingCauldronBESR.java#L29 if you care to dig through yarn mappings.
What I did was
GlStateManager.enableBlend();
GlStateManager.disableAlphaTest();
GlStateManager.blendFunc(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA);
and disable blend, enable alpha test afterwards.
Idk if blaze3d is obfuscated or not, so no idea on the readability for yall. (The point of showing code is to make this as easy as humanly possible for this to be implemented)
Please sign in to leave a comment.
1 Comments