com.magistuarmory.client.render.model.item.HeaterShieldModel 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.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);
}
}