27 lines
902 B
Java
27 lines
902 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.AbstractHoglinRenderer;
|
|
import net.minecraft.client.renderer.entity.EntityRendererProvider;
|
|
import net.minecraft.client.renderer.entity.state.HoglinRenderState;
|
|
import net.minecraft.resources.Identifier;
|
|
import net.minecraft.world.entity.monster.Zoglin;
|
|
|
|
public class ZoglinRenderer
|
|
extends AbstractHoglinRenderer<Zoglin> {
|
|
private static final Identifier ZOGLIN_LOCATION = Identifier.withDefaultNamespace("textures/entity/hoglin/zoglin.png");
|
|
|
|
public ZoglinRenderer(EntityRendererProvider.Context context) {
|
|
super(context, ModelLayers.ZOGLIN, ModelLayers.ZOGLIN_BABY, 0.7f);
|
|
}
|
|
|
|
@Override
|
|
public Identifier getTextureLocation(HoglinRenderState state) {
|
|
return ZOGLIN_LOCATION;
|
|
}
|
|
}
|
|
|