Reduce hunger granted by eating placed hay bales

This commit is contained in:
Sollace 2024-09-24 15:45:49 +01:00
parent bee81cae74
commit 36a8a9d018
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) { if (world.random.nextInt(10) == 0) {
player.playSound(USounds.Vanilla.ENTITY_PLAYER_BURP, 1, player.getSoundPitch()); 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; return ActionResult.SUCCESS;
} }