captureItem

fun captureItem(poseStack: PoseStack, displayContext: ItemDisplayContext, lightCoords: Int, overlayCoords: Int, outlineColor: Int, tintLayers: IntArray, quads: ItemQuads, foilType: ItemStackRenderState.FoilType): Boolean

Captures an item submission into the chams storage.

Return

true when the submission was captured (and the vanilla submission should be cancelled), false when the submission should keep flowing into the main render target.