Mob Coin Market

v3MC Bedrock

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

  1. Craft Market Coins at a crafting table using the [Market Coin recipe](), which makes 4 coins.
  2. Crouch and use a mob to open its market. Trade the listed items it wants for coins, then spend coins on its stock.
  3. 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.
  4. 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 groupTrade items for coinsBuy with coins
SheepWheat, hay block, carrot, sweet berries, beetrootWhite wool, mutton, white carpet, string, name tag
Cows and mooshroomsWheat, hay block, bucket, apple, golden carrotMilk bucket, leather, beef, cooked beef, name tag
ChickensWheat seeds, beetroot seeds, pumpkin seeds, melon seeds, breadEgg, feather, chicken, cooked chicken, name tag
Pigs, hoglins, zoglinsCarrot, potato, beetroot, apple, golden carrotPorkchop, cooked porkchop, leather, saddle, name tag
Horses, donkeys, mules, camels, llamas, stridersGolden carrot, golden apple, wheat, hay block, sugarSaddle, lead, leather, iron horse armor, name tag
WolvesBone, rotten flesh, beef, mutton, codBone, leather, string, name tag, lead
Cats and ocelotsCod, salmon, tropical fish, rabbit, sweet berriesString, feather, rabbit foot, cod, name tag
RabbitsCarrot, dandelion, wheat, apple, golden carrotRabbit, rabbit hide, rabbit foot, leather, name tag
GoatsWheat, hay block, sweet berries, bucket, carrotGoat horn, milk bucket, mutton, leather, name tag
BeesDandelion, poppy, blue orchid, sunflower, rose bushHoney bottle, honeycomb, beehive, flowering azalea, name tag
TurtlesSeagrass, kelp, cod, salmon, tropical fishTurtle scute, seagrass, kelp, nautilus shell, name tag
Aquatic mobs, including fish, dolphins, axolotls, squid, guardians, and tadpolesSeagrass, kelp, cod, salmon, tropical fishCod, salmon, tropical fish, pufferfish, prismarine shard
Bats, parrots, allays, phantoms, ghasts, blazes, and related flying mobsFeather, torch, bread, apple, melon sliceFeather, phantom membrane, blaze rod, ghast tear, name tag
Spiders, cave spiders, endermites, silverfishString, rotten flesh, bone, spider eye, fermented spider eyeString, spider eye, fermented spider eye, bone, name tag
Villagers, wandering traders, NPCs, pillagers, vindicators, evokers, witches, golems, ravagersEmerald, wheat, carrot, bread, iron ingotEmerald, bread, arrow, iron ingot, name tag
Zombies, drowned, husks, zombie villagers, zombified piglins, skeletons, strays, wither skeletons, creepersRotten flesh, bone, arrow, gunpowder, coalRotten flesh, bone, arrow, gunpowder, bow
Endermen, the Ender Dragon, shulkersEnder pearl, chorus fruit, purpur block, obsidian, amethyst shardEnder pearl, chorus fruit, shulker shell, dragon breath, obsidian
Slimes and magma cubesSlime ball, magma cream, blaze powder, rotten flesh, glowstone dustSlime ball, magma cream, glowstone dust, blaze powder, name tag
Piglins and piglin brutesGold ingot, gold nugget, quartz, crimson fungus, warped fungusEnder pearl, fire charge, obsidian, golden sword, crossbow
Pandas, foxes, frogs, sniffers, armadillos, polar bears, wardens, breezes, happy ghastsBamboo, sweet berries, wheat, carrot, appleBone, leather, feather, scute, name tag
The WitherSoul sand, bone, wither skeleton skull, coal, nether starNether star, wither rose, bone, coal, obsidian
Other mobsWheat, apple, bread, bone, stringBone, 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.