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

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

There is a newer version: 8.10
Show newest version
package com.magistuarmory.client.render.model.item;

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

@Environment(EnvType.CLIENT)
public class HeaterShieldModel extends MedievalShieldModel 
{
	public HeaterShieldModel(class_630 root)
	{
		super(root);
	}
	
	public static class_5607 createLayer() 
	{
		class_5609 meshdefinition = new class_5609();
		class_5610 partdefinition = meshdefinition.method_32111();
		partdefinition.method_32117("plate", class_5606.method_32108().method_32101(0, 0).method_32097(-15.5F, -17.0F, -2.0F, 31F, 31F, 1F).method_32101(0, 33).method_32097(-7.5F, -10.0F, -2.0F, 15F, 11F, 1F).method_32101(36, 33).method_32097(-6.5F, 1.0F, -2.0F, 13F, 2F, 1F).method_32101(40, 36).method_32097(-5.5F, 3.0F, -2.0F, 11F, 1F, 1F).method_32101(44, 38).method_32097(-4.5F, 4.0F, -2.0F, 9F, 1F, 1F).method_32101(48, 40).method_32097(-3.5F, 5.0F, -2.0F, 7F, 1F, 1F).method_32101(56, 42).method_32097(-1.5F, 6.0F, -2.0F, 3F, 1F, 1F), class_5603.field_27701);
		partdefinition.method_32117("handle", class_5606.method_32108().method_32101(48, 52).method_32097(-1.0F, -3.0F, -1.0F, 2F, 6F, 6F), class_5603.field_27701);
		return class_5607.method_32110(meshdefinition, 64, 64);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy