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

com.magistuarmory.client.render.model.armor.ArmetModel Maven / Gradle / Ivy

The newest version!
package com.magistuarmory.client.render.model.armor;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.class_5603;
import net.minecraft.class_5605;
import net.minecraft.class_5606;
import net.minecraft.class_5607;
import net.minecraft.class_5609;
import net.minecraft.class_5610;

@Environment(EnvType.CLIENT)
public class ArmetModel
{
	public static class_5607 createLayer() 
	{
	    class_5609 meshdefinition = new class_5609();
	    class_5610 partdefinition = meshdefinition.method_32111();
		class_5610 head = partdefinition.method_32117("head", class_5606.method_32108(), class_5603.field_27701);
		head.method_32117("Armet", class_5606.method_32108().method_32101(0, 0).method_32098(0.0F, 0.05F, 0.8F, 8.0F, 7.0F, 7.0F, new class_5605(1.0F)).method_32101(6, 6).method_32098(0.0F, 0.05F, 0.3F, 8.0F, 7.0F, 1.0F, new class_5605(0.97F)), class_5603.method_32090(-4.0F, -8.0F, -4.0F));
		head.method_32117("VisorTopLeft", class_5606.method_32108().method_32101(47, 0).method_32098(0.4F, 0.65F, -2.6F, 7.0F, 5.0F, 0.0F, new class_5605(0.0F)), class_5603.method_32091(-4.0F, -8.0F, -4.0F, -0.7285F, -0.6829F, 0.0F));
		head.method_32117("VisorTopRight", class_5606.method_32108().method_32101(47, 0).method_32096().method_32098(-1.1F, -2.6F, 1.1F, 7.0F, 5.0F, 0.0F, new class_5605(0.0F)).method_32106(false), class_5603.method_32091(-4.0F, -8.0F, -4.0F, -0.7285F, 0.6374F, 0.0F));
		head.method_32117("VisorBottomLeft", class_5606.method_32108().method_32101(30, 0).method_32096().method_32098(0.15F, -1.5F, -6.9F, 7.0F, 6.0F, 0.0F, new class_5605(0.0F)).method_32106(false), class_5603.method_32091(-4.0F, -8.0F, -4.0F, 0.6829F, -0.6829F, 0.0F));
		head.method_32117("VisorBottomRight", class_5606.method_32108().method_32101(30, 0).method_32098(-0.95F, 1.75F, -2.9F, 7.0F, 6.0F, 0.0F, new class_5605(0.0F)), class_5603.method_32091(-4.0F, -8.0F, -4.0F, 0.6829F, 0.6829F, 0.0F));
		partdefinition.method_32117("hat", class_5606.method_32108(), class_5603.field_27701);
		partdefinition.method_32117("body", class_5606.method_32108(), class_5603.field_27701);
		partdefinition.method_32117("right_arm", class_5606.method_32108(), class_5603.field_27701);
		partdefinition.method_32117("left_arm", class_5606.method_32108(), class_5603.field_27701);
		partdefinition.method_32117("right_leg", class_5606.method_32108(), class_5603.field_27701);
		partdefinition.method_32117("left_leg", class_5606.method_32108(), class_5603.field_27701);
		return class_5607.method_32110(meshdefinition, 64, 32);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy