#996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()

By: 2008Choco <hawkeboyz2@hotmail.com>
This commit is contained in:
Bukkit/Spigot 2024-04-24 02:32:44 +10:00
parent d1a68a02b4
commit 4ba949cee7

View File

@ -31,14 +31,14 @@ public interface FoodComponent extends ConfigurationSerializable {
*
* @return saturation value
*/
float getSaturationModifier();
float getSaturation();
/**
* Sets the saturation restored by this item when eaten.
*
* @param saturationModifier new saturation value
* @param saturation new saturation value
*/
void setSaturationModifier(float saturationModifier);
void setSaturation(float saturation);
/**
* Gets if this item can be eaten even when not hungry.