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

com.magistuarmory.item.ShieldsSupply Maven / Gradle / Ivy

There is a newer version: 8.10
Show newest version
package com.magistuarmory.item;

import dev.architectury.registry.registries.RegistrySupplier;
import java.util.function.BiFunction;
import net.minecraft.class_1792;


public class ShieldsSupply extends ItemsSupply
{
	public String shieldName;

	public String woodTexture;
	public String stoneTexture;
	public String ironTexture;
	public String goldTexture;
	public String diamondTexture;
	public String netheriteTexture;

	public String copperTexture;
	public String steelTexture;
	public String silverTexture;
	public String tinTexture;
	public String bronzeTexture;

	public ShieldsSupply(BiFunction> workshop, String shieldName)
	{
		super(workshop, new class_1792.class_1793());

		this.shieldName = shieldName;

		this.woodTexture = "entity/" + ModItemTier.WOOD.getMaterialName() + "_" + shieldName;
		this.stoneTexture = "entity/" + ModItemTier.STONE.getMaterialName() + "_" + shieldName;
		this.ironTexture = "entity/" + ModItemTier.IRON.getMaterialName() + "_" + shieldName;
		this.goldTexture = "entity/" + ModItemTier.GOLD.getMaterialName() + "_" + shieldName;
		this.diamondTexture = "entity/" + ModItemTier.DIAMOND.getMaterialName() + "_" + shieldName;
		this.copperTexture = "entity/" + ModItemTier.COPPER.getMaterialName() + "_" + shieldName;
		this.steelTexture = "entity/" + ModItemTier.STEEL.getMaterialName() + "_" + shieldName;
		this.silverTexture = "entity/" + ModItemTier.SILVER.getMaterialName() + "_" + shieldName;
		this.netheriteTexture = "entity/" + ModItemTier.NETHERITE.getMaterialName() + "_" + shieldName;
		this.tinTexture = "entity/" + ModItemTier.TIN.getMaterialName() + "_" + shieldName;
		this.bronzeTexture = "entity/" + ModItemTier.BRONZE.getMaterialName() + "_" + shieldName;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy