MoreJS Ribbits Compat - Frog Trading Customization
This addon was created upon request for a specific modpack and is now available to all players. The modification provides complete control over the frog (ribbits) trading system in your Minecraft world.
With this compatible extension, you can fully customize all aspects of trading with various frog professions. Remove standard offers and create your own unique deals for each profession type. Additionally, you have the ability to adjust the number of available trade offers both globally and for specific professions.
Usage Examples
Here's what the basic code for trade configuration looks like:
MoreJSEvents.villagerTrades((event) => {
event.removeRibbitTrades(); // Remove all standard deals
event.addRibbitTrades("ribbits:gardener", [
VillagerUtils.createSimpleTrade(["minecraft:wheat", "minecraft:wheat"], "minecraft:bread"),
VillagerUtils.createSimpleTrade("3x minecraft:diamond", "minecraft:diamond_sword")
]);
event.addRibbitTrades("ribbits:merchant", [
VillagerUtils.createSimpleTrade(["minecraft:wheat", "minecraft:wheat"], "minecraft:bread"),
VillagerUtils.createSimpleTrade("3x minecraft:diamond", "minecraft:diamond_sword")
]);
event.addRibbitTrades("ribbits:fisherman", [
VillagerUtils.createSimpleTrade(["minecraft:wheat", "minecraft:wheat"], "minecraft:bread"),
VillagerUtils.createSimpleTrade("3x minecraft:diamond", "minecraft:diamond_sword")
]);
});
And here's an example of setting the number of trade offers:
MoreJSEvents.villagerTrades((event) => {
event.setRibbitOfferAmount(15); // Total number of offers
event.setRibbitOfferAmount("ribbits:gardener", 7); // For specific profession
});
This addon is perfect for creating a balanced economy in your modpack and provides unlimited possibilities for gameplay customization.