-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting to Forge or Fabric 1.18 and up? (Aka "Scaling Feast Modernized") #119
Comments
I'm not sure about the feasibility, Scaling Feast relies heavily on AppleCore for a large majority of its features, and leaves handling max hunger to AppleCore, and AppleCore is stuck in 1.12 (check out the discussion here). A Forge PR has been made that adds AppleCore's features to Forge, but it hasn't been merged last I checked. Porting to newer versions is effectively stalled until that change is merged. It may be possible to port to newer versions without AppleCore, but that would be a rewrite instead of a port, which would take much more time (and not all features may be able to make it). As for Fabric, I don't know how it differs from Forge. What makes Fabric a better Forge alternative for modern versions? |
See the following posts for example: To summarize, Fabric is lightweight and allows mods to more easily mod the vanilla code directly. It loads faster and is smaller / more efficient compared to Forge. In addition, Fabric can update to newer Minecraft versions much faster compared to Forge, mainly as a result of it being more lightweight and reduced development overhead. For example, a mod created for the Fabric mod loader can mixin into the HungerManager (and many other classes in the Minecraft source code) directly, but that may not be the case for Forge. |
If that's the case, then ScalingFeast may only be possible for modern versions as a Fabric exclusive, so I can see that as a possibility, but potentially a challenging one. Something to tackle after #113 |
At the very least, until MinecraftForge/MinecraftForge#8405 is merged for 1.18 compatibility and MinecraftForge/MinecraftForge#7266 is merged for 1.16 compatibility. If you choose to go the Fabric route, it is recommended to:
|
Regarding porting Scaling Feast to Fabric, what I would like to have happen is that (on Fabric) the Scaling Feast mod itself contains the new mechanics, effects, blocks and items etc, while a separate library mod tentatively called "Hunger Attributes" ( This should allow other mods and datapacks, not just Scaling Feast, to make use of the new attributes to modify various numbers about a player's hunger system. AppleSkin (or a fork thereof) may need to be updated to support the new library mod, allowing the hunger and saturation bars to be at their proper size with respect to the corresponding attributes. List of attributes to be implemented by Hunger AttributesMax Hunger (
|
Library mod is a great idea. Currently, Fabric seems to be the only way forward for Scaling Feast. We return to the age old question of how to handle AppleSkin. A fork could be made, but I may stick to doing it in a similar manner to how it was handled in Scaling Feast. I'm not sure how much I like the arbitrary minimum values for exhaustion; there's gotta be some reasonable and logical minimum value or a different way of representing the attribute that has a logical minimum value. Food efficiency should already be designed in a way that avoids divide by zero errors (since it's a percentage increase, and thus has no minimum value) so an option for max exhaustion should exist too |
If the behavior for food efficiency in the current version of Scaling Feast described in #81 still how you want the attribute to work in its port?
If so, the attribute for 'max exhaustion' may need to get the same treatment. I've updated the descriptions of the corresponding proposed attributes to match. |
Yeah, it makes sense to leave the food efficiency attribute functionally as is. I think it's implemented well enough. |
Is your feature request related to a problem? Please describe.
Currently, there appears to be no way to use the mod as it is on Minecraft versions 1.17 and up.
1.12 is no longer supported by most mod and mod pack creators, and a declining fraction of players use it.
Describe the feature you'd like
It would be great to port this to the latest Minecraft versions, including 1.17, 1.18 (when it comes out), and later.
Ideally, this would be ported to Fabric for easier maintenance.
A Forge may be acceptable as well depending on the circumstances.
Describe why this feature belongs in Scaling Feast
By porting this mod to modern versions such as 1.17 and up, you open up the mod to being used by more players, especially those that play on modern versions of Minecraft.
By porting this mod to Fabric, you make it easier to maintain and more accessible to people.
Describe alternatives you've considered
You could try to find a mod that does the same thing as what this mod does, however, there is likely no such mod.
You could try to recreate the mod server-side-only using data packs or functions, but you would not be able to recreate all of the functionality.
The text was updated successfully, but these errors were encountered: