[Solved] Feeding bug?


I couldn’t find anywhere to report bugs so I’m going to report it here.
So I was creating a couple of commands that go kind of together. One is for healing people and the other one is for feeding people.
These two commands have the exact same code except one uses HealthData and the other one uses FoodData instead.
The healing command works fine. The feeding one does feed and does it correctly but it gives an error.

Healing command: http://pastebin.com/dnSu11q7
Feeding command: http://pastebin.com/TPND3GLb
Error returned by /feed: http://pastebin.com/9JmKEUGU

P.D: Is there any official place to report bugs? Where is it?

Bugs can be reported to the official GitHub Repository for Sponge.

As for what the stacktrace tries to say; it seems to be an implementation issue. Implementation may not be finished for what you’re trying to use. You can pop an issue onto the repo to get more attention to it.


I understand. Thank you very much for your help.

It’s not that it’s not implemented, the exception is that apparently this method doesn’t exist:

What version of Forge are you using? It should be build 1446.

And that’s the one I am using as i was told in This post.

1 Like

Oh wow OK, this actually is a mistake in SpongeCommon, setFoodSaturationLevel is client side only.

    public void setFoodSaturationLevel(float foodSaturationLevelIn)