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.Skeleton;
public class SkeletonRenderer
extends AbstractSkeletonRenderer<Skeleton, SkeletonRenderState> {
private static final Identifier SKELETON_LOCATION = Identifier.withDefaultNamespace("textures/entity/skeleton/skeleton.png");
public SkeletonRenderer(EntityRendererProvider.Context context) {
super(context, ModelLayers.SKELETON, ModelLayers.SKELETON_ARMOR);
}
@Override
public Identifier getTextureLocation(SkeletonRenderState state) {
return SKELETON_LOCATION;
}
@Override
public SkeletonRenderState createRenderState() {
return new SkeletonRenderState();
}
}