Class WardenEmissiveLayer<T extends Warden,M extends WardenModel<T>>
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
net.minecraft.client.renderer.entity.layers.WardenEmissiveLayer<T,M>
public class WardenEmissiveLayer<T extends Warden,M extends WardenModel<T>>
extends RenderLayer<T,M>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
WardenEmissiveLayer.AlphaFunction<T extends Warden>
static interface
WardenEmissiveLayer.DrawSelector<T extends Warden,
M extends EntityModel<T>> -
Field Summary
Modifier and TypeFieldDescriptionprivate final WardenEmissiveLayer.AlphaFunction<T>
private final WardenEmissiveLayer.DrawSelector<T,
M> private final ResourceLocation
-
Constructor Summary
ConstructorDescriptionWardenEmissiveLayer
(RenderLayerParent<T, M> p_234885_, ResourceLocation p_234886_, WardenEmissiveLayer.AlphaFunction<T> p_234887_, WardenEmissiveLayer.DrawSelector<T, M> p_234888_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
render
(PoseStack p_234902_, MultiBufferSource p_234903_, int p_234904_, T p_234905_, float p_234906_, float p_234907_, float p_234908_, float p_234909_, float p_234910_, float p_234911_) private void
Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Field Details
-
texture
-
alphaFunction
-
drawSelector
private final WardenEmissiveLayer.DrawSelector<T extends Warden,M extends WardenModel<T>> drawSelector
-
-
Constructor Details
-
WardenEmissiveLayer
public WardenEmissiveLayer(RenderLayerParent<T, M> p_234885_, ResourceLocation p_234886_, WardenEmissiveLayer.AlphaFunction<T> p_234887_, WardenEmissiveLayer.DrawSelector<T, M> p_234888_)
-
-
Method Details
-
render
public void render(PoseStack p_234902_, MultiBufferSource p_234903_, int p_234904_, T p_234905_, float p_234906_, float p_234907_, float p_234908_, float p_234909_, float p_234910_, float p_234911_) - Specified by:
render
in classRenderLayer<T extends Warden,
M extends WardenModel<T>>
-
onlyDrawSelectedParts
private void onlyDrawSelectedParts() -
resetDrawForAllParts
private void resetDrawForAllParts()
-