blendMode

MaterialFinder blendMode(int spriteIndex, RenderLayer renderLayer)

Defines how sprite pixels will be blended with the scene.Accepts {link @BlockRenderLayer} values and blending behaviorwill emulate the way that Minecraft renders those instances. This doesNOT mean the sprite will be rendered in a specific render pass - someimplementations may not use the standard vanilla render passes.

CAN be null and is null by default. A null value means the rendererwill use the value normally associated with the block being rendered, or {@code TRANSLUCENT} for item renders. (Normal Minecraft rendering)

Deprecated

Use {@code BlendMode} version instead.

abstract MaterialFinder blendMode(int spriteIndex, BlendMode blendMode)

Defines how sprite pixels will be blended with the scene.

See BlendMode for more information.