Class LivingEntityEmissiveLayer<S extends LivingEntityRenderState, M extends EntityModel<S>>
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<S,M>
net.minecraft.client.renderer.entity.layers.LivingEntityEmissiveLayer<S,M>
public class LivingEntityEmissiveLayer<S extends LivingEntityRenderState, M extends EntityModel<S>>
extends RenderLayer<S,M>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LivingEntityEmissiveLayer.AlphaFunction<S> private final booleanprivate final Function<Identifier, RenderType> private final Mprivate final Function<S, Identifier> -
Constructor Summary
ConstructorsConstructorDescriptionLivingEntityEmissiveLayer(RenderLayerParent<S, M> renderer, Function<S, Identifier> textureProvider, LivingEntityEmissiveLayer.AlphaFunction<S> alphaFunction, M model, Function<Identifier, RenderType> bufferProvider, boolean alwaysVisible) -
Method Summary
Modifier and TypeMethodDescriptionvoidsubmit(PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, S state, float yRot, float xRot) Methods inherited from class RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, renderColoredCutoutModel
-
Field Details
-
textureProvider
-
alphaFunction
private final LivingEntityEmissiveLayer.AlphaFunction<S extends LivingEntityRenderState> alphaFunction -
model
-
bufferProvider
-
alwaysVisible
private final boolean alwaysVisible
-
-
Constructor Details
-
LivingEntityEmissiveLayer
public LivingEntityEmissiveLayer(RenderLayerParent<S, M> renderer, Function<S, Identifier> textureProvider, LivingEntityEmissiveLayer.AlphaFunction<S> alphaFunction, M model, Function<Identifier, RenderType> bufferProvider, boolean alwaysVisible)
-
-
Method Details
-
submit
public void submit(PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, S state, float yRot, float xRot) - Specified by:
submitin classRenderLayer<S extends LivingEntityRenderState, M extends EntityModel<S>>
-