/* * Decompiled with CFR 0.152. */ package net.minecraft.world.item.equipment; import java.util.Map; import net.minecraft.core.Registry; import net.minecraft.resources.Identifier; import net.minecraft.resources.ResourceKey; import net.minecraft.util.Util; import net.minecraft.world.item.DyeColor; import net.minecraft.world.item.equipment.EquipmentAsset; public interface EquipmentAssets { public static final ResourceKey> ROOT_ID = ResourceKey.createRegistryKey(Identifier.withDefaultNamespace("equipment_asset")); public static final ResourceKey LEATHER = EquipmentAssets.createId("leather"); public static final ResourceKey COPPER = EquipmentAssets.createId("copper"); public static final ResourceKey CHAINMAIL = EquipmentAssets.createId("chainmail"); public static final ResourceKey IRON = EquipmentAssets.createId("iron"); public static final ResourceKey GOLD = EquipmentAssets.createId("gold"); public static final ResourceKey DIAMOND = EquipmentAssets.createId("diamond"); public static final ResourceKey TURTLE_SCUTE = EquipmentAssets.createId("turtle_scute"); public static final ResourceKey NETHERITE = EquipmentAssets.createId("netherite"); public static final ResourceKey ARMADILLO_SCUTE = EquipmentAssets.createId("armadillo_scute"); public static final ResourceKey ELYTRA = EquipmentAssets.createId("elytra"); public static final ResourceKey SADDLE = EquipmentAssets.createId("saddle"); public static final Map> CARPETS = Util.makeEnumMap(DyeColor.class, color -> EquipmentAssets.createId(color.getSerializedName() + "_carpet")); public static final ResourceKey TRADER_LLAMA = EquipmentAssets.createId("trader_llama"); public static final Map> HARNESSES = Util.makeEnumMap(DyeColor.class, color -> EquipmentAssets.createId(color.getSerializedName() + "_harness")); public static ResourceKey createId(String name) { return ResourceKey.create(ROOT_ID, Identifier.withDefaultNamespace(name)); } }