[MineTweaker-Scripts & Mod-Configs] Let's Greg other mods!

  • A folder of scripts. most are only changed slightly, by me trying to get each script to only referencing vanilla's, GT's it's mod's items, and thus moving some of the Minecraft.zs stuff to the correct mod's scripts.


    Added to Git


    https://github.com/Dream-Maste…917f0fc5412409c2fe2319dc1

  • Could somebody help me out here ? I tried adding flour pulverization recipes, they don't return any error but when I look it up in NEI they are not there


    What am I doing wrong ?

  • The syntax looks ok.

    Code
    1. public static void addRecipe(IItemStack[] outputs, IItemStack input, int[] outChances, int durationTicks, int euPerTick)


    Did you import the Pulveriser?

    Code
    1. import mods.gregtech.Pulverizer


    Which Version of Minetweaker and GT Tweaker do you using ?
    In some cases the recipes do not shown because there is one of the ingredientes be a part of a pulveriser recipes all ready.
    I see i make a spelling mistake but you using pulverizer cant see the error here (pulverizer instead of pulveriser)

  • Okay so when I looked at the flour recipe from wheat, there were two recipes for macerator and pulverizer separately.
    First I added the macerator recipes and then I tried adding the pulverizer it only showed the macerator. Ofc the recipe worked for pulverizer too even though it didn't show.
    In order to make them both work and show up you need to add the pulverizer recipes first and the macerator recipes after.


  • Okay so when I looked at the flour recipe from wheat, there were two recipes for macerator and pulverizer separately.
    First I added the macerator recipes and then I tried adding the pulverizer it only showed the macerator. Ofc the recipe worked for pulverizer too even though it didn't show.
    In order to make them both work and show up you need to add the pulverizer recipes first and the macerator recipes after.


    So it works now. Interesting fact with the load order. Have a similar problem before. Good to know.

  • Dunno if you want it or not, but I have a config for Aether 2 mod. GT doesn't have Aether 2 materials so I had to improvise (no long processing chain for aether materials), but I think it works fine.


    Edit: Wait just realised I actually missed something, one second...


    EDIT2: HERE IT IS! (it's for GT5/U I assume that's fine).

    Files

    • Aether.zs.txt

      (6.42 kB, downloaded 209 times, last: )

    The post was edited 1 time, last by mr10movie ().

  • Dunno if you want it or not, but I have a config for Aether 2 mod. GT doesn't have Aether 2 materials so I had to improvise (no long processing chain for aether materials), but I think it works fine.


    Edit: Wait just realised I actually missed something, one second...


    EDIT2: HERE IT IS! (it's for GT5/U I assume that's fine).


    Thanks.


    I add this to Git allready.

  • Hello. I want to add in recipe all plates from GT. The problem is that plates have the same id with other things like dusts. How can i add all plates?


    Ps Sorry for my eng).

  • Hello. I want to add in recipe all plates from GT. The problem is that plates have the same id with other things like dusts. How can i add all plates?


    Ps Sorry for my eng).


    If Minetweaker allowed looping over a range of integers, that could be used to limit it to the plates (since afaik they're in a contiguous range of metadata values), but that wouldn't cover plates from other mods that GT plates might unify toward (e.g. Railcraft steel plates), and afaik Minetweaker hasn't actually added that functionality. I think you'd be better off going through the "Materials" enum and making a script that adds the various plates by ore dictionary to a new "plateAny" ore dictionary entry.
    However, I find it hard to imagine a recipe for which it would make sense to use all plates from plastic to tungstensteel interchangeably.

  • Hey
    I'm trying to change Extra Trees fence recipes. When I write a simple
    recipes.remove(<ExtraTrees:fence:32>); for some reason it removes all fence recipes. What's up with it ? When I write /mt hand in game it shows <ExtraTrees:fence:32>.withTag({meta:32}) but even when I tried that it still didn't work.


  • Hey
    I'm trying to change Extra Trees fence recipes. When I write a simple
    recipes.remove(<ExtraTrees:fence:32>); for some reason it removes all fence recipes. What's up with it ? When I write /mt hand in game it shows <ExtraTrees:fence:32>.withTag({meta:32}) but even when I tried that it still didn't work.


    I am not sure but i think minrtweaker not supports nbt data when removing recipes.
    That's why i not touching the recipes in my pack.

  • Hey
    I'm trying to change Extra Trees fence recipes. When I write a simple
    recipes.remove(<ExtraTrees:fence:32>); for some reason it removes all fence recipes. What's up with it ? When I write /mt hand in game it shows <ExtraTrees:fence:32>.withTag({meta:32}) but even when I tried that it still didn't work.


    Have you tried specifying the inputs of the recipe that you want to remove, instead of just the output?

  • I don't really care if I remove them all. I'd have to do it one by one anyway. This is my script


    First of all no actual assembler recipe without returning any error. Secondly if I look in NEI it looks fine
    But then I put it into a crafting table aaand it's bad.
    The thing I don't understand is every fence has a different meta (ExtraTrees:fence:32, ExtraTrees:fence:33, ExtraTrees:fence:34, etc.). Yes it does have nbt values but so do slabs (for example <ExtraTrees:slab:7>.withTag({meta:7})) and I could add cutting saw recipes for wooden pressure plate from these slabs without a problem.


  • 1138 line:
    recipes.addShaped(<minecraft:clock>), [