Abyssalcraft Remnant Tweaker

Add Abyssalcraft Remnants' Trades Integration with CraftTweaker.

Build With Cleanroom

Overview

This mod adds support for customizing trading mechanics of Remnants in the AbyssalCraft mod using ZenScript.

Usage Examples

import mods.acremnanttweaker.Remnant;

 

Add Trades

1 Item → 1 Item trade
Optionally specify the probability that the trade appears on each Remnant (default is 100%, i.e., 1.0f).

Remnant.addTrade(string job, IIngredient input, IItemStack output, @Optional float probability);

2 Items → 1 Item trade
Optionally specify the probability that the trade appears on each Remnant (default is 100%, i.e., 1.0f).

Remnant.addTrade(string job, IIngredient input1, IIngredient input2, IItemStack output, @Optional float probability);

 

Remove Trades

Remove a specific trade
You may use null for input or output to match any value.

Remnant.removeTrade(string job, IItemStack input, IItemStack output);

Remove all trades for a specific profession

Remnant.removeAllTrades(string job);

 

Adjust Trading Costs

Set the quantity of items required when selling items to a Remnant

Remnant.setItemSellingQuantity(IItemStack item, int min, int max);

Set the coin price required when buying items from a Remnant
Note: The item parameter refers to the product being sold, not the coin itself.

Remnant.setCoinSellingPrice(IItemStack item, int min, int max);

 

Profession ID List

Use the following profession IDs:

farmer — Farmer

librarian — Librarian

priest — Priest

blacksmith — Blacksmith

butcher — Butcher

banker — Banker

master_blacksmith — Master Blacksmith


Note

Although it may theoretically be possible to use Chinese strings for profession IDs, encoding issues may cause them to fail. It is strongly recommended to use the English profession IDs instead.

The Abyssalcraft Remnant Tweaker Team

profile avatar
  • 1
    Followers
  • 3
    Projects
  • 2.4K
    Downloads

More from mc_Edwin