diff options
author | Alexander Anishin <oneeyemaker@gmail.com> | 2024-12-01 21:26:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-01 19:26:29 +0100 |
commit | 01d44c50d130eb4df7cad5c6718d264e1496d090 (patch) | |
tree | 9461aab28fe18c7d17ec2f8458bb367b3fa7ab9c /src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java | |
parent | 7a794d73cce94c96f86855d7d8596fe0c1dded09 (diff) | |
download | GT5-Unofficial-01d44c50d130eb4df7cad5c6718d264e1496d090.tar.gz GT5-Unofficial-01d44c50d130eb4df7cad5c6718d264e1496d090.tar.bz2 GT5-Unofficial-01d44c50d130eb4df7cad5c6718d264e1496d090.zip |
Fix crystal seeds recipes (#3588)
Diffstat (limited to 'src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java')
-rw-r--r-- | src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java b/src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java index 212943ba7c..13a86c66a9 100644 --- a/src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java +++ b/src/main/java/gregtech/loaders/postload/recipes/AssemblerRecipes.java @@ -1472,29 +1472,41 @@ public class AssemblerRecipes implements Runnable { .eut(TierEU.RECIPE_LV) .addTo(assemblerRecipes); + final ItemStack certusQuartzSeed = getModItem(AppliedEnergistics2.ID, "item.ItemCrystalSeed", 2L, 0); + NBTTagCompound certusQuartzTag = new NBTTagCompound(); + certusQuartzTag.setInteger("progress", 0); + certusQuartzSeed.setTagCompound(certusQuartzTag); GTValues.RA.stdBuilder() .itemInputs( GTOreDictUnificator.get(OrePrefixes.dust, Materials.CertusQuartz, 1), new ItemStack(Blocks.sand, 1, 32767)) - .itemOutputs(getModItem(AppliedEnergistics2.ID, "item.ItemCrystalSeed", 2L, 0)) + .itemOutputs(certusQuartzSeed) .duration(3 * SECONDS + 4 * TICKS) .eut(8) .addTo(assemblerRecipes); + final ItemStack netherQuartzSeed = getModItem(AppliedEnergistics2.ID, "item.ItemCrystalSeed", 2L, 600); + NBTTagCompound netherQuartzTag = new NBTTagCompound(); + netherQuartzTag.setInteger("progress", 600); + netherQuartzSeed.setTagCompound(netherQuartzTag); GTValues.RA.stdBuilder() .itemInputs( GTOreDictUnificator.get(OrePrefixes.dust, Materials.NetherQuartz, 1), new ItemStack(Blocks.sand, 1, 32767)) - .itemOutputs(getModItem(AppliedEnergistics2.ID, "item.ItemCrystalSeed", 2L, 600)) + .itemOutputs(netherQuartzSeed) .duration(3 * SECONDS + 4 * TICKS) .eut(8) .addTo(assemblerRecipes); + final ItemStack fluixSeed = getModItem(AppliedEnergistics2.ID, "item.ItemCrystalSeed", 2L, 1200); + NBTTagCompound fluixTag = new NBTTagCompound(); + fluixTag.setInteger("progress", 1200); + fluixSeed.setTagCompound(fluixTag); GTValues.RA.stdBuilder() .itemInputs( GTOreDictUnificator.get(OrePrefixes.dust, Materials.Fluix, 1), new ItemStack(Blocks.sand, 1, 32767)) - .itemOutputs(getModItem(AppliedEnergistics2.ID, "item.ItemCrystalSeed", 2L, 1200)) + .itemOutputs(fluixSeed) .duration(3 * SECONDS + 4 * TICKS) .eut(8) .addTo(assemblerRecipes); |