mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
#996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()
By: 2008Choco <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user