2025-11-24 22:52:51 +03:00

32 lines
1.0 KiB
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.AbstractSkeletonRenderer;
import net.minecraft.client.renderer.entity.EntityRendererProvider;
import net.minecraft.client.renderer.entity.state.SkeletonRenderState;
import net.minecraft.resources.Identifier;
import net.minecraft.world.entity.monster.Parched;
public class ParchedRenderer
extends AbstractSkeletonRenderer<Parched, SkeletonRenderState> {
private static final Identifier PARCHED_SKELETON_LOCATION = Identifier.withDefaultNamespace("textures/entity/skeleton/parched.png");
public ParchedRenderer(EntityRendererProvider.Context context) {
super(context, ModelLayers.PARCHED, ModelLayers.PARCHED_ARMOR);
}
@Override
public Identifier getTextureLocation(SkeletonRenderState state) {
return PARCHED_SKELETON_LOCATION;
}
@Override
public SkeletonRenderState createRenderState() {
return new SkeletonRenderState();
}
}