From 11b78ff1c8ab5cc77f285d2ead4b9cbc4daf4880 Mon Sep 17 00:00:00 2001 From: DStrand1 Date: Sat, 4 Dec 2021 23:37:58 -0600 Subject: [PATCH] add AE2-compatible oredict to Certus Quartz --- .../java/gregtech/api/items/materialitem/MetaPrefixItem.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/gregtech/api/items/materialitem/MetaPrefixItem.java b/src/main/java/gregtech/api/items/materialitem/MetaPrefixItem.java index cb24a0a3d6a..ef2a101792b 100644 --- a/src/main/java/gregtech/api/items/materialitem/MetaPrefixItem.java +++ b/src/main/java/gregtech/api/items/materialitem/MetaPrefixItem.java @@ -83,6 +83,9 @@ private void registerSpecialOreDict(ItemStack item, Material material, OrePrefix OreDictUnifier.registerOre(item, prefix.name() + material.toCamelCaseString() + "239"); } else if (material == Materials.Uranium238) { OreDictUnifier.registerOre(item, prefix.name() + material.toCamelCaseString() + "238"); + } else if (material == Materials.CertusQuartz && prefix == OrePrefix.gem) { + // register OreDict compatible with AE2 + OreDictUnifier.registerOre(item, "crystalCertusQuartz"); } }