Interface SubmitNodeStorageExtension
- All Superinterfaces:
OrderedSubmitNodeCollector, OrderedSubmitNodeCollectorExtension, SubmitNodeCollector
- All Known Implementing Classes:
SubmitNodeStorage
-
Nested Class Summary
Nested classes/interfaces inherited from interface SubmitNodeCollector
SubmitNodeCollector.CustomGeometryRenderer -
Method Summary
Modifier and TypeMethodDescriptionprivate SubmitNodeStorageself()default voidsubmitMultiLayerBlockModel(PoseStack poseStack, List<BlockStateModelPart> modelParts, boolean translucent, int[] tintLayers, int lightCoords, int overlayCoords, int outlineColor) Submit the providedBlockStateModelParts with full support for per-quad render types.default <T extends SubmitNode, S extends T>
voidsubmitSpecial(RenderPhaseKey<T> phaseKey, S submitNode) Methods inherited from interface OrderedSubmitNodeCollector
submitBlockModel, submitBreakingBlockModel, submitCrumblingOverlay, submitCrumblingOverlay, submitCustomGeometry, submitFlame, submitGizmoPrimitives, submitItem, submitLeash, submitModel, submitModel, submitModel, submitModel, submitModelPart, submitModelPart, submitModelPart, submitMovingBlock, submitNameTag, submitQuadParticleGroup, submitShadow, submitShapeOutline, submitText, submitTextBackgroundMethods inherited from interface SubmitNodeCollector
order
-
Method Details
-
self
-
submitMultiLayerBlockModel
default void submitMultiLayerBlockModel(PoseStack poseStack, List<BlockStateModelPart> modelParts, boolean translucent, int[] tintLayers, int lightCoords, int overlayCoords, int outlineColor) Description copied from interface:OrderedSubmitNodeCollectorExtensionSubmit the provided
BlockStateModelParts with full support for per-quad render types.Primarily intended to be used via
BlockModelRenderState.submitMultiLayer(PoseStack, SubmitNodeCollector, int, int, int).- Specified by:
submitMultiLayerBlockModelin interfaceOrderedSubmitNodeCollectorExtension- Parameters:
poseStack- The transformations to apply to the partsmodelParts- The model parts to submittranslucent- Whether the parts contain any translucent quadslightCoords- The packed light coordinates to render the parts withoverlayCoords- The overlay texture coordinates to render the parts withoutlineColor- The outline color to render the parts with, or0to render no outline
-
submitSpecial
default <T extends SubmitNode, S extends T> void submitSpecial(RenderPhaseKey<T> phaseKey, S submitNode) Description copied from interface:OrderedSubmitNodeCollectorExtension- Specified by:
submitSpecialin interfaceOrderedSubmitNodeCollectorExtension- Parameters:
phaseKey- The render phase to submit tosubmitNode- The submit node to submit
-