Class TranslucentItemBuffers
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.gui.TranslucentItemBuffers
The see-through items of
ItemOpacityRenderer: while the shader color's alpha is under 1, a GUI item draws
into these buffers, which hand it a translucent render type on the same texture in place of a solid or cut-out one,
so the alpha shows (GuiGraphicsMixin; the render type's texture is reached through the access widener).-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.renderer.MultiBufferSourcewrap(net.minecraft.client.renderer.MultiBufferSource buffers) The buffers an item is drawn into: see-through ones while the shader color is faded, else these.
-
Method Details
-
wrap
public static net.minecraft.client.renderer.MultiBufferSource wrap(net.minecraft.client.renderer.MultiBufferSource buffers) The buffers an item is drawn into: see-through ones while the shader color is faded, else these.
-