GT6 Tweaker: Enhanced MTUtils Version
This modification represents an unofficial continuation of MTUtils - a plugin for MineTweaker in Minecraft 1.7.10 that was abandoned by the original developer. The mod fixes found bugs and adds new features for modpack creators.
What is GT6 Tweaker for?
GT6 Tweaker provides modpack creators with an extended toolkit for fine-tuning game mechanics. You can change item and block properties, convert values between different data types, and set special resource drop parameters when blocks are destroyed.
Main Commands
Item Configuration
import mods.MTUtils;
MTUtils.setItemMaxDamage(itemstack, damage);
MTUtils.getItemMaxDamage(itemstack); // Returns int
MTUtils.getItemDamage(itemstack); // Returns int
Block Modification
MTUtils.setHarvestLevel(itemstack, String tooltip, int harvestLevel);
MTUtils.setBlockUnbreakable(itemstack);
MTUtils.setHardness(itemstack, float hardness);
MTUtils.setLightLevel(itemstack, float lightLevel);
MTUtils.setLightOpacity(itemstack, int lightOpacity);
MTUtils.setResistance(itemstack, float resistance);
MTUtils.setTextureName(itemstack, String texturename);
// ... parameter retrieval methods
Data Utilities
MTUtils.getIntFromString(string); // Converts string to integer
MTUtils.getFloatFromString(string); // Converts string to float
MTUtils.getStringFromInt(int); // Converts integer to string
MTUtils.getStringFromFloat(float); // Converts float to string
// ... other conversion methods
Drop System
MTUtils.clearDrops(); // Clears drop map
MTUtils.setBlockDrops(@Nullable IItemStack harvester, IItemStack block, IItemStack drops[], float quantiDrop[], IItemStack falseDrops[]);
GregTech Integration
Special functionality is included for working with GregTech 6. Use the in-game command to get a machine key:
/MTUtils GTkey "Canner"
Working with GregTech Recipes
import mods.MTUtilsGT;
MTUtilsGT.addCustomRecipe("gt.recipe.canner", false, 128, 128, [10000], [<minecraft:cobblestone>], [<liquid:soda>500], [<liquid:water>500], [<minecraft:diamond>]);
Fluid Replacement in Recipes
MTUtilsGT.addFluidInput(<liquid:soda>,<liquid:mineralsoda>);
MTUtilsGT.addFluidInput([ [<liquid:soda>,<liquid:mineralsoda>] ]);
Minechem Integration
For GregTech and Minechem compatibility, fluid mapping is provided:
MTUtilsGT.addFluidInput([
[<liquid:molten.aluminium>, <liquid:element.al>],
[<liquid:molten.antimony>, <liquid:element.sb>],
// ... other fluid mappings
]);
The modification includes support for Underground Biomes Constructs API through configuration files.