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

27 lines
809 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.model;
import java.util.function.Function;
import net.minecraft.client.model.Model;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.client.renderer.entity.state.EntityRenderState;
import net.minecraft.client.renderer.rendertype.RenderType;
import net.minecraft.client.renderer.rendertype.RenderTypes;
import net.minecraft.resources.Identifier;
public abstract class EntityModel<T extends EntityRenderState>
extends Model<T> {
public static final float MODEL_Y_OFFSET = -1.501f;
protected EntityModel(ModelPart root) {
this(root, RenderTypes::entityCutoutNoCull);
}
protected EntityModel(ModelPart root, Function<Identifier, RenderType> renderType) {
super(root, renderType);
}
}