Understanding Minetweaker

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

CaptPanda

Well-Known Member
Nov 20, 2012
409
182
68
Britland
Hey there, I'm working on a new modpack, and I decided to try and use minetweaker so I can make some custom recipes. However after trying and failing a few times, I caved and used recipe maker. and after using that, I realized that items were named differently than I thought.

What I had done was I used NEI to make a filedump of the names of items. for example, MFR Plastic was <MineFactoryReloaded:plastic.sheet>. However after going and using recipe maker, I saw that it had used <ore:sheetPlastic> instead.

What I want to know is where the hell I go in order to find the appropriate names, because I still want to change a furnace recipe, and make MFR plastic oredictionaried with Pneumaticraft Plastic.
 

Watchful11

Forum Addict
Team Member
Third Party Pack Admin
Nov 6, 2012
3,031
1,351
188
<ore:sheetPlastic> is the ore dictionary entry, <MineFactoryReloaded:plastic.sheet> is the item name. You can get the name of an item by holding it in your hand and issuing the command /mt hand

To add an item to the ore dictionary, simply call the add function

val iron = <ore:ingotIron>;
iron.add(<minecraft:coal>);

(I think you might be able to just do it in one line, without declaring a val, but I don't know for sure without checking.)

So hold the Pneumaticraft plastic in your hand, type /mt hand then add these commands

val plastic = <ore:sheetPlastic>;
plastic.add(<command result here>);

Look here for details on adding and removing recipes to the furnace.
 

CaptPanda

Well-Known Member
Nov 20, 2012
409
182
68
Britland
Thanks! It's really frustrating to do this when there is no documentation of this stuff on the (Minetweaker) wiki.
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
an easy way to do pneumaticcraft's plastics is to do:
Code:
val plastic = <ore:sheetPlastic>;
plastic.add(<pnuematiccraft:plastic:*>);
(I think that's the code for the PC plastic) and that will add them all.
However, unless this is a bug that has been fixed, after adding plastics to the ore dict, I found that some peculiar things happened in the pressure chamber... though I am not sure how much of an issue that is with the new fluid plastic mechanic :)
 
  • Like
Reactions: CaptPanda

Coco12570

New Member
Jul 29, 2019
63
0
0
  1. Install Minetweaker
  2. Start Minecraft
  3. Hold an item in your hand
  4. Do /mt hand
  5. Use the resulting Text in your ZS
  6. If it says something like <minecraft:dirt> is in <ore:blockDirt> then use the one that starts with ore. This is because that means it uses a universal dictionary that is able to tell that Dirt from another mod is just that, dirt. <modname:dirtdirtdirt> is in this dictionary as <ore:blockDirt> so the player will be able to use it in their recipes.
  7. NEVER use an ore dictionary entry as an Output stack. This causes weirdness, corruption and sometimes crashes your whole script
Another valuable tool is /mt reload. It's there for a reason.
 

CreeperShift

Well-Known Member
Dec 31, 2014
99
97
53
F3+H enters debug mode which shows block/item names when you look at them. Find that way more convenient than using /mt hand .
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
  1. Install Minetweaker
  2. Start Minecraft
  3. Hold an item in your hand
  4. Do /mt hand
  5. Use the resulting Text in your ZS
  6. If it says something like <minecraft:dirt> is in <ore:blockDirt> then use the one that starts with ore. This is because that means it uses a universal dictionary that is able to tell that Dirt from another mod is just that, dirt. <modname:dirtdirtdirt> is in this dictionary as <ore:blockDirt> so the player will be able to use it in their recipes.
  7. NEVER use an ore dictionary entry as an Output stack. This causes weirdness, corruption and sometimes crashes your whole script
Another valuable tool is /mt reload. It's there for a reason.
You don't use the ore dict as an output though :p