Make sure CrystaliteArmorProvider
compiles
This commit is contained in:
parent
539a574cca
commit
2d130fac96
6 changed files with 40 additions and 21 deletions
|
@ -5,11 +5,13 @@ import java.util.Collections;
|
|||
import com.google.common.collect.Lists;
|
||||
|
||||
import net.minecraft.client.model.HumanoidModel;
|
||||
import net.minecraft.client.model.geom.EntityModelSet;
|
||||
import net.minecraft.client.model.geom.ModelPart;
|
||||
import net.minecraft.client.model.geom.PartPose;
|
||||
import net.minecraft.client.model.geom.builders.*;
|
||||
import net.minecraft.client.renderer.RenderType;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import ru.betterend.registry.EndEntitiesRenders;
|
||||
|
||||
public class CrystaliteBootsModel extends HumanoidModel<LivingEntity> {
|
||||
|
||||
|
@ -34,6 +36,10 @@ public class CrystaliteBootsModel extends HumanoidModel<LivingEntity> {
|
|||
|
||||
return LayerDefinition.create(modelData, 64, 48);
|
||||
}
|
||||
|
||||
public static CrystaliteBootsModel createModel(EntityModelSet entityModelSet){
|
||||
return new CrystaliteBootsModel(entityModelSet==null?getTexturedModelData().bakeRoot():entityModelSet.bakeLayer(EndEntitiesRenders.CRYSTALITE_BOOTS));
|
||||
}
|
||||
|
||||
public CrystaliteBootsModel(ModelPart modelPart) {
|
||||
super(modelPart, RenderType::entityTranslucent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue