Interface OrderedSubmitNodeCollectorExtension

All Known Subinterfaces:
OrderedSubmitNodeCollector, SubmitNodeCollector, SubmitNodeStorageExtension
All Known Implementing Classes:
SubmitNodeCollection, SubmitNodeStorage

public interface OrderedSubmitNodeCollectorExtension
  • Method Details

    • submitMultiLayerBlockModel

      default void submitMultiLayerBlockModel(PoseStack poseStack, List<BlockStateModelPart> modelParts, boolean translucent, int[] tintLayers, int lightCoords, int overlayCoords, int outlineColor)

      Submit the provided BlockStateModelParts with full support for per-quad render types.

      Primarily intended to be used via BlockModelRenderState.submitMultiLayer(PoseStack, SubmitNodeCollector, int, int, int).

      Parameters:
      poseStack - The transformations to apply to the parts
      modelParts - The model parts to submit
      translucent - Whether the parts contain any translucent quads
      lightCoords - The packed light coordinates to render the parts with
      overlayCoords - The overlay texture coordinates to render the parts with
      outlineColor - The outline color to render the parts with, or 0 to render no outline
    • submitSpecial

      default <T extends SubmitNode, S extends T> void submitSpecial(RenderPhaseKey<T> phaseKey, S submitNode)
      Submit the provided SubmitNode to the FeatureRenderPhase identified by the provided RenderPhaseKey.
      Parameters:
      phaseKey - The render phase to submit to
      submitNode - The submit node to submit