Project MMO: Farmer's Delight Compat

Quick rating

Community listing page, reviews here may not be monitored by the author.

Project MMO: Farmer's Delight Compat

By SilvertideOwner

No reviews yet

Farmer's Delight cooking blocks now grant XP for the items they create.

Mod Loaders
Minecraft

About

Description

Farmer's Delight × Project MMO

Requires Farmer's Delight and Project MMO.


What it does

Bridges Project MMO into Farmer's Delight cooking, so your players actually earn XP when they use the Stove, Cooking Pot, Skillet, and Cutting Board.

Block Event
Stove, Cooking Pot, Skillet SMELTED (or SMELT, configurable)
Cutting Board CRAFT

Note: Cooking with the skillet in hand next to a heat source always emits the SMELT event.

This should also work with most Farmer's Delight expansion mods, as long as their recipes use Farmer's Delight cooking blocks or extend it's classes when implementing the blocks.


How to use it

Add XP for the appropriate event on any food item these blocks produce, and you're done:

  • MC 1.20.1, and MC 1.21.1 before v1.1.0 — use SMELT
  • MC 1.21.1 from v1.1.0 onward — use SMELTED (or SMELT if configured, v1.2.0+)
  • Cutting Board recipes — use CRAFT

Important: XP is based on the result, not the ingredients

Vanilla furnaces and campfires award XP from the raw input (e.g. raw beef → cooked steak gives XP for raw beef). Farmer's Delight cooking blocks in this mod award XP from the finished food item instead (the steak).

Why? Most Farmer's Delight recipes use several ingredients, so anchoring XP to the result keeps configuration simple and predictable.

What this means for you:

  • To give XP for both vanilla cooking and Farmer's Delight cooking, configure XP on both the raw item and the cooked item.
  • Want to nudge players toward Farmer's Delight blocks? Give the cooked item more XP than the raw one.
  • Want parity? Set both to the same values.

Compatibility & notes

  • Should be compatible with all other mods. If you find a conflict, please open an issue on GitHub.
  • Not getting XP? Double-check your Project MMO configuration first — that's where the XP values live.
  • This mod uses mixins into Farmer's Delight. A future Farmer's Delight update could in theory break them. If that happens, fixes will land quickly; in the meantime, just hold off on updating Farmer's Delight. Updates are infrequent (once or twice per MC version), so this is unlikely — especially on 1.20.1.

Modpack policy

Free to use in any non-commercial modpack. Please link back to this page. Do not redistribute on other sites or include in for-profit packs.


Credits

Huge thanks to Caltinor (developer of Project MMO) for endless help on this mod and many others, and to LlamaLad7 — the wizard of mixins on the NeoForge Discord.

This mod requires Farmer's Delight and Project MMO to use.

About


This mod adds compatibility between Project MMO and Farmer's Delight and likely most of the Farmer's Delight expansion mods if their recipes use the Farmer's Delight cooking blocks.

The Stove, Cooking Pot, and Skillet will now grant XP for the SMELT event and the Cutting Board will grant XP for the CRAFT event. 

 

How To Use


In order to get this to work, simply add some XP for the SMELT or CRAFT events on any of the relevant food items that these blocks can create and you're good to go.

There is a difference between these cooking blocks and normal furnaces / campfires / crafting tables; these blocks give XP based on the resulting food item, NOT from the ingredients to make the item. This is because many recipes require multiple ingredients and it was much simpler to base the XP granted from the food item created. This will mean you need to specify XP on both the raw AND cooked products to give XP. If you cook vanilla beef with a normal vanilla furnace the XP granted is based off of the raw beef, not the steak that it creates. With Farmer's Delight cooking blocks the XP granted is based on the XP configured on the steak item instead.

You could use this to encourage players to use Farmer's Delight blocks to cook foods instead of the vanilla furnace / campfires by giving more XP on the steak item. If you want them to be the same just set both beef and steak (cooked_beef) to the same values.

 

Notes


This should be compatible with all other mods. Please report any bugs or issues to GitHub. If you're not getting XP for an item, make sure you've configured it correctly in Project MMO first.

 

It does have mixins for Farmers Delight, so it's possible a future Farmer's Delight update could break some of the mixins. If that were to happen I would likely fix it quickly, but in the meantime just don't update to the latest Farmer's Delight version if you want to keep using this. Farmer's Delight doesn't typically update more than once or twice a release, so this is unlikely for 1.20.1, and it is unlikely even if it did these mixins would break.

 

Feel free to use this mod in your modpacks, just have a link back to this mod if possible. This cannot be used in for profit modpacks or posted on any other sites.

 

Huge thanks to the developer of Project MMO, Caltinor, for tons of help on this mod (and many other things). Also huge thanks to LlamaLad7, the wizard of Oz (of mixins) on the NeoForge discord.