com.magistuarmory.client.render.model.armor.SalletModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of 1.20.2-epic-knights-common Show documentation
Show all versions of 1.20.2-epic-knights-common Show documentation
mod that adds medieval stuff to the game
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 SalletModel {
public static class_5607 createLayer()
{
class_5609 meshdefinition = new class_5609();
class_5610 partdefinition = meshdefinition.method_32111();
class_5610 partdefinition1 = partdefinition.method_32117("head", class_5606.method_32108().method_32101(32, 0).method_32098(-4.0F, -8.1F, -4.2F, 8.0F, 7.0F, 8.0F, new class_5605(1.0F)), class_5603.method_32090(-4.0F, -8.0F, -4.0F));
partdefinition1.method_32117("helmet_r1", class_5606.method_32108().method_32101(39, 5).method_32098(-3.3F, -9.5F, -1.6F, 1.0F, 11.0F, 9.0F, new class_5605(0.0F)), class_5603.method_32091(-4.0F, 0.0F, -3.0F, 0.0F, 0.2618F, 1.5708F));
partdefinition1.method_32117("helmet_r2", class_5606.method_32108().method_32101(0, 18).method_32098(-9.3F, 1.6F, 1.67F, 8.0F, 4.0F, 6.0F, new class_5605(0.0F)), class_5603.method_32091(6.0F, 0.0F, 0.0F, -1.789F, 0.1309F, 1.5708F));
partdefinition1.method_32117("helmet_r3", class_5606.method_32108().method_32101(0, 0).method_32098(-9.3F, 2.9F, -1.806F, 8.0F, 4.0F, 6.0F, new class_5605(0.0F)), class_5603.method_32091(0.0F, 0.0F, 0.0F, -1.3526F, 0.1309F, 1.5708F));
partdefinition1.method_32117("helmet_r4", class_5606.method_32108().method_32101(28, 18).method_32098(-2.501F, -4.7F, -6.6F, 1.0F, 4.0F, 6.0F, new class_5605(0.0F)), class_5603.method_32091(-4.0F, 0.0F, 0.0F, -2.0071F, 0.2618F, 1.5708F));
partdefinition1.method_32117("helmet_r5", class_5606.method_32108().method_32101(28, 18).method_32098(-2.5F, -6.4F, -3.01F, 1.0F, 4.0F, 6.0F, new class_5605(0.0F)), class_5603.method_32091(0.0F, 0.0F, 0.0F, -1.1345F, 0.2618F, 1.5708F));
partdefinition1.method_32117("helmet_r6", class_5606.method_32108().method_32101(45, 15).method_32098(-4.7F, -2.6F, -4.7F, 3.0F, 3.0F, 3.0F, new class_5605(-0.2F)), class_5603.method_32091(0.0F, 0.0F, 0.0F, 0.0F, -0.7854F, 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);
}
}