Download Mechanics - Crafting Ways — Minecraft Mods — MetaMods
Mechanics - Crafting Ways

Mechanics - Crafting Ways

Active

Downloads

4

Last update

3 years ago
Client
Libraries
Utils

Mechanics - Crafting Ways

This mod provides a collection of alternative crafting methods that can diversify gameplay in modpacks. The mod itself adds almost no ready-made recipes — its main value lies in the ability to configure through CraftTweaker.

Crushing Block

Crushing Block in action

A special block that crushes other blocks when dropped on them, with certain probabilities of obtaining various resources.

mods.mechanics.addCrushingBlockRecipe(
    [<minecraft:iron_ingot>] // item to be crushed
    [<minecraft:gold_ingot>, <minecraft:diamond>], // possible results
    [0.75, 0.25] // probabilities for each result
);

Alloying Furnace

Alloying Furnace

A furnace for smelting two different items into a third. Requires fuel to operate, item order doesn't matter.

mods.mechanics.addAlloyFurnaceRecipe(
    <minecraft:iron_ingot>, // first item
    <minecraft:gold_ingot>, // second item
    <minecraft:diamond> // smelting result
);

Transformation through Nether Portal

Item transformation

Throw items into the Nether portal, and they'll come out transformed on the other side! Works only with 1:1 transformations.

mods.mechanics.addNetherPortalRecipe(
    <minecraft:iron_ingot>, // input item
    <minecraft:gold_ingot> // output item
);

Drying Table

Drying Table

Similar to drying racks from other mods. Transforms one item into another over time.

mods.mechanics.addDryingTableRecipe(
    <minecraft:rotten_flesh>, // source item
    <minecraft:leather> // drying result
);

Or with time specification:

mods.mechanics.addDryingTableRecipe(
    <minecraft:rotten_flesh>, // source item
    <minecraft:leather>, // drying result
    <1200> // time in ticks
);

Martlets

Various martlets

Tools for splitting blocks. Four variants available: stone, iron, gold, and diamond.

mods.mechanics.addMartletRecipe(
    <minecraft:sandstone:0>, // block to split
    <minecraft:sand:0> // dropped item
);

Amplifying Tube

Tube operation

Transforms blocks in the world into other blocks or liquids. Requires placing 2 to 8 tubes vertically above the block to be transformed.

mods.mechanics.addTubeRecipe(
    <minecraft:leaves:0>, // source block
    <liquid:water> // resulting liquid
);

Or for solid blocks:

mods.mechanics.addTubeRecipe(
    <minecraft:cobblestone>, // source block
    <minecraft:stone:0> // resulting block
);

Burst Seeds

Bursting process

Miniature blocks that explode after a random time, creating multiple copies of a resource. Configuration requires creating a "mechanics_burst_seeds.txt" file in the scripts folder.

Example file content:

remove burst_seed_end_stone
burst_seed_sea_lantern minecraft:sea_lantern 0
burst_seed_furnace minecraft:furnace 0 minecraft:furnace_front_off
burst_seed_heavy_block mechanics:heavy_block 0 64 64 mechanics:heavy_block

All CraftTweaker Methods

  • Alloying Furnace: mods.mechanics.addAlloyFurnaceRecipe((IIngredient, IIngredient, IItemStack)
  • Crushing Block: mods.mechanics.addCrushingBlockRecipe(IItemStack[], IItemStack[], double[]) or mods.mechanics.addCrushingBlockRecipe(IItemStack, IItemStack[], double[])
  • Drying Table: mods.mechanics.addDryingTableRecipe((IIngredient, IItemStack) or with time mods.mechanics.addDryingTableRecipe((IIngredient, IItemStack, int)
  • Martlets: mods.mechanics.addMartletRecipe((IIngredient, IItemStack)
  • Nether Portal: mods.mechanics.addNetherPortalRecipe(IItemStack, IItemStack)
  • Amplifying Tube: mods.mechanics.addTubeRecipe(IItemStack, IItemStack) or mods.mechanics.addTubeRecipe(IItemStack[], IItemStack) for blocks, mods.mechanics.addTubeRecipe(IItemStack, ILiquidStack) or mods.mechanics.addTubeRecipe(IItemStack[], ILiquidStack) for liquids
  • Recipe Removal: remove methods available for crushing block, martlets, nether portal, and tubes
Project members
wolforce

wolforce

Created: 22 Apr 2020

ID: 36614