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

24 lines
682 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.model;
import net.minecraft.client.model.AnimationUtils;
import net.minecraft.client.model.HumanoidModel;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.client.renderer.entity.state.ZombieRenderState;
public abstract class AbstractZombieModel<S extends ZombieRenderState>
extends HumanoidModel<S> {
protected AbstractZombieModel(ModelPart root) {
super(root);
}
@Override
public void setupAnim(S state) {
super.setupAnim(state);
AnimationUtils.animateZombieArms(this.leftArm, this.rightArm, ((ZombieRenderState)state).isAggressive, state);
}
}