diff options
author | GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> | 2023-02-11 22:03:21 +0000 |
---|---|---|
committer | GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> | 2023-02-11 22:03:21 +0000 |
commit | e5e9e2aa889a2b4d8b5599dd069d20eb375226a9 (patch) | |
tree | 264498028163fbd535fffeb9580127ca12d2f01a /src/main | |
parent | 3fe689f805dcff42d5768bbcaa0fff26e0499745 (diff) | |
download | GT5-Unofficial-e5e9e2aa889a2b4d8b5599dd069d20eb375226a9.tar.gz GT5-Unofficial-e5e9e2aa889a2b4d8b5599dd069d20eb375226a9.tar.bz2 GT5-Unofficial-e5e9e2aa889a2b4d8b5599dd069d20eb375226a9.zip |
Fix recipe maybe
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/github/technus/tectech/compatibility/dreamcraft/DreamCraftRecipeLoader.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/DreamCraftRecipeLoader.java b/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/DreamCraftRecipeLoader.java index c889c6626a..1967fb3924 100644 --- a/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/DreamCraftRecipeLoader.java +++ b/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/DreamCraftRecipeLoader.java @@ -8,11 +8,13 @@ import java.lang.reflect.Method; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidRegistry; import net.minecraftforge.fluids.FluidStack; +import vexatos.tgregworks.reference.PartTypes; +import vexatos.tgregworks.util.TGregUtils; + import com.github.technus.tectech.Reference; import com.github.technus.tectech.mechanics.elementalMatter.core.transformations.EMTransformationRegistry; import com.github.technus.tectech.recipe.TT_recipeAdder; @@ -5020,10 +5022,10 @@ public class DreamCraftRecipeLoader { ? FluidRegistry.getFluid("molten.mutatedlivingsolder") : FluidRegistry.getFluid("molten.solderingalloy"); - ItemStack largeShirabonPlate = getModItem("TGregworks", "tGregToolPartLargePlate", 1, 1735); - NBTTagCompound tag = new NBTTagCompound(); - tag.setString("material", "Shirabon"); - largeShirabonPlate.stackTagCompound = tag; + ItemStack largeShirabonPlate = TGregUtils.newItemStack(Materials.get("Shirabon"), PartTypes.LargePlate, 1); + // NBTTagCompound tag = new NBTTagCompound(); + // tag.setString("material", "Shirabon"); + // largeShirabonPlate.stackTagCompound = tag; final FluidStack[] specialFluid = new FluidStack[] { FluidUtils.getFluidStack("molten.shirabon", 1_440), Materials.WhiteDwarfMatter.getMolten(1_440), Materials.WhiteDwarfMatter.getMolten(1_440 * 4), |