com.magistuarmory.client.render.model.armor.BarbuteModel 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 BarbuteModel {
public static class_5607 createLayer()
{
class_5609 meshdefinition = new class_5609();
class_5610 partdefinition = meshdefinition.method_32111();
partdefinition.method_32117("head", class_5606.method_32108().method_32101(0, 0).method_32098(-4.0F, -7.9F, -4.2F, 8.0F, 7.0F, 8.0F, new class_5605(1.0F)), class_5603.method_32090(-4.0F, -8.0F, -4.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);
}
}