Comments (10)
In that case, I'm not sure there's a way that this can work in the way that I was imagining (I guess other than providing hard overrides on the client-side, which might be what you were asking for originally?).
In order to get the modified values from the server, AppleSkin would need to be running on the server, but for that to happen the server needs to be able to load Forge mods, so you'd need to run something like Forge or Sponge on the server-side (and if you did that, then you might as well just use something like Hunger Overhaul to modify the food values, since that's already compatible with AppleCore/AppleSkin).
I could potentially add a way to override food values client-side, if that would work for you (you'd then have to make sure that everyone that connects to your server has the correct client-side config for those food values [and that those values match the ones set on the server], though).
from appleskin.
Not sure what you mean. What exactly are you trying to do?
from appleskin.
Alright so basically the issue I was having in the first place was that my players on my server have up to 30 hearts(60hp) total and it was a huge hassle to try and get back to full hp with food. So I went out and found a plugin that would allow me to alter how much food/hunger/saturation each food type would give a player.
I really like the way AppleSkin shows how much you're going to get from the food in the bar and in the inventory but after altering these values it's no longer accurate I was wondering if there was a way to change the config so that you can set it to show what they would actually be.
from appleskin.
The plugin would need to be compatible with how AppleSkin gets the food values, which are:
- The
ItemFood.getHealAmount
andItemFood.getSaturationModifier
functions - If AppleCore is installed, the values gotten from
FoodEvent.GetPlayerFoodValues
Which plugin are you using? Depending on how it works, I might be able to add support for it.
from appleskin.
HealingFood: https://dev.bukkit.org/projects/healingfood
Hmmm okay I'm not really sure how it does it but if you can add support that would be amazing thank you!
While I'm here I know it's unrelated but I did want to double check that I did it right. To add this to the server I just drop the same file into the server plugins folder that I would add to my client right?
from appleskin.
What version of Minecraft are you using? AppleSkin is not a plugin, it's a Forge mod, so I'm assuming you're using something like Sponge?
from appleskin.
I'm using Spigot, for the client I put it into MultiMc which does forge/liteloader stuff for you.
from appleskin.
Yeah that's basically what I was looking for and I don't have a huge server so I think that's doable. If you wouldn't mind that would be awesome, I really appreciate how helpful you have been overall.
from appleskin.
No problem. If you wouldn't mind, could you post a small portion of the food value settings of the Healing Food config so I can see how that's structured?
EDIT: is it a .yml file like this?
from appleskin.
Exactly like that actually, those are the default values.
from appleskin.
Related Issues (20)
- Turkish translation file named wrongly
- [1.20.4] [Neoforge] Error during common_setup event phase HOT 1
- Integrate with Fabric API's ItemStack-aware getFoodComponent
- Saturation overlay missing when using LabyMod Fabric Plugin HOT 4
- Modrinth doesn't allow client side: `required` with server side: `optional` HOT 4
- Exhaustion still renders when food hud is cancelled with Forge event HOT 1
- op HOT 1
- Hardcore heart icons don't work when Colorful Hearts is installed HOT 7
- Health overlay rendering while frozen from powder snow
- No option to disable Bedrockify screen safe area compat when the related mixin is disabled HOT 2
- 1.20.5 Support HOT 11
- appleskin not working on multiplayer HOT 1
- Config menu doesn't use scroller and scroller background from resourcepacks
- Compatibility Issue with Sinytra Connector, Forge, and AppleSkin HOT 1
- Add appleskin-neoforge-mc1.20.5-3.0.0 crashes HOT 2
- [Fabric 1.20.6] hide_tooltip crash HOT 1
- Investigate switching to Configured for Fabric mod config menu
- There seems to be an issue with the satiety displayed on the server. HOT 2
- Fabric 1.21 port HOT 4
- [1.21] Overlays still visible when F1 mode is active HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appleskin.