Description
Make a mod that adds a common currency and is tradeable with all mobs. Make it so that all mobs have 10 different trades each 5 of then trade you stuff for the currency and the other 5 are vice versa. each trade has something that relates to that animal (EX. Sheep: wool, mutton, wheat, Etc.). If needed add modded things for each animal that can interact with the mob or drop. Things that can be both traded and interacted that is taken from the mob (like a sheep's wool) can't be taken unless through trades. Give each mob 20 custom voice lines that get chosen randomly when the trading window is opened and make all of them funny in a funny voice. make this compatible with other mods.
Mod Wiki
Mob Coin Market
Quickstart
- Craft Market Coins at a crafting table using the [Market Coin recipe](), which makes 4 coins.
- Crouch and use a mob to open its market. Trade the listed items it wants for coins, then spend coins on its stock.
- Trade 10 Market Coins for a Trust Coin in the market. Hold the Trust Coin and use it on the mob you want to befriend; the token is consumed, and trust applies to that mob.
- Craft a Fair Exchange using the [Fair Exchange recipe](), place it, and interact with it to barter ordinary items.
Until a mob trusts you, your non-attack interactions with it—such as feeding, taming, riding, or shearing—are blocked. You can still crouch-use it to open its market.
Overview
Mob Coin Market gives mobs individual themed shops and introduces Market Coins as currency. Trade items to a mob to earn coins, buy items from its stock, or save up for a Trust Coin. A placed Fair Exchange block offers additional fixed-quantity barters.
Opening a mob’s market also displays a randomly chosen joke quip and a mob-themed market pun.
What It Adds
- Market Coin: The shared currency used for mob shops.
- Trust Coin: Spend one on an individual mob to earn its trust and restore ordinary interactions with it.
- Fair Exchange: A placeable block with pages of item-for-item trades.
- Portal Gun and permanent upgrades: Special rewards available through the Fair Exchange’s Dragon Egg offers.
How To Use
Mob markets
Crouch and use a mob to see its offers. Each market has five trades where you give items for coins, five trades where you spend coins for items, and an option to buy a Trust Coin.
The quantity and coin amount are shown in each offer. In general, the five item trades pay 1, 1, 2, 1, and 2 coins for 2, 3, 1, 4, and 2 items, respectively. Shop stock costs 2, 3, 2, 4, and 5 coins; the first stock offer gives 1 item and the other four give 2.
You need the required items or coins and enough inventory space to complete a trade. Stay close to the mob while confirming an offer. After spending a Trust Coin on a mob, use it normally; crouch-use still opens its market.
Mob offer guide
The first column lists items you can trade to earn coins; the second lists items you can buy with coins. The market shows the exact quantities for each offer.
| Mob or group | Trade items for coins | Buy with coins |
|---|---|---|
| Sheep | Wheat, hay block, carrot, sweet berries, beetroot | White wool, mutton, white carpet, string, name tag |
| Cows and mooshrooms | Wheat, hay block, bucket, apple, golden carrot | Milk bucket, leather, beef, cooked beef, name tag |
| Chickens | Wheat seeds, beetroot seeds, pumpkin seeds, melon seeds, bread | Egg, feather, chicken, cooked chicken, name tag |
| Pigs, hoglins, zoglins | Carrot, potato, beetroot, apple, golden carrot | Porkchop, cooked porkchop, leather, saddle, name tag |
| Horses, donkeys, mules, camels, llamas, striders | Golden carrot, golden apple, wheat, hay block, sugar | Saddle, lead, leather, iron horse armor, name tag |
| Wolves | Bone, rotten flesh, beef, mutton, cod | Bone, leather, string, name tag, lead |
| Cats and ocelots | Cod, salmon, tropical fish, rabbit, sweet berries | String, feather, rabbit foot, cod, name tag |
| Rabbits | Carrot, dandelion, wheat, apple, golden carrot | Rabbit, rabbit hide, rabbit foot, leather, name tag |
| Goats | Wheat, hay block, sweet berries, bucket, carrot | Goat horn, milk bucket, mutton, leather, name tag |
| Bees | Dandelion, poppy, blue orchid, sunflower, rose bush | Honey bottle, honeycomb, beehive, flowering azalea, name tag |
| Turtles | Seagrass, kelp, cod, salmon, tropical fish | Turtle scute, seagrass, kelp, nautilus shell, name tag |
| Aquatic mobs, including fish, dolphins, axolotls, squid, guardians, and tadpoles | Seagrass, kelp, cod, salmon, tropical fish | Cod, salmon, tropical fish, pufferfish, prismarine shard |
| Bats, parrots, allays, phantoms, ghasts, blazes, and related flying mobs | Feather, torch, bread, apple, melon slice | Feather, phantom membrane, blaze rod, ghast tear, name tag |
| Spiders, cave spiders, endermites, silverfish | String, rotten flesh, bone, spider eye, fermented spider eye | String, spider eye, fermented spider eye, bone, name tag |
| Villagers, wandering traders, NPCs, pillagers, vindicators, evokers, witches, golems, ravagers | Emerald, wheat, carrot, bread, iron ingot | Emerald, bread, arrow, iron ingot, name tag |
| Zombies, drowned, husks, zombie villagers, zombified piglins, skeletons, strays, wither skeletons, creepers | Rotten flesh, bone, arrow, gunpowder, coal | Rotten flesh, bone, arrow, gunpowder, bow |
| Endermen, the Ender Dragon, shulkers | Ender pearl, chorus fruit, purpur block, obsidian, amethyst shard | Ender pearl, chorus fruit, shulker shell, dragon breath, obsidian |
| Slimes and magma cubes | Slime ball, magma cream, blaze powder, rotten flesh, glowstone dust | Slime ball, magma cream, glowstone dust, blaze powder, name tag |
| Piglins and piglin brutes | Gold ingot, gold nugget, quartz, crimson fungus, warped fungus | Ender pearl, fire charge, obsidian, golden sword, crossbow |
| Pandas, foxes, frogs, sniffers, armadillos, polar bears, wardens, breezes, happy ghasts | Bamboo, sweet berries, wheat, carrot, apple | Bone, leather, feather, scute, name tag |
| The Wither | Soul sand, bone, wither skeleton skull, coal, nether star | Nether star, wither rose, bone, coal, obsidian |
| Other mobs | Wheat, apple, bread, bone, string | Bone, string, leather, rotten flesh, name tag |
Crafting And Obtaining
- Craft 4 Market Coins from gold and copper at a crafting table:
- Craft one Fair Exchange from dirt:
- Buy a Trust Coin for 10 Market Coins through any mob market.
- Obtain the Portal Gun and permanent upgrade rewards through the Fair Exchange’s special offers.
Abilities And Mechanics
Trust and ordinary mob interactions
Trust is earned separately for each mob. Hold a Trust Coin and use it on the mob to consume the token and earn its trust. You can then use that mob’s normal interactions, including actions such as feeding, taming, riding, and shearing where applicable.
Fair Exchange
Interact with a placed Fair Exchange to browse five pages of vanilla-item trades. The offers barter fixed quantities in both directions—for example, wheat for bread, raw materials for ingots, and string for wool. Choose a deal to review its input and output, then confirm to complete it. You need the offered items and inventory space.
The exchange also has five pages of special offers. Four currently provide rewards for one Dragon Egg each:
- Portal Gun
- 30 experience levels
- Permanent hunger-bar bonus
- Permanent extra heart
The other special-offer slots display “Coming Soon!!!”.
Portal Gun
Use the Portal Gun while aiming at a solid surface within 32 blocks. It moves you to the space just above that surface if there is room for your feet and head. It has a short cooldown and will not teleport you if the landing space is obstructed.
Progression And Strategy
Start by selling items you already have to earn your first Market Coins. Compare mob markets for useful goods, then buy a Trust Coin when you want to use a particular mob normally. Keep spare inventory space for trade rewards, and browse the Fair Exchange when you want to swap surplus materials or spend a Dragon Egg on a special reward.
How to install
Download the mod and follow the step-by-step installation guide.
This mod is licensed under the CreativeMode Mods License.