28 lines
938 B
Java
28 lines
938 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.client.renderer.entity;
|
|
|
|
import net.minecraft.client.model.geom.ModelLayers;
|
|
import net.minecraft.client.renderer.entity.EntityRendererProvider;
|
|
import net.minecraft.client.renderer.entity.SpiderRenderer;
|
|
import net.minecraft.client.renderer.entity.state.LivingEntityRenderState;
|
|
import net.minecraft.resources.Identifier;
|
|
import net.minecraft.world.entity.monster.CaveSpider;
|
|
|
|
public class CaveSpiderRenderer
|
|
extends SpiderRenderer<CaveSpider> {
|
|
private static final Identifier CAVE_SPIDER_LOCATION = Identifier.withDefaultNamespace("textures/entity/spider/cave_spider.png");
|
|
|
|
public CaveSpiderRenderer(EntityRendererProvider.Context context) {
|
|
super(context, ModelLayers.CAVE_SPIDER);
|
|
this.shadowRadius = 0.56f;
|
|
}
|
|
|
|
@Override
|
|
public Identifier getTextureLocation(LivingEntityRenderState state) {
|
|
return CAVE_SPIDER_LOCATION;
|
|
}
|
|
}
|
|
|