Reduce hunger granted by eating placed hay bales

This commit is contained in:
Sollace 2024-09-24 15:45:49 +01:00
parent 5ce5a11685
commit ad51be7620
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -205,7 +205,7 @@ public class EdibleBlock extends HayBlock {
if (world.random.nextInt(10) == 0) {
player.playSound(USounds.Vanilla.ENTITY_PLAYER_BURP, 1, player.getSoundPitch());
}
player.getHungerManager().add(4, 2.3F);
player.getHungerManager().add(2, 1.3F);
}
return ActionResult.SUCCESS;
}