Skip to content

Fix food saturation for 1.21.5 - 1.21.11#73

Merged
extremeheat merged 1 commit into
PrismarineJS:mainfrom
DatArnoGuy:main
Jul 9, 2026
Merged

Fix food saturation for 1.21.5 - 1.21.11#73
extremeheat merged 1 commit into
PrismarineJS:mainfrom
DatArnoGuy:main

Conversation

@DatArnoGuy

@DatArnoGuy DatArnoGuy commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Food saturation values for versions 1.21.5 - 1.21.11 were nonsense, because in the code, saturation was defined with this code

float saturation = foodPoints * saturationRatio;

but it should be

float saturation = foodComponent.saturation();

This pull request should close issue PrismarineJS/minecraft-data#1204

@DatArnoGuy DatArnoGuy changed the title Fix food saturation for 1.21.4 - 1.21.11 Fix food saturation for 1.21.5 - 1.21.11 Jul 8, 2026
@extremeheat
extremeheat merged commit 80ce09d into PrismarineJS:main Jul 9, 2026
33 checks passed
@extremeheat

Copy link
Copy Markdown
Member

Thanks

DatArnoGuy added a commit to DatArnoGuy/minecraft-data-generator that referenced this pull request Jul 9, 2026
DatArnoGuy added a commit to DatArnoGuy/minecraft-data-generator that referenced this pull request Jul 9, 2026
extremeheat pushed a commit that referenced this pull request Jul 9, 2026
* Fix food saturation for 1.21.4 - 1.21.11

* Revert "Merge branch 'PrismarineJS:main' into main"

This reverts commit ce5b588, reversing
changes made to 52505ca.

* Revert "Fix food saturation for 1.21.4 - 1.21.11 (#73)"

This reverts commit 80ce09d.

* Reapply "Fix food saturation for 1.21.4 - 1.21.11 (#73)"

This reverts commit 01a2e1c.

* Reapply "Merge branch 'PrismarineJS:main' into main"

This reverts commit 7a82964.

* Fix 1.21.5 - 1.21.11 saturationRatio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants