/* * Decompiled with CFR 0.152. */ package net.minecraft.client.renderer.entity; import net.minecraft.client.model.ZombieModel; import net.minecraft.client.model.geom.ModelLayerLocation; import net.minecraft.client.model.geom.ModelLayers; import net.minecraft.client.renderer.entity.AbstractZombieRenderer; import net.minecraft.client.renderer.entity.ArmorModelSet; import net.minecraft.client.renderer.entity.EntityRendererProvider; import net.minecraft.client.renderer.entity.state.ZombieRenderState; import net.minecraft.world.entity.monster.Zombie; public class ZombieRenderer extends AbstractZombieRenderer> { public ZombieRenderer(EntityRendererProvider.Context context) { this(context, ModelLayers.ZOMBIE, ModelLayers.ZOMBIE_BABY, ModelLayers.ZOMBIE_ARMOR, ModelLayers.ZOMBIE_BABY_ARMOR); } @Override public ZombieRenderState createRenderState() { return new ZombieRenderState(); } public ZombieRenderer(EntityRendererProvider.Context context, ModelLayerLocation body, ModelLayerLocation babyBody, ArmorModelSet armorSet, ArmorModelSet babyArmorSet) { super(context, new ZombieModel(context.bakeLayer(body)), new ZombieModel(context.bakeLayer(babyBody)), ArmorModelSet.bake(armorSet, context.getModelSet(), ZombieModel::new), ArmorModelSet.bake(babyArmorSet, context.getModelSet(), ZombieModel::new)); } }