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

25 lines
665 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.model;
import net.minecraft.client.model.Model;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.client.renderer.rendertype.RenderTypes;
import net.minecraft.core.Direction;
public class CopperGolemStatueModel
extends Model<Direction> {
public CopperGolemStatueModel(ModelPart root) {
super(root, RenderTypes::entityCutoutNoCull);
}
@Override
public void setupAnim(Direction direction) {
this.root.y = 0.0f;
this.root.yRot = direction.getOpposite().toYRot() * ((float)Math.PI / 180);
this.root.zRot = (float)Math.PI;
}
}