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<ResourceLocation, RenderType> private final Mprivate final Function<S, ResourceLocation> -
Constructor Summary
ConstructorsConstructorDescriptionLivingEntityEmissiveLayer(RenderLayerParent<S, M> pRenderer, Function<S, ResourceLocation> pTextureProvider, LivingEntityEmissiveLayer.AlphaFunction<S> pAlphaFunction, M pModel, Function<ResourceLocation, RenderType> pBufferProvider, boolean pAlwaysVisible) -
Method Summary
Modifier and TypeMethodDescriptionvoidsubmit(PoseStack p_435476_, SubmitNodeCollector p_435488_, int p_433546_, S p_434369_, float p_433568_, float p_435527_) Methods inherited from class net.minecraft.client.renderer.entity.layers.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> pRenderer, Function<S, ResourceLocation> pTextureProvider, LivingEntityEmissiveLayer.AlphaFunction<S> pAlphaFunction, M pModel, Function<ResourceLocation, RenderType> pBufferProvider, boolean pAlwaysVisible)
-
-
Method Details
-
submit
public void submit(PoseStack p_435476_, SubmitNodeCollector p_435488_, int p_433546_, S p_434369_, float p_433568_, float p_435527_) - Specified by:
submitin classRenderLayer<S extends LivingEntityRenderState,M extends EntityModel<S>>
-