From 5b16ced3066f7f9d9f891c2534dbb8f90589f80c Mon Sep 17 00:00:00 2001 From: arsenicviscera Date: Wed, 11 Mar 2026 20:55:42 -0700 Subject: [PATCH] Changed criteria Just realized you need full hunger for quick regen (oops) --- Minecraft.World/Player.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Minecraft.World/Player.cpp b/Minecraft.World/Player.cpp index 0750d1110..23f357968 100644 --- a/Minecraft.World/Player.cpp +++ b/Minecraft.World/Player.cpp @@ -1004,15 +1004,12 @@ void Player::aiStep() if (level->getGameRules()->getBoolean(GameRules::RULE_NATURAL_REGENERATION)) { bool health_OK = getHealth() < getMaxHealth(); if ((tickCount % 12 == 0) && health_OK) { - - - FoodData* fd = getFoodData(); if ((level->difficulty == Difficulty::PEACEFUL)) { heal(1); } - //Quick-Regen from saturation (must have 8 1/2 hunger and have at least 3 saturation) - else if (fd->getSaturationLevel() > 3 && fd->getFoodLevel() >= 17) { + //Quick-Regen from saturation (must have full hunger and have at least 3 saturation) + else if (fd->getSaturationLevel() > 3 && fd->getFoodLevel() == 20) { heal(1); fd->setSaturation(fd->getSaturationLevel() - 3); }