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

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

There is a newer version: 8.10
Show newest version
package com.magistuarmory.client.render.model.item;
// Made with Blockbench 4.3.1
// Exported for Minecraft version 1.17 - 1.18 with Mojang mappings
// Paste this class into your mod and generate all required imports


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;
import net.minecraft.class_630;
import net.minecraft.client.model.geom.builders.*;

@Environment(EnvType.CLIENT)
public class TargeModel extends MedievalShieldModel 
{
	public TargeModel(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(13, 34).method_32098(-4.0F, -8.0F, -2.0F, 6.0F, 1.0F, 1.0F, new class_5605(0.0F)).method_32101(11, 36).method_32098(-6.0F, -7.0F, -2.0F, 10.0F, 2.0F, 1.0F, new class_5605(0.0F)).method_32101(10, 39).method_32098(-7.0F, -5.0F, -2.0F, 12.0F, 6.0F, 1.0F, new class_5605(0.0F)).method_32101(11, 46).method_32098(-6.0F, 1.0F, -2.0F, 10.0F, 2.0F, 1.0F, new class_5605(0.0F)).method_32101(13, 49).method_32098(-4.0F, 3.0F, -2.0F, 6.0F, 1.0F, 1.0F, new class_5605(0.0F)), class_5603.method_32090(1.0F, 2.0F, 0.0F));
		partdefinition.method_32117("handle", class_5606.method_32108().method_32101(48, 52).method_32098(-1.0F, -3.0F, -1.0F, 2.0F, 6.0F, 6.0F, new class_5605(0.0F)), class_5603.method_32090(0.0F, 0.0F, 0.0F));
		return class_5607.method_32110(meshdefinition, 64, 64);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy