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

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

package com.magistuarmory.client.render.model.item;

import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;

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.CubeListBuilder;
import net.minecraft.client.model.geom.builders.LayerDefinition;
import net.minecraft.client.model.geom.builders.MeshDefinition;
import net.minecraft.client.model.geom.builders.PartDefinition;
import net.minecraft.client.renderer.RenderType;

// Made with Blockbench 3.9.3
// Exported for Minecraft version 1.15 - 1.16 with MCP mappings
// Paste this class into your mod and generate all required imports

@Environment(EnvType.CLIENT)
public class RondacheModel extends MedievalShieldModel 
{
	public RondacheModel(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_(0, 0).m_171481_(-17.0F, -17.0F, -2.0F, 31F, 31F, 1F).m_171514_(0, 33).m_171481_(-9.0F, -5.0F, -2.0F, 16F, 6F, 1F).m_171514_(34, 33).m_171481_(-8.0F, 1.0F, -2.0F, 14F, 2F, 1F).m_171514_(38, 36).m_171481_(-7.0F, 3.0F, -2.0F, 12F, 1F, 1F).m_171514_(42, 38).m_171481_(-6.0F, 4.0F, -2.0F, 10F, 1F, 1F).m_171514_(50, 40).m_171481_(-4.0F, 5.0F, -2.0F, 6F, 1F, 1F).m_171514_(34, 42).m_171481_(-8.0F, -7.0F, -2.0F, 14F, 2F, 1F).m_171514_(38, 45).m_171481_(-7.0F, -8.0F, -2.0F, 12F, 1F, 1F).m_171514_(42, 49).m_171481_(-6.0F, -9.0F, -2.0F, 10F, 1F, 1F).m_171514_(50, 47).m_171481_(-4.0F, -10.0F, -2.0F, 6F, 1F, 1F), PartPose.f_171404_);
		partdefinition.m_171599_("handle", CubeListBuilder.m_171558_().m_171514_(48, 52).m_171481_(-1.0F, -3.0F, -1.0F, 2F, 6F, 6F), PartPose.f_171404_);
		return LayerDefinition.m_171565_(meshdefinition, 64, 64);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy