28 lines
945 B
Java
28 lines
945 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.client.renderer.entity.layers;
|
|
|
|
import net.minecraft.client.model.SpiderModel;
|
|
import net.minecraft.client.renderer.entity.RenderLayerParent;
|
|
import net.minecraft.client.renderer.entity.layers.EyesLayer;
|
|
import net.minecraft.client.renderer.entity.state.LivingEntityRenderState;
|
|
import net.minecraft.client.renderer.rendertype.RenderType;
|
|
import net.minecraft.client.renderer.rendertype.RenderTypes;
|
|
import net.minecraft.resources.Identifier;
|
|
|
|
public class SpiderEyesLayer<M extends SpiderModel>
|
|
extends EyesLayer<LivingEntityRenderState, M> {
|
|
private static final RenderType SPIDER_EYES = RenderTypes.eyes(Identifier.withDefaultNamespace("textures/entity/spider_eyes.png"));
|
|
|
|
public SpiderEyesLayer(RenderLayerParent<LivingEntityRenderState, M> renderer) {
|
|
super(renderer);
|
|
}
|
|
|
|
@Override
|
|
public RenderType renderType() {
|
|
return SPIDER_EYES;
|
|
}
|
|
}
|
|
|