CraftTweaker Integration - bafomdad/uniquecrops GitHub Wiki

CraftTweaker Support (Minecraft 1.12.2 version)

Example script overview file: LINK

Seed Crafting Recipe

Introduced in version 0.1.52 on Minecraft 1.12.2

See Artisia link for some info on what that involves.

Syntax to add a recipe: mods.uniquecrops.SeedCrafting.addRecipe(IItemStack output, IIngredient center, IIngredient corner, IIngredient edge);

Example script: mods.uniquecrops.SeedCrafting.addRecipe(<minecraft:stone>, <minecraft:gravel>, <minecraft:sand>, <ore:logWood>);

With this recipe here it will add a way to craft Stone using Gravel, Sand and any type of Logs (Oredictionary support is included). The center parameter means one type of ingredient will be added to the center, and the edges and corner recipes means that four of one kind of ingredient will be added to the corners and edges, respectively.

Syntax to remove a recipe: mods.uniquecrops.SeedCrafting.removeRecipe(IItemStack output);

Example script: mods.uniquecrops.SeedCrafting.removeRecipe(<uniquecrops:seedcollis>);

The recipe removal script will simply just remove any currently existing seed crafting recipes. In this instance, it will make crafting the Collis seeds impossible to craft with the artisia plants.


Hourglass Conversion Recipe

Introduced in version 0.1.93 on Minecraft 1.12.2

This recipe script adds more blocks for the Hourglass of Nostalgia to convert or change to a different block.

Syntax to add a recipe: mods.uniquecrops.HourglassConversion.addRecipe(IBlock output, IBlock input);

Example script: mods.uniquecrops.HourglassConversion.addRecipe(<uniquecrops:ruinedbricks>, <minecraft:stonebrick>);

This recipe will convert any nearby stone bricks into the mod's own ruined bricks variant.

Syntax to remove a recipe: mods.uniquecrops.HourglassConversion.removeRecipe(IBlock output);

Example script: mods.uniquecrops.HourglassConversion.removeRecipe(<uniquecrops:oldgrass>);

This recipe will stop the Hourglass from converting any nearby grass blocks to the old grass version.


Cobblonia Drops Recipe

Introduced in version 0.1.93 on Minecraft 1.12.2

This recipe script will make the Cobblonia crops have a chance of dropping something other than cobble.

Syntax to add a drop: mods.uniquecrops.CobbloniaDrops.addDrops(IItemStack drop, double weight);

Example script: mods.uniquecrops.CobbloniaDrops.addDrops(<minecraft:diamond>, 10.0);

Adding this example recipe will give the crop a chance of dropping diamond instead of cobble. At its current weight in the loot table, that is a 10% chance.


Mass Heater Recipe

Introduced in version 0.1.93 on Minecraft 1.12.2

Adding a recipe to the Cocito supercrop will make the recipe take priority over vanilla furnace recipes, cooking any item found in the recipe input into their "smelted" variant.

Syntax to add a recipe: mods.uniquecrops.MassHeaterRecipe.addRecipe(IItemStack output, IItemStack input);


Enchanter Recipe

Introduced in version 0.1.93 on Minecraft 1.12.2

To add an enchantment recipe to the Fascino supercrop, one must have the resource location id of the enchantment, followed by the Crop Power cost, and then a list of ingredients. The enchanter can hold up to 5 items, so a maximum list of 5 ingredient inputs is allowed.

Syntax to add a recipe: mods.uniquecrops.Enchantment.addRecipe((String enchantmentLocation, int cost, IIngredient... inputs);

Syntax to remove a recipe: mods.uniquecrops.Enchantment.removeEnchantmentRecipe(String enchantmentLocation);