mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +01:00
#996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()
By: 2008Choco <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
d1a68a02b4
commit
4ba949cee7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user