关于
本模组为 Project MMO 与 Farmer's Delight 之间添加了兼容性,如果其他 Farmer's Delight 扩展模组的配方使用了 Farmer's Delight 的烹饪方块,它们也将获得兼容支持。
现在,炉灶、锅和平底锅将在执行 SMELT(熔炼)事件时提供经验值,而砧板将在执行 CRAFT(合成)事件时提供经验值。
使用方法
要使其正常工作,只需在这些方块可制作的任何相关食物物品上为 SMELT 或 CRAFT 事件添加一些经验值即可。
这些烹饪方块与普通熔炉/营火/工作台不同:这些方块提供的经验值是基于最终生成的食物物品,而不是制作该物品所需的原材料。这是因为许多食谱需要多种食材,基于所创建的食物物品来计算经验值更为简单。这意味着你需要同时为原始食材和烹饪后的成品指定经验值,才能提供经验值。如果使用原版熔炉烹饪原版牛肉,提供的经验值是基于生牛肉计算的,而非其生成的牛排。而在 Farmer's Delight 的烹饪方块中,提供的经验值则是基于牛排物品的配置经验值。
你可以利用这一点,通过在牛排物品上提供更多经验值,鼓励玩家使用 Farmer's Delight 的方块来烹饪食物,而不是使用原版熔炉或营火。如果你希望两者提供的经验值相同,只需将生牛肉和牛排(cooked_beef)设置为相同的数值即可。
注意事项
本模组应与所有其他模组兼容。请将任何错误或问题报告至 GitHub。如果你发现某个物品没有获得经验值,请确保你已在 Project MMO 中正确配置了它。
本模组包含针对 Farmers Delight 的 Mixins,因此未来的 Farmer's Delight 更新可能会破坏部分 Mixins。如果发生这种情况,我可能会迅速修复它,但在此期间,如果你想继续使用本模组,请不要升级到最新的 Farmer's Delight 版本。通常每个大版本发布后,Farmer's Delight 只会更新一到两次,因此在 1.20.1 版本中这种情况不太可能发生;即使发生,这些 Mixins 也不太可能失效。
欢迎在你的整合包中使用本模组,如果可能的话,请附上指向本模组的链接。本模组不得用于营利性整合包,也不得发布在任何其他网站上。
特别感谢 Project MMO 的开发者 Caltinor 对本模组(以及许多其他方面)提供的巨大帮助。同时也衷心感谢 LlamaLad7,NeoForge Discord 中的“奥兹巫师”(Mixins 专家)。
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧