Allow eating in creative & peaceful

closes #5923
closes #6056
This commit is contained in:
Dylan K. Taylor
2024-12-01 17:42:26 +00:00
parent 93a9007f3c
commit 12214792b3
5 changed files with 18 additions and 3 deletions

View File

@ -34,6 +34,7 @@ interface FoodSource extends Consumable{
/**
* Returns whether a Human eating this FoodSource must have a non-full hunger bar.
* This is ignored in creative mode and in peaceful difficulty.
*/
public function requiresHunger() : bool;
}