zen-flow
Version:
MineTweaker ZenScript made easy.
1,603 lines (1,589 loc) • 55.4 kB
text/typescript
type Stack = {
id: string;
n: number;
};
type Ingredient = string | Stack;
type Bonus = {
id: string;
chance: number;
};
type Cast = {
id: string;
consume?: boolean;
};
type Shaped = Partial<{
1: string;
2: string;
3: string;
4: string;
5: string;
6: string;
7: string;
8: string;
9: string;
corner: string;
edge: string;
ring: string;
square: string;
center: string;
}>;
type Shapeless = string[];
type Recipe = Shaped | Shapeless;
declare const COLOR: {
readonly black: "\\u00A70";
readonly darkBlue: "\\u00A71";
readonly darkGreen: "\\u00A72";
readonly darkAqua: "\\u00A73";
readonly darkRed: "\\u00A74";
readonly darkPurple: "\\u00A75";
readonly gold: "\\u00A76";
readonly gray: "\\u00A77";
readonly darkGray: "\\u00A78";
readonly blue: "\\u00A79";
readonly green: "\\u00A7a";
readonly aqua: "\\u00A7b";
readonly red: "\\u00A7c";
readonly lightPurple: "\\u00A7d";
readonly yellow: "\\u00A7e";
readonly white: "\\u00A7f";
};
declare const STYLE: {
readonly obfuscated: "\\u00A7k";
readonly bold: "\\u00A7l";
readonly strikethrough: "\\u00A7m";
readonly underline: "\\u00A7n";
readonly italic: "\\u00A7o";
};
type TextRich = {
text: string;
color?: keyof typeof COLOR;
style?: keyof typeof STYLE;
};
type Text = string | TextRich;
type RecipeGrinder = {
input: string;
turns: number;
bonus?: {
primary: Bonus;
secondary?: Bonus;
};
};
/**
* Add [Quartz Grindstone](https://appliedenergistics.org/ae2-site-archive/Quartz-Grindstone/) recipe
*
* Common values:
* - Ingot: `2 turns`
* - Ore: `4 turns`
*
* Bonus `n` must be between 0 and 1
*
* Turns must be larger than 0
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Applied_Energistics_2_Support
*/
declare const addGrinder: (id: Ingredient, recipe: RecipeGrinder) => string;
/**
* Removes [Quartz Grindstone](https://appliedenergistics.org/ae2-site-archive/Quartz-Grindstone/) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Applied_Energistics_2_Support
*/
declare const removeGrinder: (id: string) => string;
type RecipeInscriber = {
top: string;
center: string;
bottom?: string;
type: 'inscribe' | 'press';
};
/**
* Add [Inscriber](https://appliedenergistics.org/ae2-site-archive/Inscriber/index.html) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Applied_Energistics_2_Support
*/
declare const addInscriber: (id: Ingredient, recipe: RecipeInscriber) => string;
/**
* Remove [Inscriber](https://appliedenergistics.org/ae2-site-archive/Inscriber/index.html) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Applied_Energistics_2_Support
*/
declare const removeInscriber: (id: string) => string;
type RecipeCompressor = {
input: Stack;
exact?: boolean;
};
/**
* Add [Neutronium Compressor](https://ftb.fandom.com/wiki/Neutronium_Compressor) recipe
*/
declare const addCompressor: (id: string, recipe: RecipeCompressor) => string;
/**
* Remove [Neutronium Compressor](https://ftb.fandom.com/wiki/Neutronium_Compressor) recipe
*/
declare const removeCompressor: (id: string) => string;
type RecipeExtreme = [
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>,
Partial<[string, string, string, string, string, string, string, string, string]>
];
/**
* Add shaped [Extreme Crafting Table](https://ftb.fandom.com/wiki/Extreme_Crafting_Table) recipe
*/
declare const addExtreme: (ingredient: Ingredient, recipe: RecipeExtreme) => string;
/**
* Remove [Extreme Crafting Table](https://ftb.fandom.com/wiki/Extreme_Crafting_Table) recipe
*/
declare const removeExtreme: (id: string) => string;
type RecipeBlock = {
id: string;
material: string;
texture?: string;
creativeTab?: string;
renderType?: number;
drops?: string[];
/** If set to `true`, `hardness` is set to `-1` */
unbreakable?: boolean;
hardness?: number;
lightLevel?: number;
opacity?: number;
};
/**
* Create custom block
*
* Textures can be placed in `/config/contenttweaker/icons/blocks/<texture>`
*
* Scripts containing `createBlock` must be placed in `/contentScripts`
*
* @see https://minetweaker3.aizistral.com/wiki/ContentTweaker:BlockItem_Support
*/
declare const createBlock: (name: string, recipe: RecipeBlock) => string;
type RecipeItem = {
id: string;
texture?: string;
creativeTab?: string;
damage?: number;
stackSize?: number;
toolType?: string;
level?: number;
is3d?: boolean;
tooltip?: string[];
};
/**
* Create custom item
*
* Scripts containing `createItem` must be placed in `/contentScripts`
*
* Textures can be placed in `/config/contenttweaker/icons/items/<texture>`
*
* @see https://minetweaker3.aizistral.com/wiki/ContentTweaker:BlockItem_Support
*/
declare const createItem: (name: string, recipe: RecipeItem) => string;
type RecipeLiquid = {
density: number;
gaseous?: boolean;
luminosity: number;
temperature: number;
viscosity: number;
color: number;
setFire?: boolean;
castingMaterial?: number;
texture?: {
still?: string;
flowing?: string;
};
};
/**
* Create custom liquid
*
* Scripts containing `createLiquid` must be placed in `/contentScripts`
*
* Textures can be placed in `/config/contenttweaker/icons/blocks/<texture>`
*
* @see https://minetweaker3.aizistral.com/wiki/ContentTweaker:BlockItem_Support
*/
declare const createLiquid: (id: string, recipe: RecipeLiquid) => string;
type RecipeMaterial = {
/** Display name */
name: string;
color: {
/** Display name colour */
name: keyof typeof COLOR;
/** Tool part colour */
tool: number;
};
durability: number;
/** Mining speed */
speed: number;
/** Attack damage in heart */
damage: number;
/** Mining level */
level: number;
resource: string;
reinforced?: number;
stonebound?: number;
modifier: number;
/** TiC material ID */
id: number;
value: number;
buildParts?: boolean;
/** Amount of modifiers accepted */
modifiers: number;
tooltip: string;
arrow: {
mass: number;
breakChance: number;
};
bow: {
drawSpeed: number;
speed: number;
};
nativeModifiers?: Ingredient[];
nativeEnchantments?: string[];
};
/**
* Create custom [Tinkers' Construct material](https://tinkers-construct.fandom.com/wiki/Material_Stats)
*
* Common values:
*
* Mining level:
* - `1` => Iron
* - `2` => Redstone
* - `3` => Obsidian
* - `4` => Cobalt
* - `5` => Manyullyn
*
* Mining speed:
* - `1` => Nothing
* - `2` => Wood
* - `4` => Stone
* - `6` => Iron
* - `8` => Diamond
* - `9` => Netherite
* - `12` => Gold
*
* Durability:
* - `33` => Gold
* - `60` => Wood
* - `132` => Stone
* - `251` => Iron
* - `1562` => Diamond
* - `2032` => Netherite
*
* Damage:
* - `1` => Wood, Gold
* - `1.5` => Stone
* - `2` => Iron
* - `2.5` => Diamond
* - `3` => Netherite
*
* Scripts containing `createMaterial` must be placed in `/contentScripts`
*
* Textures can be placed in `/config/contenttweaker/icons/items/<texture>`
*
* @see https://minetweaker3.aizistral.com/wiki/ContentTweaker:TConstruct_Support
*/
declare const createMaterial: (material: string, recipe: RecipeMaterial) => string;
type RecipeComposter = {
n: number;
color?: string;
};
/**
* Add [Composter](https://ftb.fandom.com/wiki/Barrel_(Ex_Nihilo)) recipe
*
* @param recipe.n Must be between 0 and 1
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const addComposter: (id: string, recipe: RecipeComposter) => string;
/**
* Remove [Composter](https://ftb.fandom.com/wiki/Barrel_(Ex_Nihilo)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const removeComposter: (id: string) => string;
/**
* Add [Crucible](https://ftb.fandom.com/wiki/Crucible_(Ex_Nihilo)) recipe
*
* Common recipes:
* - Stone => Lava (`250mb`)
* - Gravel => Lava (`250mb`)
* - Netherrack => Lava (`1000mb`)
* - Leaves => Water (`100mb`)
* - Snow => Water (`500mb`)
* - Ice => Water (`1000mb`)
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const addCrucible: (liquid: Stack, id: string) => string;
/**
* Remove [Crucible](https://ftb.fandom.com/wiki/Crucible_(Ex_Nihilo)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const removeCrucible: (id: string) => string;
/**
* Add [Crucible](https://ftb.fandom.com/wiki/Crucible_(Ex_Nihilo)) fuel source
*
* Common values:
* - Torch: `0.1`
* - Lava (Flowing): `0.1`
* - Lava (Still): `0.2`
* - Fire: `0.3`
* - Blazing Pyrotheum: `0.7`
* - Uranium Block: `2.0`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const addCrucibleFuel: (id: string, n: number) => string;
/**
* Remove [Crucible](https://ftb.fandom.com/wiki/Crucible_(Ex_Nihilo)) fuel source
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const removeCrucibleFuel: (id: string) => string;
type RecipeHammer = Record<string, number | {
n: number;
modifier: number;
}>;
/**
* Add [Hammer](https://ftb.fandom.com/wiki/Hammer_(Ex_Nihilo)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const addHammer: (id: string, recipe: RecipeHammer) => string;
/**
* Remove [Hammer](https://ftb.fandom.com/wiki/Hammer_(Ex_Nihilo)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const removeHammer: (id: string) => string;
type RecipeSieve = Record<string, number>;
/**
* Add [Sieve](https://ftb.fandom.com/wiki/Sieve_(Ex_Nihilo)) recipe
*
* Chance is calculated as `1 / chance`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const addSieve: (id: string, recipe: RecipeSieve) => string;
/**
* Remove [Sieve](https://ftb.fandom.com/wiki/Sieve_(Ex_Nihilo)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Ex_Nihilo_Support
*/
declare const removeSieve: (id: string) => string;
/**
* Adds [QED](https://ftb.fandom.com/wiki/QED) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Extra_Utilities_Support
*/
declare const addQED: (ingredient: Ingredient, recipe: Shaped) => string;
/**
* Remove [QED](https://ftb.fandom.com/wiki/QED) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Extra_Utilities_Support
*/
declare const removeQED: (id: string) => string;
type RecipeCarpenter = {
recipe: Shaped;
ticks: number;
top?: string;
liquid?: Stack;
};
/**
* Add [Carpenter](https://feed-the-beast.fandom.com/wiki/Carpenter) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addCarpenter: (id: Ingredient, recipe: RecipeCarpenter) => string;
/**
* Remove [Carpenter](https://feed-the-beast.fandom.com/wiki/Carpenter) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeCarpenter: (id: string, liquid?: string) => string;
type RecipeCentrifuge = {
out: Record<string, number>;
ticks: number;
};
/**
* Add [Centrifuge](https://feed-the-beast.fandom.com/wiki/Centrifuge) recipe
*
* @param recipe.out `float`, e.g. `0.8` is 80% chance
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addCentrifuge: (id: string, recipe: RecipeCentrifuge) => string;
/**
* Remove [Centrifuge](https://feed-the-beast.fandom.com/wiki/Centrifuge) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeCentrifuge: (id: string) => string;
type RecipeFermenter = {
liquid: Stack;
catalyst: string;
};
/**
* Add [Fermenter](https://feed-the-beast.fandom.com/wiki/Fermenter) recipe
*
* Recipe.liquid + recipe.catalyst => Liquid
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addFermenter: (liquid: Stack, recipe: RecipeFermenter) => string;
/**
* Remove [Fermenter](https://feed-the-beast.fandom.com/wiki/Fermenter) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeFermenter: (id: string) => string;
type RecipeFermenterFuel = {
cycles: number;
burn: number;
};
/**
* Add [Fermenter](https://feed-the-beast.fandom.com/wiki/Fermenter) fuel recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addFermenterFuel: (id: string, recipe: RecipeFermenterFuel) => string;
/**
* Remove [Fermenter](https://feed-the-beast.fandom.com/wiki/Fermenter) fuel recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeFermenterFuel: (id: string) => string;
type RecipeMoistener = {
input: string;
ticks: number;
};
/**
* Add [Moistener](https://feed-the-beast.fandom.com/wiki/Moistener) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addMoistener: (id: string, recipe: RecipeMoistener) => string;
/**
* Remove [Moistener](https://feed-the-beast.fandom.com/wiki/Moistener) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeMoistener: (id: string) => string;
type RecipeSqueezer = {
input: Ingredient[];
ticks: number;
bonus: Bonus;
};
/**
* Add [Squeezer](https://ftb.fandom.com/wiki/Squeezer_(Forestry)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addSqueezer: (liquid: Stack, recipe: RecipeSqueezer) => string;
/**
* Remove [Squeezer](https://ftb.fandom.com/wiki/Squeezer_(Forestry)) recipe
*
* - Recipe: `undefined` => Remove all recipes
* - Recipe: `string[]` => Remove specific recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeSqueezer: (id: string, recipe?: string[]) => string;
type RecipeStill = {
liquid: Stack;
ticks: number;
};
/**
* Add [Still](https://ftb.fandom.com/wiki/Still) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addStill: (liquid: Stack, recipe: RecipeStill) => string;
/**
* Remove [Still](https://ftb.fandom.com/wiki/Still) recipe
*
* - Recipe: `undefined` => Remove all recipes
* - Recipe: `string[]` => Remove specific recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeStill: (liquid: string, recipe?: string) => string;
type RecipeFabricator = {
recipe: Shaped;
n: number;
cast?: string;
};
/**
* Add [Thermionic Fabricator](https://feed-the-beast.fandom.com/wiki/Thermionic_Fabricator) recipe
*
* `n` is the amount of liquid glass in mb
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addFabricator: (id: string, recipe: RecipeFabricator) => string;
/**
* Remove [Thermionic Fabricator](https://feed-the-beast.fandom.com/wiki/Thermionic_Fabricator) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeFabricator: (id: string) => string;
type RecipeFabricatorGlass = {
n: number;
temp: number;
};
/**
* Add [Thermionic Fabricator](https://feed-the-beast.fandom.com/wiki/Thermionic_Fabricator) glass recipe
*
* Common values:
* - Glass = 1000mB, 1000C
* - Sand = 1000mB, 3000C
* - Glass Pane = 375mB, 1000C
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const addFabricatorGlass: (id: string, recipe: RecipeFabricatorGlass) => string;
/**
* Remove [Thermionic Fabricator](https://feed-the-beast.fandom.com/wiki/Thermionic_Fabricator) glass recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Forestry_Support
*/
declare const removeFabricatorGlass: (id: string) => string;
type RecipeChestLoot = {
chest: string;
n?: number;
chance?: number;
};
/**
* Add item to dungeon loot
*
* Common values:
* - `dungeonChest`
* - `mineshaftChest`
*
* A loot table can be generated using `/mt loot`
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Loot
*/
declare const addChestLoot: (id: string, recipe: RecipeChestLoot) => string;
/**
* Remove item to dungeon loot
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Loot
*/
declare const removeChestLoot: (id: string, chest: string) => string;
/**
* Add item to tall grass
*
* A loot table can be generated using `/mt seeds`
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Loot
*/
declare const addSeed: (id: string) => string;
/**
* Remove item from tall grass
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Loot
*/
declare const removeSeed: (id: string) => string;
/**
* Add shaped crafting recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const addShaped: (item: Ingredient, recipe: Shaped) => string;
/**
* Remove shaped crafting recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const removeShaped: (id: string, recipe?: Shaped) => string;
/**
* Add shapeless crafting recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const addShapeless: (item: Ingredient, recipe: Shapeless) => string;
/**
* Remove shapeless crafting recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const removeShapeless: (id: string, recipe?: Shapeless) => string;
/**
* Add crafting recipe
*
* - Recipe: `{}` => Shaped recipe
* - Recipe: `[]` => Shapeless recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const add: (item: Ingredient, recipe: Recipe) => string;
/**
* Remove all crafting recipes (shaped & shapeless)
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const remove: (id: string) => string;
/**
* Add shaped crafing recipe with mirror
*
* @see @see https://minetweaker3.aizistral.com/wiki/Tutorial:Basic_Recipes
*/
declare const addMirror: (item: Ingredient, recipe: Shaped) => string;
type RecipeFurnace = {
input: string;
xp?: number;
};
/**
* Add furnace recipe
*
* Common values:
* - Coal: `0.1xp`
* - Blocks: `0.1xp`
* - Food: `0.35xp`
* - Iron Ingot: `0.7xp`
* - Gold Ingot: `1xp`
* - Gems: `1xp`
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Furnace
*/
declare const addFurnace: (id: string, recipe: RecipeFurnace) => string;
/**
* Remove furnace recipe
*
* - Recipe: `string` => Remove all recipes that create this ingredient
* - Recipe `{}` => Remove this specific recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Furnace
*/
declare const removeFurnace: (id: string, recipe?: string) => string;
/**
* Add furnace fuel
*
* Common values:
* - Coal: `1600`
* - Planks: `300`
* - Stick: `100`
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Furnace
*/
declare const addFurnaceFuel: (id: string, n: number) => string;
/**
* Remove furnace fuel, with the exception of vanilla fuels
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Furnace
*/
declare const removeFurnaceFuel: (id: string) => string;
/**
* Add an entity to the [Auto-Spawner](https://feed-the-beast.fandom.com/wiki/Auto-Spawner) blacklist, disabling spawning
*
* A list of entities can be generated using `/mt entities`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addBlacklistAutospawner: (id: string) => string;
/**
* Remove an entity to the [Auto-Spawner](https://feed-the-beast.fandom.com/wiki/Auto-Spawner) blacklist, enabling spawning
*
* A list of entities can be generated using `/mt entities`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const removeBlacklistAutospawner: (id: string) => string;
declare const HARVESTER_TYPE: {
tree: string;
leaf: string;
block: string;
column: string;
treeInverse: string;
};
type RecipeHarvester = {
type: keyof typeof HARVESTER_TYPE;
bonus?: Array<string | Stack | Bonus>;
};
/**
* Add harvestable blocks to the [Harvester](https://feed-the-beast.fandom.com/wiki/Harvester)
*
* Types:
* - `tree` => Tree cutting algorithm. Leaves first, then logs
* - `leaf` => Only cut leaves
* - `block` => Single block, such as pumpkins and melons
* - `column` => Stacked blocks, such as reeds and cacti
* - `treeInverse` => Upside-down trees, such as Natura's Bloodwood
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addHarvester: (id: string, recipe: RecipeHarvester) => string;
/**
* Add item to [Laser Drill](https://ftb.fandom.com/wiki/Laser_Drill_(MineFactory_Reloaded))
*
* Common values:
* - Coal => `175`
* - Iron => `150`
* - Redstone => `100`
* - Copper => `90`
* - Tin => `85`
* - Glowstone => `80`
* - Lapis => `80`
* - Gold => `70`
* - Lead => `60`
* - Diamond => `55`
* - Sulfur => `40`
* - Salpeter => `40`
* - Emerald => `35`
* - Silver => `30`
* - Platinum => `15`
*
* A list of laser ores can be generated using `/mt mfr laserores`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addLaserOre: (id: string, weight: number) => string;
/**
* Remove item from [Laser Drill](https://ftb.fandom.com/wiki/Laser_Drill_(MineFactory_Reloaded))
*
* A list of laser ores can be generated using `/mt mfr laserores`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const removeLaserOre: (id: string) => string;
declare const FOCI: {
readonly white: 0;
readonly orange: 1;
readonly magenta: 2;
readonly lightBlue: 3;
readonly yellow: 4;
readonly lime: 5;
readonly pink: 6;
readonly gray: 7;
readonly lightGray: 8;
readonly cyan: 9;
readonly purple: 10;
readonly blue: 11;
readonly brown: 12;
readonly green: 13;
readonly red: 14;
readonly black: 15;
};
/**
* Add item to [Laser Drill](https://ftb.fandom.com/wiki/Laser_Drill_(MineFactory_Reloaded)) Foci
*
* Common values:
* - Coal => `175 (black)`
* - Iron => `150 (brown)`
* - Redstone => `100 (red)`
* - Copper => `90 (orange)`
* - Tin => `85 (silver)`
* - Glowstone => `80 (yellow)`
* - Lapis => `80 (blue)`
* - Gold => `70 (yellow)`
* - Lead => `60 (purple)`
* - Diamond => `55 (lightBlue)`
* - Sulfur => `40 (yellow)`
* - Salpeter => `40 (white)`
* - Emerald => `35 (lime)`
* - Silver => `30 (gray)`
* - Platinum => `15 (lightBlue)`
*
* A list of laser ores can be generated using `/mt mfr laserores`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addLaserFoci: (id: string, foci: keyof typeof FOCI) => string;
/**
* Remove item from [Laser Drill](https://ftb.fandom.com/wiki/Laser_Drill_(MineFactory_Reloaded)) Foci
*
* A list of laser ores can be generated using `/mt mfr laserores`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const removeLaserFoci: (id: string, foci: keyof typeof FOCI) => string;
type RecipeLaser = {
foci: keyof typeof FOCI;
weight: number;
};
/**
* Add item to [Laser Drill](https://ftb.fandom.com/wiki/Laser_Drill_(MineFactory_Reloaded)) and Foci. Combines `addLaserOre` and `addLaserFoci`
*
* Common values:
* - Coal => `175 (black)`
* - Iron => `150 (brown)`
* - Redstone => `100 (red)`
* - Copper => `90 (orange)`
* - Tin => `85 (silver)`
* - Glowstone => `80 (yellow)`
* - Lapis => `80 (blue)`
* - Gold => `70 (yellow)`
* - Lead => `60 (purple)`
* - Diamond => `55 (lightBlue)`
* - Sulfur => `40 (yellow)`
* - Salpeter => `40 (white)`
* - Emerald => `35 (lime)`
* - Silver => `30 (gray)`
* - Platinum => `15 (lightBlue)`
*
* A list of laser ores can be generated using `/mt mfr laserores`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addLaser: (id: string, recipe: RecipeLaser) => string;
/**
* Add [Planter](https://ftb.fandom.com/wiki/Planter_(MineFactory_Reloaded)) recipe
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addPlanter: (id: string) => string;
/**
* Add [Rubber Tree](https://ftb.fandom.com/wiki/Rubber_Tree_(MineFactory_Reloaded)) to biome, allowing rubber trees to be generated in that biome
*
* A list of biomes can be generated using `/mt biomes`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addBiomeRubberTree: (id: string) => string;
/**
* Remove [Rubber Tree](https://ftb.fandom.com/wiki/Rubber_Tree_(MineFactory_Reloaded)) from biome, disabling rubber trees from being generated in that biome
*
* A list of biomes can be generated using `/mt biomes`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const removeBiomeRubberTree: (id: string) => string;
/**
* Add item to [Sludge Boiler](https://ftb.fandom.com/wiki/Sludge_Boiler)
*
* Common values:
* - Peat => `10`
* - Decaying Wheat => `20`
* - Sand => `50`
* - Clay Block => `30`
* - Dirt => `10`
* - Gravel => `10`
* - Red Sand => `5`
* - Soul Sand => `5`
* - Mycelium => `3`
* - Podzol => `2`
* - Netherrack => `1`
*
* A list of sludge drops can be generated using `/mt mfr sludgedrops`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const addSludgeBoiler: (id: string, weight: number) => string;
/**
* Remove item from [Sludge Boiler](https://ftb.fandom.com/wiki/Sludge_Boiler)
*
* A list of sludge drops can be generated using `/mt mfr sludgedrops`
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:MFR_Support
*/
declare const removeSludgeBoiler: (id: string) => string;
/**
* Hide item from NEI
*
* Some items may not get hidden depending on when they get added to NEI. For better support, see [INpureCore](https://www.curseforge.com/minecraft/mc-mods/inpurecore)
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:NEI_Support
*/
declare const hide: (id: string) => string;
/**
* Add item from NEI
*
* Can be used to add items with metadata to NEI
*
* @example add('<minecraft:bread>.withTag({ display: { Name: "Tasty bread", Lore: ["Thanks to MineTweaker,", "We can now have tastier bread"] } });')
* @see https://minetweaker3.aizistral.com/wiki/Mods:NEI_Support
*/
declare const show: (id: string) => string;
/**
* Rename item in NEI
*
* @see https://minetweaker3.aizistral.com/wiki/Mods:NEI_Support
*/
declare const rename: (id: string, name: string) => string;
/**
* Add item to a valid ore dictionary
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Ore_Dictionary
*/
declare const addOreDict: (dict: string) => (id: string) => string;
/**
* Remove item from valid ore dictionary
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Ore_Dictionary
*/
declare const removeOreDict: (dict: string) => (id: string) => string;
/**
* Add all entries from `b` into `a`
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Ore_Dictionary
*/
declare const joinOreDict: (a: string, b: string) => string;
/**
* Mirror all entries from `b` to `a`
*
* @see https://minetweaker3.aizistral.com/wiki/Tutorial:Ore_Dictionary
*/
declare const mirrorOreDict: (a: string, b: string) => string;
declare const withName: (name: Text) => (id: string) => string;
declare const withTag: (tag: Record<string, unknown>) => (id: string) => string;
declare const ENCHANTMENTS: {
readonly protection: 0;
readonly fireProtection: 1;
readonly featherFalling: 2;
readonly blastProtection: 3;
readonly projectileProtection: 4;
readonly respiration: 5;
readonly aquaAffinity: 6;
readonly thorns: 7;
readonly sharpness: 16;
readonly smite: 17;
readonly baneOfAntrophods: 18;
readonly knockback: 19;
readonly fireAspect: 20;
readonly looting: 21;
readonly efficiency: 32;
readonly silkTouch: 33;
readonly unbreaking: 34;
readonly fortune: 35;
readonly power: 48;
readonly punch: 49;
readonly flame: 50;
readonly infinity: 51;
};
type Enchantment = {
id: number;
lvl: number;
};
declare const withEnchantment: (...enchantments: Enchantment[]) => (id: string) => string;
declare const withTooltip: (...tooltip: Text[]) => (id: string) => string;
declare const withTooltipShift: (...tooltip: Text[]) => (id: string) => string;
type RecipeMagmaCrucible = {
rf: number;
input: string;
};
/**
* Add [Magma Crucible](https://oldcofh.github.io/docs/thermal-expansion/machines/magma-crucible/) recipe
*
* Common values:
* - Cobblestone => `1000mB`, `320.000 RF`
* - Stone => `1000mB`, `320.000 RF`
* - Obsidian => `1000mB`, `320.000 RF`
* - Netherrack => `1000mB`, `120.000 RF`
* - Blaze Rod => `250mB`, `20.000 RF`
* - Snowball => `125mB`, `200 RF`
* - Snow (block) => `500mB`, `800 RF`
* - Ice => `1000mB`, `1600 RF`
* - Redstone (dust) => `100mB`, `8000 RF`
* - Block of Redstone => `900mB`, `72.000 RF`
* - Glowstone Dust => `250mB`, `20.000 RF`
* - Glowstone (block) => `1000mB`, `80.000 RF`
* - Ender Pearl => `250mB`, `20.000 RF`
* - Pulverized Coal => `100mB`, `8000 RF`
* - Pyrotheum Dust => `250mB`, `8000 RF`
* - Cryotheum Dust => `250mB`, `8000 RF`
* - Aerotheum Dust => `250mB`, `8000 RF`
* - Petrotheum Dust => `250mB`, `8000 RF`
*
* A list of recipes can be generated using `/mt thermalexpansion Crucible`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addMagmaCrucible: (liquid: Stack, recipe: RecipeMagmaCrucible) => string;
/**
* Remove [Magma Crucible](https://oldcofh.github.io/docs/thermal-expansion/machines/magma-crucible/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Crucible`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeMagmaCrucible: (id: string) => string;
type RecipeRedstoneFurnace = {
rf: number;
input: string;
};
/**
* Add [Redstone Furnace](https://oldcofh.github.io/docs/thermal-expansion/machines/redstone-furnace/) recipe
*
* Common values:
* - Most Furnace recipes => `1600 RF`
* - Pulverized metals (dusts) => `1000 RF`
* - Raw food => `800 RF`
* - Cactus => `800 RF`
* - Redstone Ore => `1600 RF`
* - Lapis Lazuli Ore => `1600 RF`
* - Hay Bale => `3200 RF`
*
* A list of recipes can be generated using `/mt thermalexpansion Furnace`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addRedstoneFurnace: (item: Ingredient, recipe: RecipeRedstoneFurnace) => string;
/**
* Remove [Redstone Furnace](https://oldcofh.github.io/docs/thermal-expansion/machines/redstone-furnace/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Furnace`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeRedstoneFurnace: (id: string) => string;
type RecipeInsolator = {
rf: number;
input: {
left: Ingredient;
right: Ingredient;
};
bonus?: Bonus;
};
/**
* Add [Phytogenic Insolator](https://oldcofh.github.io/docs/thermal-expansion/machines/phytogenic-insolator/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Insolator`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addInsolator: (item: Ingredient, recipe: RecipeInsolator) => string;
/**
* Remove [Phytogenic Insolator](https://oldcofh.github.io/docs/thermal-expansion/machines/phytogenic-insolator/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Insolator`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeInsolator: (input: {
left: string;
right: string;
}) => string;
type RecipePulverizer = {
rf: number;
input: string;
bonus?: Bonus;
};
/**
* Add [Pulverizer](https://oldcofh.github.io/docs/thermal-expansion/machines/pulverizer/) recipe
*
* Common values:
* - Ores => `4000RF`
* - Minerals / Gems => `2400RF`
* - Redstone => `3200RF`
* - Ingots => `2400RF`
* - Wood => `1600RF`
* - Stone = > `3200RF`
* - Rods => `1600RF`
* - Wool => `1600RF`
*
* A list of recipes can be generated using `/mt thermalexpansion Pulverizer`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addPulverizer: (item: Ingredient, recipe: RecipePulverizer) => string;
/**
* Remove [Pulverizer](https://oldcofh.github.io/docs/thermal-expansion/machines/pulverizer/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Pulverizer`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removePulverizer: (id: string) => string;
type RecipeSawmill = {
rf: number;
input: string;
bonus?: Bonus;
};
/**
* Add [Sawmill](https://oldcofh.github.io/docs/thermal-expansion/machines/sawmill/) recipe
*
* Common values:
* - Log => `800RF`
* - Rubber Log => `1200RF`
* - Blocks => `2400RF`
* - Items => `2400RF`
* - Tools => `1600RF`
* - Melon => `800RF`
*
* A list of recipes can be generated using `/mt thermalexpansion Sawmill`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addSawmill: (item: Ingredient, recipe: RecipeSawmill) => string;
/**
* Remove [Sawmill](https://oldcofh.github.io/docs/thermal-expansion/machines/sawmill/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Sawmill`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeSawmill: (id: string) => string;
type RecipeInductionSmelter = {
rf: number;
input: [Ingredient, Ingredient];
bonus?: Bonus;
};
/**
* Add [Induction Smelter](https://oldcofh.github.io/docs/thermal-expansion/machines/induction-smelter/) recipe
*
* Common values:
* - Alloys => `1600RF`, `2400RF`
* - Sand + Dust => `800RF`
* - Sand + Ore => `3200RF`
* - Cinnabar + Ore => `4000RF`
* - Pyrotheum + Ore => `4000RF`, `8000RF`
* - Slag + Ore => `4000RF`
*
* A list of recipes can be generated using `/mt thermalexpansion Smelter`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addInductionSmelter: (item: Ingredient, recipe: RecipeInductionSmelter) => string;
/**
* Remove [Induction Smelter](https://oldcofh.github.io/docs/thermal-expansion/machines/induction-smelter/) recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Smelter`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeInductionSmelter: (input: {
left: string;
right: string;
}) => string;
type RecipeTransposerFill = {
rf: number;
input: string;
liquid: Stack;
};
/**
* Add [Fluid Transposer](https://oldcofh.github.io/docs/thermal-expansion/machines/fluid-transposer/) fill recipe
*
* Common values:
* - Ducts => `800RF`
* - Frame => `16.000RF`
* - Blend => `4000RF`
* - Powder => `4000RF`
* - Stone => `8000RF`
*
* A list of recipes can be generated using `/mt thermalexpansion Transposer`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addTransposerFill: (item: Ingredient, recipe: RecipeTransposerFill) => string;
/**
* Remove [Fluid Transposer](https://oldcofh.github.io/docs/thermal-expansion/machines/fluid-transposer/) fill recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Transposer`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeTransposerFill: (input: {
id: string;
liquid: string;
}) => string;
type RecipeTransposerExtract = {
rf: number;
input: string;
bonus: Bonus;
};
/**
* Add [Fluid Transposer](https://oldcofh.github.io/docs/thermal-expansion/machines/fluid-transposer/) extract recipe
*
* Common values:
* - Bucket: `800RF, 1000mB`
* - Bottle: `1600RF, 1000mB`
*
* A list of recipes can be generated using `/mt thermalexpansion Transposer`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const addTransposerExtract: (liquid: Stack, recipe: RecipeTransposerExtract) => string;
/**
* Remove [Fluid Transposer](https://oldcofh.github.io/docs/thermal-expansion/machines/fluid-transposer/) extract recipe
*
* A list of recipes can be generated using `/mt thermalexpansion Transposer`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thermal_Expansion_Support
*/
declare const removeTransposerExtract: (id: string) => string;
type RecipeCastingBasin = {
liquid: Stack;
ticks: number;
cast?: Cast;
};
/**
* Add [Casting Basin](https://tinkers-construct.fandom.com/wiki/Casting_Basin) recipe
*
* Common values:
* - Ticks => `20`
* - Liquid (Block) => `1296`
* - Liquid (Ingot) => `144`
*
* Recipes can be generated using `/mt tconstruct Casting`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addCastingBasin: (id: string, recipe: RecipeCastingBasin) => string;
/**
* Remove [Casting Basin](https://tinkers-construct.fandom.com/wiki/Casting_Basin) recipe
*
* Recipes can be generated using `/mt tconstruct Casting`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeCastingBasin: (id: string) => string;
type RecipeCastingTable = {
liquid: Stack;
ticks: number;
cast?: Cast;
};
/**
* Add [Casting Basin](https://tinkers-construct.fandom.com/wiki/Casting_Basin) recipe
*
* Common values:
* - Ticks => `20`
* - Liquid (Ingot) => `144`
*
* Recipes can be generated using `/mt tconstruct Casting`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addCastingTable: (id: string, recipe: RecipeCastingTable) => string;
/**
* Remove [Casting Basin](https://tinkers-construct.fandom.com/wiki/Casting_Table) recipe
*
* Recipes can be generated using `/mt tconstruct Casting`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeCastingTable: (id: string) => string;
type RecipeDryingRack = {
input: string;
ticks: number;
};
/**
* Add [Drying Rack](https://tinkers-construct.fandom.com/wiki/Drying_Rack) recipe
*
* Common values:
* - `6000` ticks
*
* Recipes can be generated using `/mt tconstruct Drying`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addDryingRack: (id: string, recipe: RecipeDryingRack) => string;
/**
* Remove [Drying Rack](https://tinkers-construct.fandom.com/wiki/Drying_Rack) recipe
*
* Recipes can be generated using `/mt tconstruct Drying`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeDryingRack: (id: string) => string;
declare const MODIFIERS: {
readonly lvl1: "Tier1Free";
readonly lvl2: "Tier1.5Free";
readonly lvl3: "Tier2Free";
readonly silkTouch: "Silk Touch";
readonly luck: "Lapis";
readonly fiery: "Blaze";
readonly sharpness: "ModAttack";
readonly beheading: "Beheading";
readonly diamond: "Diamond";
readonly reinforced: "Reinforced";
readonly haste: "Redstone";
readonly necrotic: "Necrotic";
readonly emerald: "Emerald";
readonly smite: "ModSmite";
readonly knockback: "Piston";
readonly baneOfAnthropods: "ModAntiSpider";
readonly flux: "Flux";
};
/**
* Remove [Modifier](https://tinkers-construct.fandom.com/wiki/Modifiers)
*
* A list of modifiers can be generated from `/mt modifiers`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeModifier: (id: string) => string;
type RecipeSmelteryFluid = {
input: string;
temperature: number;
render?: string;
};
/**
* Add [Smeltery](https://tinkers-construct.fandom.com/wiki/Smeltery) fluid recipe
*
* Common values:
* - Lava => `1000`
* - Pyrotheum => `5000`
*
* A list of recipes can be generated from `/mt tconstruct Smeltery`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addSmelteryFluid: (liquid: Stack, recipe: RecipeSmelteryFluid) => string;
/**
* Remove [Smeltery](https://tinkers-construct.fandom.com/wiki/Smeltery) fluid recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeSmelteryFluid: (id: string) => string;
/**
* Add [Smeltery](https://tinkers-construct.fandom.com/wiki/Smeltery) alloy recipe
*
* A list of recipes can be generated from `/mt tconstruct Smeltery`
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addSmelteryAlloy: (alloy: Stack, recipe: Stack[]) => string;
/**
* Remove [Smeltery](https://tinkers-construct.fandom.com/wiki/Smeltery) alloy recipe
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeSmelteryAlloy: (id: string) => string;
type RecipeSmelteryFuel = {
temperature: number;
ticks: number;
};
/**
* Add [Smeltery](https://tinkers-construct.fandom.com/wiki/Smeltery) fuel
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addSmelteryFuel: (id: string, recipe: RecipeSmelteryFuel) => string;
/**
* Remove [Smeltery](https://tinkers-construct.fandom.com/wiki/Smeltery) fuel
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeSmelteryFuel: (id: string) => string;
declare const MATERIALS: {
readonly wood: "Wood";
readonly stone: "Stone";
readonly iron: "Iron";
readonly flint: "Flint";
readonly cactus: "Cactus";
readonly bone: "Bone";
readonly obsidian: "Obsidian";
readonly alumite: "Alumite";
readonly netherrack: "Netherrack";
readonly slimeBlue: "Blue Slime";
readonly slimeGreen: "Green Slime";
readonly paper: "Paper";
readonly cobalt: "Cobalt";
readonly ardite: "Ardite";
readonly manyullyn: "Manyullyn";
readonly copper: "Copper";
readonly bronze: "Bronze";
readonly steel: "Steel";
readonly pigIron: "Pig Iron";
readonly lead: "Lead";
readonly silver: "Silver";
readonly ferrous: "Ferrous";
readonly shiny: "Shiny";
readonly electrum: "Electrum";
readonly invar: "Invar";
readonly woodMagical: "Magical Wood";
readonly bedrock: "Bedrockium";
readonly unstable: "Unstable Induced";
};
type RecipeRepairMaterial = {
material: string;
n: number;
};
/**
* Add repair [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats)
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const addRepairMaterial: (id: string, recipe: RecipeRepairMaterial) => string;
/**
* Remove repair [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats)
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const removeRepairMaterial: (id: string, material?: string) => string;
type RecipeToolStats = {
/** Display name */
name: string;
color: {
/** Display name colour */
name: keyof typeof COLOR;
/** Tool part colour */
tool: number;
};
durability: number;
/** Mining speed */
speed: number;
/** Attack damage in heart */
damage: number;
/** Mining level */
level: number;
reinforced?: number;
stonebound?: number;
/** Handle modifier */
modifier: number;
};
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) stats
*
* Common values:
*
* Level:
* - `1` => Iron
* - `2` => Redstone
* - `3` => Obsidian
* - `4` => Cobalt
* - `5` => Manyullyn
*
* Speed:
* - `1` => Nothing
* - `2` => Wood
* - `4` => Stone
* - `6` => Iron
* - `8` => Diamond
* - `9` => Netherite
* - `12` => Gold
*
* Durability:
* - `33` => Gold
* - `60` => Wood
* - `132` => Stone
* - `251` => Iron
* - `1562` => Diamond
* - `2032` => Netherite
*
* Damage:
* - `1` => Wood, Gold
* - `1.5` => Stone
* - `2` => Iron
* - `2.5` => Diamond
* - `3` => Netherite
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialStats: (material: string, recipe: RecipeToolStats) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) display name
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialName: (material: string, name: string) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) mining level
*
* Common values:
* - `0` => Stone
* - `1` => Iron
* - `2` => Redstone
* - `3` => Obsidian
* - `4` => Cobalt
* - `5` => Manyullyn
* - `7` => Bedrockium
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialMiningLevel: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) durability
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialDurability: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) mining speed
*
* Common values:
* - `1.5` => Blue / Green Slime
* - `2.0` => Paper
* - `3.5` => Wood
* - `4.0` => Stone
* - `5.0` => Cactus
* - `6.0` => Iron
* - `7.0` => Obsidian
* - `8.0` => Alumite
* - `9.0` => Manyullyn
* - `14.0` => Cobalt
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialSpeed: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) damage
*
* Common values:
* - `0` => Wood, Blue / Green Slime, Paper
* - `0.5` => Stone, Bone, Netherrack
* - `1` => Iron, Flint, Cactus
* - `1.5` => Alumite, Cobalt, Ardite
* - `2` => Manyullyn
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialDamage: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) handle modifier
*
* Common values:
* - `0.3` => Paper
* - `0.5` => Stone
* - `0.7` => Flint
* - `0.8` => Obsidian
* - `1` => Wood, Cactus, Bone
* - `1.2` => Netherrack
* - `1.3` => Iron, Alumite
* - `1.5` => Green Slime
* - `1.75` => Cobalt
* - `2` => Blue Slime, Ardite
* - `2.5` => Manyullyn
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialHandleModifier: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) reinforced level
*
* Common values:
* - `1` => Iron
* - `2` => Alumite, Cobalt
* - `3` => Obsidian
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialReinforcedLevel: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) stonebound level
*
* Common values:
* - `1` => Stone, Netherrack
* - `2` => Ardite
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialLevelStonebound: (material: string, n: number) => string;
/**
* Set [Material](https://tinkers-construct.fandom.com/wiki/Material_Stats) display name colour
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setMaterialStyle: (material: string, style: keyof typeof COLOR) => string;
type RecipeBowStats = {
durability: number;
drawSpeed: number;
flightSpeed: number;
};
/**
* Set bow [Material](https://github.com/SlimeKnights/TinkersConstruct/blob/9ea7a0e60fe180aff591701b12c89da21da99289/src/main/java/tconstruct/weaponry/TinkerWeaponry.java#L312) stats
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setBowMaterialStats: (material: string, recipe: RecipeBowStats) => string;
/**
* Set bow [Material](https://tinkers-construct.fandom.com/wiki/Shortbow) durability
*
* @see https://minetweaker3.aizistral.com/wiki/ModTweaker:TConstruct_Support
*/
declare const setBowMaterialDurability: (material: string, durability: number) => string;
/**
* Set bow [Ma