com.magistuarmory.client.render.model.item.RoundShieldModel 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;
// Made with Blockbench 3.9.3
// Exported for Minecraft version 1.15 - 1.16 with MCP mappings
// Paste this class into your mod and generate all required imports
@Environment(EnvType.CLIENT)
public class RoundShieldModel extends MedievalShieldModel
{
public RoundShieldModel(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, 1.0F).method_32101(0, 33).method_32097(-7.5F, -6.0F, -2.0F, 15.0F, 7.0F, 1.0F).method_32101(36, 33).method_32097(-6.5F, 1.0F, -2.0F, 13.0F, 2.0F, 1.0F).method_32101(40, 36).method_32097(-5.5F, 3.0F, -2.0F, 11.0F, 1.0F, 1.0F).method_32101(48, 38).method_32097(-3.5F, 4.0F, -2.0F, 7.0F, 1.0F, 1.0F).method_32101(36, 44).method_32097(-6.5F, -8.0F, -2.0F, 13.0F, 2.0F, 1.0F).method_32101(48, 40).method_32097(-3.5F, -10.0F, -2.0F, 7.0F, 1.0F, 1.0F).method_32101(40, 42).method_32097(-5.5F, -9.0F, -2.0F, 11.0F, 1.0F, 1.0F), 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);
}
}