Class SubmitNodeCollection
java.lang.Object
net.minecraft.client.renderer.SubmitNodeCollection
- All Implemented Interfaces:
OrderedSubmitNodeCollector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<SubmitNodeStorage.BlockModelSubmit> private final List<SubmitNodeStorage.BlockSubmit> private final CustomFeatureRenderer.Storageprivate final List<SubmitNodeStorage.FlameSubmit> private final List<SubmitNodeStorage.ItemSubmit> private final List<SubmitNodeStorage.LeashSubmit> private final ModelPartFeatureRenderer.Storageprivate final ModelFeatureRenderer.Storageprivate final List<SubmitNodeStorage.MovingBlockSubmit> private final NameTagFeatureRenderer.Storageprivate final List<SubmitNodeCollector.ParticleGroupRenderer> private final List<SubmitNodeStorage.ShadowSubmit> private final SubmitNodeStorageprivate final List<SubmitNodeStorage.TextSubmit> private boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidendFrame()voidsubmitBlock(PoseStack poseStack, BlockState state, int lightCoords, int overlayCoords, int outlineColor) voidsubmitBlockModel(PoseStack poseStack, RenderType renderType, BlockStateModel model, int tintColor, int lightCoords, int overlayCoords, int outlineColor) voidsubmitCustomGeometry(PoseStack poseStack, RenderType renderType, SubmitNodeCollector.CustomGeometryRenderer customGeometryRenderer) voidsubmitFlame(PoseStack poseStack, EntityRenderState renderState, Quaternionf rotation) voidsubmitItem(PoseStack poseStack, ItemDisplayContext displayContext, int lightCoords, int overlayCoords, int outlineColor, int[] tintLayers, List<BakedQuad> quads, ItemStackRenderState.FoilType foilType) voidsubmitLeash(PoseStack poseStack, EntityRenderState.LeashState leashState) <S> voidsubmitModel(Model<? super S> model, S state, PoseStack poseStack, RenderType renderType, int lightCoords, int overlayCoords, int tintedColor, @Nullable TextureAtlasSprite sprite, int outlineColor, @Nullable ModelFeatureRenderer.CrumblingOverlay crumblingOverlay) voidsubmitModelPart(ModelPart modelPart, PoseStack poseStack, RenderType renderType, int lightCoords, int overlayCoords, @Nullable TextureAtlasSprite sprite, boolean sheeted, boolean hasFoil, int tintedColor, @Nullable ModelFeatureRenderer.CrumblingOverlay crumblingOverlay, int outlineColor) voidsubmitMovingBlock(PoseStack poseStack, MovingBlockRenderState movingBlockRenderState) voidsubmitNameTag(PoseStack poseStack, @Nullable Vec3 nameTagAttachment, int offset, Component name, boolean seeThrough, int lightCoords, double distanceToCameraSq, CameraRenderState camera) voidsubmitParticleGroup(SubmitNodeCollector.ParticleGroupRenderer particleGroupRenderer) voidsubmitShadow(PoseStack poseStack, float radius, List<EntityRenderState.ShadowPiece> pieces) voidsubmitText(PoseStack poseStack, float x, float y, FormattedCharSequence string, boolean dropShadow, Font.DisplayMode displayMode, int lightCoords, int color, int backgroundColor, int outlineColor) booleanwasUsed()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OrderedSubmitNodeCollector
submitModel, submitModelPart, submitModelPart, submitModelPart
-
Field Details
-
shadowSubmits
-
flameSubmits
-
nameTagSubmits
-
textSubmits
-
leashSubmits
-
blockSubmits
-
movingBlockSubmits
-
blockModelSubmits
-
itemSubmits
-
particleGroupRenderers
-
modelSubmits
-
modelPartSubmits
-
customGeometrySubmits
-
submitNodeStorage
-
wasUsed
private boolean wasUsed
-
-
Constructor Details
-
SubmitNodeCollection
-
-
Method Details
-
submitShadow
public void submitShadow(PoseStack poseStack, float radius, List<EntityRenderState.ShadowPiece> pieces) - Specified by:
submitShadowin interfaceOrderedSubmitNodeCollector
-
submitNameTag
public void submitNameTag(PoseStack poseStack, @Nullable Vec3 nameTagAttachment, int offset, Component name, boolean seeThrough, int lightCoords, double distanceToCameraSq, CameraRenderState camera) - Specified by:
submitNameTagin interfaceOrderedSubmitNodeCollector
-
submitText
public void submitText(PoseStack poseStack, float x, float y, FormattedCharSequence string, boolean dropShadow, Font.DisplayMode displayMode, int lightCoords, int color, int backgroundColor, int outlineColor) - Specified by:
submitTextin interfaceOrderedSubmitNodeCollector
-
submitFlame
- Specified by:
submitFlamein interfaceOrderedSubmitNodeCollector
-
submitLeash
- Specified by:
submitLeashin interfaceOrderedSubmitNodeCollector
-
submitModel
public <S> void submitModel(Model<? super S> model, S state, PoseStack poseStack, RenderType renderType, int lightCoords, int overlayCoords, int tintedColor, @Nullable TextureAtlasSprite sprite, int outlineColor, @Nullable ModelFeatureRenderer.CrumblingOverlay crumblingOverlay) - Specified by:
submitModelin interfaceOrderedSubmitNodeCollector
-
submitModelPart
public void submitModelPart(ModelPart modelPart, PoseStack poseStack, RenderType renderType, int lightCoords, int overlayCoords, @Nullable TextureAtlasSprite sprite, boolean sheeted, boolean hasFoil, int tintedColor, @Nullable ModelFeatureRenderer.CrumblingOverlay crumblingOverlay, int outlineColor) - Specified by:
submitModelPartin interfaceOrderedSubmitNodeCollector
-
submitBlock
public void submitBlock(PoseStack poseStack, BlockState state, int lightCoords, int overlayCoords, int outlineColor) - Specified by:
submitBlockin interfaceOrderedSubmitNodeCollector
-
submitMovingBlock
- Specified by:
submitMovingBlockin interfaceOrderedSubmitNodeCollector
-
submitBlockModel
public void submitBlockModel(PoseStack poseStack, RenderType renderType, BlockStateModel model, int tintColor, int lightCoords, int overlayCoords, int outlineColor) - Specified by:
submitBlockModelin interfaceOrderedSubmitNodeCollector
-
submitItem
public void submitItem(PoseStack poseStack, ItemDisplayContext displayContext, int lightCoords, int overlayCoords, int outlineColor, int[] tintLayers, List<BakedQuad> quads, ItemStackRenderState.FoilType foilType) - Specified by:
submitItemin interfaceOrderedSubmitNodeCollector
-
submitCustomGeometry
public void submitCustomGeometry(PoseStack poseStack, RenderType renderType, SubmitNodeCollector.CustomGeometryRenderer customGeometryRenderer) - Specified by:
submitCustomGeometryin interfaceOrderedSubmitNodeCollector
-
submitParticleGroup
- Specified by:
submitParticleGroupin interfaceOrderedSubmitNodeCollector
-
getShadowSubmits
-
getFlameSubmits
-
getNameTagSubmits
-
getTextSubmits
-
getLeashSubmits
-
getBlockSubmits
-
getMovingBlockSubmits
-
getBlockModelSubmits
-
getModelPartSubmits
-
getItemSubmits
-
getParticleGroupRenderers
-
getModelSubmits
-
getCustomGeometrySubmits
-
wasUsed
public boolean wasUsed() -
clear
public void clear() -
endFrame
public void endFrame()
-