All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.magistuarmory.client.render.model.item.BucklerModel Maven / Gradle / Ivy

package com.magistuarmory.client.render.model.item;
// Made with Blockbench 4.3.1
// Exported for Minecraft version 1.17 - 1.18 with Mojang mappings
// Paste this class into your mod and generate all required imports

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.client.model.geom.PartPose;
import net.minecraft.client.model.geom.builders.*;

@Environment(EnvType.CLIENT)
public class BucklerModel extends MedievalShieldModel 
{
	public BucklerModel(ModelPart root)
	{
		super(root);
	}

	public static LayerDefinition createLayer() 
	{
		MeshDefinition meshdefinition = new MeshDefinition();
		PartDefinition partdefinition = meshdefinition.m_171576_();
		partdefinition.m_171599_("plate", CubeListBuilder.m_171558_().m_171514_(14, 32).m_171488_(-3.0F, -8.0F, -2.0F, 4.0F, 1.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(12, 34).m_171488_(-5.0F, -7.0F, -2.0F, 8.0F, 1.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(11, 36).m_171488_(-6.0F, -6.0F, -2.0F, 10.0F, 2.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(10, 39).m_171488_(-7.0F, -4.0F, -2.0F, 12.0F, 4.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(11, 44).m_171488_(-6.0F, 0.0F, -2.0F, 10.0F, 2.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(12, 47).m_171488_(-5.0F, 2.0F, -2.0F, 8.0F, 1.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(14, 49).m_171488_(-3.0F, 3.0F, -2.0F, 4.0F, 1.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(47, 37).m_171488_(-3.0F, -5.0F, -3.0F, 4.0F, 1.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(46, 39).m_171488_(-4.0F, -4.0F, -3.0F, 6.0F, 4.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(47, 44).m_171488_(-3.0F, 0.0F, -3.0F, 4.0F, 1.0F, 1.0F, new CubeDeformation(0.0F)).m_171514_(14, 54).m_171488_(-3.0F, -4.0F, -4.0F, 4.0F, 4.0F, 1.0F, new CubeDeformation(0.0F)), PartPose.m_171419_(1.0F, 2.0F, 0.0F));
		partdefinition.m_171599_("handle", CubeListBuilder.m_171558_().m_171514_(48, 52).m_171488_(-1.0F, -3.0F, -1.0F, 2.0F, 6.0F, 6.0F, new CubeDeformation(0.0F)), PartPose.m_171419_(0.0F, 0.0F, 0.0F));
		return LayerDefinition.m_171565_(meshdefinition, 64, 64);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy