Skip to content

Commit 4a81c44

Browse files
authored
Improvements to Sodalite and Lazurite (#4297)
1 parent 051964b commit 4a81c44

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"values": [
3+
"gtceu:lazurite_gem",
4+
"gtceu:sodalite_gem"
5+
]
6+
}

src/main/java/com/gregtechceu/gtceu/data/recipe/misc/MiscRecipeLoader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,5 +623,11 @@ public static void init(Consumer<FinishedRecipe> provider) {
623623
.inputItems(Blocks.CHISELED_BOOKSHELF.asItem())
624624
.outputItems(dust, Wood, 6)
625625
.duration(100).EUt(2).save(provider);
626+
627+
// Lazurite and Sodalite to dye
628+
VanillaRecipeHelper.addShapelessRecipe(provider, "lazurite_to_dye", new ItemStack(Items.BLUE_DYE),
629+
new MaterialEntry(gem, Lazurite));
630+
VanillaRecipeHelper.addShapelessRecipe(provider, "sodalite_to_dye", new ItemStack(Items.BLUE_DYE),
631+
new MaterialEntry(gem, Sodalite));
626632
}
627633
}

src/main/java/com/gregtechceu/gtceu/data/tags/ItemTagLoader.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,10 @@ public static void init(RegistrateItemTagsProvider provider) {
189189

190190
provider.addTag(CustomTags.TOOLS_IGNITER)
191191
.addTag(ItemTags.CREEPER_IGNITERS);
192+
193+
// Add sodalite and lazurite as enchanting fuels
194+
provider.addTag(Tags.Items.ENCHANTING_FUELS)
195+
.add(GTMaterialItems.MATERIAL_ITEMS.get(gem, Lazurite).get())
196+
.add(GTMaterialItems.MATERIAL_ITEMS.get(gem, Sodalite).get());
192197
}
193198
}

0 commit comments

Comments
 (0)